[Pkg-tcltk-devel] Bug#465462: Bug#465462: /usr/bin/wish8.5: segfault for wish

Remi Vanicat vanicat at debian.org
Thu Feb 14 15:58:28 UTC 2008


2008/2/12, Sergei Golovan <sgolovan at nes.ru>:
> On 2/12/08, Rémi Vanicat <vanicat at debian.org> wrote:
>  >
>  > I have several segfault with wish on my amd64 box:
>
>  I can't reproduce segfaults (neither in etch box nor in sid chroot).
>  Could you rebuild tcl8.5 and tk8.5 with debug symbols enabled
>  (DEB_BUILD_OPTIONS=debug,nostrip debuild) or just take them from
>  http://sgolovan.nes.ru/debian-tcltk/8.5.1/ and show the backtraces
>  again?

with xmaxima:
#0  0x00002b10c17f9c4d in GetTkFontAttributes (ftFont=0x0, faPtr=0xaa8b58)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../unix/tkUnixRFont.c:107
#1  0x00002b10c17fa0b6 in InitFont (tkwin=0xab1240, pattern=0xacaa90,
fontPtr=0xaa8b20)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../unix/tkUnixRFont.c:241
#2  0x00002b10c17fa450 in TkpGetFontFromAttributes (tkFontPtr=0x0,
tkwin=0xab1240, faPtr=0x7fffe95f1500)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../unix/tkUnixRFont.c:369
#3  0x00002b10c171a355 in Tk_AllocFontFromObj (interp=0x60e700,
tkwin=0xab1240, objPtr=0x9de320)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../generic/tkFont.c:1193
#4  0x00002b10c17110d7 in DoObjConfig (interp=0x60e700,
recordPtr=0xac6ea0 "0&�", optionPtr=0xaba380, valuePtr=0x9de320,
    tkwin=0xab1240, savedOptionPtr=0x0) at
/home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../generic/tkConfig.c:773
#5  0x00002b10c1711ca2 in Tk_SetOptions (interp=0x60e700,
recordPtr=0xac6ea0 "0&�", optionTable=0xaba270, objc=4,
    objv=0x61d4c8, tkwin=0xab1240, savePtr=0x0, maskPtr=0x0)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../generic/tkConfig.c:1330
#6  0x00002b10c17c7e2a in TkTextTagCmd (textPtr=0xab3a50,
interp=0x60e700, objc=8, objv=0x61d4a8)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../generic/tkTextTag.c:356
#7  0x00002b10c17a7d63 in TextWidgetObjCmd (clientData=0xab3a50,
interp=0x60e700, objc=8, objv=0x61d4a8)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../generic/tkText.c:1487
#8  0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=8, objv=0x61d4a8,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#9  0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa8c540)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#10 0x00002b10c1b511a0 in TclObjInterpProcCore (interp=0x60e700,
procNameObj=0x9dee30, skip=1,
    errorProc=0x2b10c1b518ae <MakeProcError>) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1721
#11 0x00002b10c1b5109a in TclObjInterpProc (clientData=0x9ba280,
interp=0x60e700, objc=2, objv=0x61d2f8)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1615
#12 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=2, objv=0x61d2f8,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#13 0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa34140)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#14 0x00002b10c1b511a0 in TclObjInterpProcCore (interp=0x60e700,
procNameObj=0x9daa50, skip=1,
    errorProc=0x2b10c1b518ae <MakeProcError>) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1721
#15 0x00002b10c1b5109a in TclObjInterpProc (clientData=0x94cbe0,
interp=0x60e700, objc=4, objv=0x61cfc0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1615
#16 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=4, objv=0x61cfc0,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#17 0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa27410)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#18 0x00002b10c1b511a0 in TclObjInterpProcCore (interp=0x60e700,
procNameObj=0x9d9eb0, skip=1,
    errorProc=0x2b10c1b518ae <MakeProcError>) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1721
#19 0x00002b10c1b5109a in TclObjInterpProc (clientData=0x9ca9c0,
interp=0x60e700, objc=3, objv=0x61ccd0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1615
#20 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=3, objv=0x61ccd0,
    command=0x9ce350 "MAXGui:install gui .maxima", length=26, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#21 0x00002b10c1a97675 in TclEvalEx (interp=0x60e700, script=0x9ce350
"MAXGui:install gui .maxima", numBytes=26,
    flags=262144, line=1) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4294
#22 0x00002b10c1a96bee in Tcl_EvalEx (interp=0x60e700, script=0x9ce350
"MAXGui:install gui .maxima", numBytes=26,
    flags=262144) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4000
#23 0x00002b10c1a97ed0 in TclEvalObjEx (interp=0x60e700,
objPtr=0x9da390, flags=262144, invoker=0x0, word=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4672
#24 0x00002b10c1a97b4c in Tcl_EvalObjEx (interp=0x60e700,
objPtr=0xaa8b58, flags=262144)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4553
#25 0x00002b10c1b50124 in Tcl_UplevelObjCmd (dummy=0x0,
interp=0x60e700, objc=1, objv=0x61ca10)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:911
#26 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=2, objv=0x61ca08,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#27 0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa17dd0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#28 0x00002b10c1b511a0 in TclObjInterpProcCore (interp=0x60e700,
procNameObj=0x9da060, skip=1,
    errorProc=0x2b10c1b518ae <MakeProcError>) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1721
#29 0x00002b10c1b5109a in TclObjInterpProc (clientData=0xa09f70,
interp=0x60e700, objc=3, objv=0x61c8e8)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1615
#30 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=3, objv=0x61c8e8,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#31 0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa14fc0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#32 0x00002b10c1b511a0 in TclObjInterpProcCore (interp=0x60e700,
procNameObj=0x9d9f10, skip=1,
    errorProc=0x2b10c1b518ae <MakeProcError>) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1721
#33 0x00002b10c1b5109a in TclObjInterpProc (clientData=0x9e4aa0,
interp=0x60e700, objc=2, objv=0x61c5f8)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1615
#34 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=2, objv=0x61c5f8,
    command=0x9cc310 "MAXTkmaxima:install tkmaxima", length=28, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#35 0x00002b10c1a97675 in TclEvalEx (interp=0x60e700, script=0x9cc310
"MAXTkmaxima:install tkmaxima", numBytes=28,
    flags=262144, line=1) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4294
#36 0x00002b10c1a96bee in Tcl_EvalEx (interp=0x60e700, script=0x9cc310
"MAXTkmaxima:install tkmaxima", numBytes=28,
    flags=262144) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4000
#37 0x00002b10c1a97ed0 in TclEvalObjEx (interp=0x60e700,
objPtr=0x9d9ee0, flags=262144, invoker=0x0, word=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4672
#38 0x00002b10c1a97b4c in Tcl_EvalObjEx (interp=0x60e700,
objPtr=0xaa8b58, flags=262144)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4553
#39 0x00002b10c1b50124 in Tcl_UplevelObjCmd (dummy=0x0,
interp=0x60e700, objc=1, objv=0x61c338)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:911
#40 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=2, objv=0x61c330,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#41 0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa0dfb0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#42 0x00002b10c1b511a0 in TclObjInterpProcCore (interp=0x60e700,
procNameObj=0x9d8f50, skip=1,
    errorProc=0x2b10c1b518ae <MakeProcError>) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1721
#43 0x00002b10c1b5109a in TclObjInterpProc (clientData=0xa10230,
interp=0x60e700, objc=2, objv=0x61c218)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclProc.c:1615
#44 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=2, objv=0x61c218,
    command=0xffffffffffffffff <Address 0xffffffffffffffff out of
bounds>, length=-1, flags=0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#45 0x00002b10c1af8295 in TclExecuteByteCode (interp=0x60e700, codePtr=0xa0d9b0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:2255
#46 0x00002b10c1af614e in TclCompEvalObj (interp=0x60e700,
objPtr=0x9d8dd0, invoker=0x61c008, word=4)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclExecute.c:1402
#47 0x00002b10c1a98104 in TclEvalObjEx (interp=0x60e700,
objPtr=0x9d8dd0, flags=0, invoker=0x61c008, word=4)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4761
#48 0x00002b10c1aa50ea in Tcl_IfObjCmd (dummy=0x0, interp=0x60e700,
objc=5, objv=0x61c060)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclCmdIL.c:310
#49 0x00002b10c1a963a5 in TclEvalObjvInternal (interp=0x60e700,
objc=5, objv=0x61c060,
    command=0x889e70 "if { [llength $maxima_priv(plotfile)] > 0 } {\n
  set fptr [open [lindex $maxima_priv(plotfile) 0] r]\n    regsub -all
-- {/\\*.*?\\*/} [read $fptr] {} inputdata\n    close $fptr\n
regsub -all -- {[[:sp"..., length=484,
    flags=0) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:3647
#50 0x00002b10c1a97675 in TclEvalEx (interp=0x60e700,
    script=0x81d600 "#!/usr/bin/wish\n#  -*- mode: tcl; fill-column:
75; tab-width: 8; coding: iso-latin-1-unix -*- \\\n#exec wish \"$0\"
-- \"$@\"\n#\n#       $Id: Header.tcl.in,v 1.2 2006/06/27 13:28:05
villate Exp $\n#\n# Header "...,
    numBytes=445243, flags=0, line=15164) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4294
#51 0x00002b10c1a96bee in Tcl_EvalEx (interp=0x60e700,
    script=0x81d600 "#!/usr/bin/wish\n#  -*- mode: tcl; fill-column:
75; tab-width: 8; coding: iso-latin-1-unix -*- \\\n#exec wish \"$0\"
-- \"$@\"\n#\n#       $Id: Header.tcl.in,v 1.2 2006/06/27 13:28:05
villate Exp $\n#\n# Header "...,
    numBytes=445243, flags=0) at
/home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclBasic.c:4000
#52 0x00002b10c1b29133 in Tcl_FSEvalFileEx (interp=0x60e700,
pathPtr=0x617710, encodingName=0x0)
    at /home/sergei/debian/tcl-2/tcl8.5-8.5.1/unix/../generic/tclIOUtil.c:1825
#53 0x00002b10c17299c6 in Tk_MainEx (argc=-1, argv=0x7fffe95fa678,
appInitProc=0x400a59 <Tcl_AppInit>, interp=0x60e700)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../generic/tkMain.c:272
#54 0x0000000000400a52 in main (argc=2, argv=0x7fffe95fa668)
    at /home/sergei/debian/tcl-2/tk8.5-8.5.1/unix/../unix/tkAppInit.c:68

other tk program seem also to sigsegv in GetTkFontAttributes
Do you need any other information ?


More information about the Pkg-tcltk-devel mailing list