insight/354: segfault during insight font scan.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

insight/354: segfault during insight font scan.

kuh3h3 (Bugzilla)

>Number:         354
>Category:       insight
>Synopsis:       segfault during insight font scan.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 28 15:33:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     [hidden email]
>Release:        7.0.50.20091130-cvs source
>Organization:
>Environment:
ubuntu linux 8.10
>Description:
^_^[/media/sdc2]$ insight
Segmentation fault

O_O[/media/sdc2]$ gdb insight
GNU gdb (GDB) 7.0.50.20091130-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/insight...done.
(gdb) r
Starting program: /usr/local/bin/insight
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0xb7ad3976 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7ad3976 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
#1  0x0831e1ca in IdentifySymbolEncodings (faPtr=0xbfff8f98) at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/tkUnixFont.c:2781
#2  0x08320394 in CreateClosestFont (tkwin=<value optimised out>, faPtr=<value optimised out>, xaPtr=0xbfff901c)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/tkUnixFont.c:1362
#3  0x08320ca7 in TkpGetFontFromAttributes (tkFontPtr=0x0, tkwin=0x8647920, faPtr=0xbfff9094)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/tkUnixFont.c:770
#4  0x0830d9e6 in Tk_AllocFontFromObj (interp=0x8623630, tkwin=0x8647920, objPtr=0x89b3b60)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkFont.c:1093
#5  0x0830e818 in Tk_FontObjCmd (clientData=0x8647920, interp=0x8623630, objc=4, objv=0x8625400)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkFont.c:702
#6  0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=4, objv=0x8625400, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#7  0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x89a8a10) at ../.././tcl/unix/../generic/tclExecute.c:1431
#8  0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x8999098) at ../.././tcl/unix/../generic/tclExecute.c:1008
#9  0x083b00ea in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x8999098, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3944
#10 0xb776b816 in Itcl_EvalMemberCode (interp=0x8623630, mfunc=0x899cef0, member=0x899cf08, contextObj=0x8993688, objc=1, objv=0x86253fc)
    at ./generic/itcl_methods.c:1006
#11 0xb776c893 in Itcl_ExecMethod (clientData=0x899cef0, interp=0x8623630, objc=1, objv=0x86253fc) at ./generic/itcl_methods.c:1517
#12 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=1, objv=0x86253fc, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#13 0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x899a600) at ../.././tcl/unix/../generic/tclExecute.c:1431
#14 0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x8999230) at ../.././tcl/unix/../generic/tclExecute.c:1008
#15 0x083b00ea in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x8999230, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3944
#16 0xb776b816 in Itcl_EvalMemberCode (interp=0x8623630, mfunc=0x899e7d8, member=0x899e890, contextObj=0x8993688, objc=1, objv=0x8988cf0)
    at ./generic/itcl_methods.c:1006
#17 0xb776b9c7 in Itcl_InvokeMethodIfExists (interp=0x8623630, name=0xb777367b "constructor", contextClass=0x8997d58,
    contextObj=0x8993688, objc=0, objv=0xbfffa9a4) at ./generic/itcl_methods.c:2424
#18 0xb776efcf in Itcl_CreateObject (interp=0x8623630, name=0x8998298 ".globalpref0.globalpref", cdefn=0x8997d58, objc=0, objv=0xbfffa9a4,
    roPtr=0xbfffa580) at ./generic/itcl_objects.c:220
#19 0xb77635c4 in Itcl_HandleClass (clientData=0x8997d58, interp=0x8623630, objc=2, objv=0xbfffa99c) at ./generic/itcl_class.c:914
#20 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=2, objv=0xbfffa99c, command=0x8995408 "GlobalPref .globalpref0.globalpref",
    length=34, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3048
---Type <return> to continue, or q <return> to quit---
#21 0x083af477 in Tcl_EvalEx (interp=0x8623630, script=0x8995408 "GlobalPref .globalpref0.globalpref", numBytes=34, flags=262144)
    at ../.././tcl/unix/../generic/tclBasic.c:3646
#22 0x083b009b in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x89994b8, flags=262144) at ../.././tcl/unix/../generic/tclBasic.c:3932
#23 0x083b77e2 in Tcl_EvalObjCmd (dummy=0x0, interp=0x8623630, objc=3, objv=0xbfffacdc) at ../.././tcl/unix/../generic/tclCmdAH.c:619
#24 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0xbfffacdc,
    command=0x8997bf8 "eval GlobalPref .globalpref0.globalpref", length=39, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3048
#25 0x083af477 in Tcl_EvalEx (interp=0x8623630, script=0x8997bf8 "eval GlobalPref .globalpref0.globalpref", numBytes=39, flags=262144)
    at ../.././tcl/unix/../generic/tclBasic.c:3646
#26 0x083b009b in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x8958e20, flags=262144) at ../.././tcl/unix/../generic/tclBasic.c:3932
#27 0x084079f4 in Tcl_UplevelObjCmd (dummy=0x0, interp=0x8623630, objc=<value optimised out>, objv=<value optimised out>)
    at ../.././tcl/unix/../generic/tclProc.c:684
#28 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=6, objv=0x86253e4, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#29 0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x87f6388) at ../.././tcl/unix/../generic/tclExecute.c:1431
#30 0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x87c97f0) at ../.././tcl/unix/../generic/tclExecute.c:1008
#31 0x083b00ea in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x87c97f0, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3944
#32 0xb776b816 in Itcl_EvalMemberCode (interp=0x8623630, mfunc=0x87d3908, member=0x87d3808, contextObj=0x0, objc=3, objv=0xbfffb6dc)
    at ./generic/itcl_methods.c:1006
#33 0xb776c6e4 in Itcl_ExecProc (clientData=0x87d3908, interp=0x8623630, objc=3, objv=0xbfffb6dc) at ./generic/itcl_methods.c:1576
#34 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0xbfffb6dc, command=0x89954b0 "_create GlobalPref -transient",
    length=29, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3048
#35 0x083af477 in Tcl_EvalEx (interp=0x8623630, script=0x89954b0 "_create GlobalPref -transient", numBytes=29, flags=262144)
    at ../.././tcl/unix/../generic/tclBasic.c:3646
#36 0x083b009b in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x8958df0, flags=262144) at ../.././tcl/unix/../generic/tclBasic.c:3932
#37 0x083b77e2 in Tcl_EvalObjCmd (dummy=0x0, interp=0x8623630, objc=4, objv=0x86253d4) at ../.././tcl/unix/../generic/tclCmdAH.c:619
#38 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=4, objv=0x86253d4, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#39 0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x86c62b0) at ../.././tcl/unix/../generic/tclExecute.c:1431
#40 0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x87c9c40) at ../.././tcl/unix/../generic/tclExecute.c:1008
#41 0x083b00ea in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x87c9c40, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3944
#42 0xb776b816 in Itcl_EvalMemberCode (interp=0x8623630, mfunc=0x87d3b68, member=0x87d3a68, contextObj=0x0, objc=3, objv=0xbfffc0dc)
    at ./generic/itcl_methods.c:1006
---Type <return> to continue, or q <return> to quit---
#43 0xb776c6e4 in Itcl_ExecProc (clientData=0x87d3b68, interp=0x8623630, objc=3, objv=0xbfffc0dc) at ./generic/itcl_methods.c:1576
#44 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0xbfffc0dc, command=0x8988588 "_open GlobalPref -transient",
    length=27, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3048
#45 0x083af477 in Tcl_EvalEx (interp=0x8623630, script=0x8988588 "_open GlobalPref -transient", numBytes=27, flags=262144)
    at ../.././tcl/unix/../generic/tclBasic.c:3646
#46 0x083b009b in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x8958ec8, flags=262144) at ../.././tcl/unix/../generic/tclBasic.c:3932
#47 0x083b77e2 in Tcl_EvalObjCmd (dummy=0x0, interp=0x8623630, objc=4, objv=0x86253c4) at ../.././tcl/unix/../generic/tclCmdAH.c:619
#48 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=4, objv=0x86253c4, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#49 0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x86c4b98) at ../.././tcl/unix/../generic/tclExecute.c:1431
#50 0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x87c9c58) at ../.././tcl/unix/../generic/tclExecute.c:1008
#51 0x083b00ea in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x87c9c58, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3944
#52 0xb776b816 in Itcl_EvalMemberCode (interp=0x8623630, mfunc=0x87cb4b0, member=0x87cb3c0, contextObj=0x0, objc=3, objv=0x86253b8)
    at ./generic/itcl_methods.c:1006
#53 0xb776c6e4 in Itcl_ExecProc (clientData=0x87cb4b0, interp=0x8623630, objc=3, objv=0x86253b8) at ./generic/itcl_methods.c:1576
#54 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0x86253b8, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#55 0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x8997988) at ../.././tcl/unix/../generic/tclExecute.c:1431
#56 0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x886f370) at ../.././tcl/unix/../generic/tclExecute.c:1008
#57 0x083b00ea in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x886f370, flags=131072) at ../.././tcl/unix/../generic/tclBasic.c:3944
#58 0x0833e4c8 in TkInvokeMenu (interp=0x8623630, menuPtr=0x8894428, index=0)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkMenu.c:1133
#59 0x0833f551 in MenuWidgetObjCmd (clientData=0x8894428, interp=0x8623630, objc=3, objv=0x89953f8)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkMenu.c:950
#60 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0x89953f8, command=0x8440be1 "", length=0, flags=262144)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#61 0x083aff9e in Tcl_EvalObjv (interp=0x8623630, objc=3, objv=0x89953f8, flags=262144) at ../.././tcl/unix/../generic/tclBasic.c:3161
#62 0x083b01eb in Tcl_EvalObjEx (interp=0x8623630, objPtr=0x8959060, flags=262144) at ../.././tcl/unix/../generic/tclBasic.c:3928
#63 0x08407a66 in Tcl_UplevelObjCmd (dummy=0x0, interp=0x8623630, objc=0, objv=0xb7bb5380) at ../.././tcl/unix/../generic/tclProc.c:674
#64 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0x86253ac, command=0x0, length=0, flags=0)
    at ../.././tcl/unix/../generic/tclBasic.c:3048
#65 0x083d8bbd in TclExecuteByteCode (interp=0x8623630, codePtr=0x8992d20) at ../.././tcl/unix/../generic/tclExecute.c:1431
---Type <return> to continue, or q <return> to quit---
#66 0x083dcc9d in TclCompEvalObj (interp=0x8623630, objPtr=0x868d1f0) at ../.././tcl/unix/../generic/tclExecute.c:1008
#67 0x0840724b in TclObjInterpProc (clientData=0x868c670, interp=0x8623630, objc=3, objv=0xbfffd95c)
    at ../.././tcl/unix/../generic/tclProc.c:1082
#68 0x083aef2a in TclEvalObjvInternal (interp=0x8623630, objc=3, objv=0xbfffd95c,
    command=0x89932b8 "\n   tk::MenuInvoke .srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#pref 1\n", length=147, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3048
#69 0x083af477 in Tcl_EvalEx (interp=0x8623630,
    script=0x89932b8 "\n   tk::MenuInvoke .srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#pref 1\n", numBytes=147, flags=0) at ../.././tcl/unix/../generic/tclBasic.c:3646
#70 0x083af81c in Tcl_Eval (interp=0x8623630,
    string=0x89932b8 "\n   tk::MenuInvoke .srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#pref 1\n") at ../.././tcl/unix/../generic/tclBasic.c:3811
#71 0x083af8b6 in Tcl_GlobalEval (interp=0x8623630,
    command=0x89932b8 "\n   tk::MenuInvoke .srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#pref 1\n") at ../.././tcl/unix/../generic/tclBasic.c:5261
#72 0x08392267 in Tk_BindEvent (bindingTable=0x8648308, eventPtr=0x896d0a0, tkwin=0x8894248, numObjects=0, objectPtr=0xbfffddf8)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkBind.c:1805
#73 0x08396577 in TkBindEventProc (winPtr=0x8894248, eventPtr=0x896d0a0)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkCmds.c:287
#74 0x08309ab4 in Tk_HandleEvent (eventPtr=0x896d0a0) at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkEvent.c:1034
#75 0x08309f48 in WindowEventProc (evPtr=0x896d098, flags=<value optimised out>)
    at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkEvent.c:1416
#76 0x083fcaf0 in Tcl_ServiceEvent (flags=-3) at ../.././tcl/unix/../generic/tclNotify.c:622
#77 0x083fcdd1 in Tcl_DoOneEvent (flags=-3) at ../.././tcl/unix/../generic/tclNotify.c:861
#78 0x08308e64 in Tk_MainLoop () at /media/sdc1/insight-weekly-CVS-7.0.50-20091130/tk/unix/../generic/tkEvent.c:1474
#79 0x080a664b in captured_command_loop (data=0x0) at ./main.c:226
#80 0x08195cf3 in catch_errors (func=0x80a6640 <captured_command_loop>, func_args=0x0, errstring=0x8440be1 "", mask=6) at exceptions.c:510
#81 0x080a7354 in captured_main (data=0xbfffe084) at ./main.c:902
#82 0x08195cf3 in catch_errors (func=0x80a67c0 <captured_main>, func_args=0xbfffe084, errstring=0x8440be1 "", mask=6) at exceptions.c:510
#83 0x080a6581 in gdb_main (args=0xbfffe084) at ./main.c:911
#84 0x080a6545 in main (argc=Cannot access memory at address 0x0
) at ./gdbtk/generic/gdbtk-main.c:36
(gdb) i r
eax            0x0 0
ecx            0x0 0
edx            0xb7bb5380 -1212460160
ebx            0xb7bb4ff4 -1212461068
esp            0xbfff8f14 0xbfff8f14
ebp            0xbfff8f28 0xbfff8f28
esi            0xb77fdc70 -1216357264
edi            0x84508df 138741983
eip            0xb7ad3976 0xb7ad3976 <strcasecmp+54>
eflags         0x210246 [ PF ZF IF RF ID ]
cs             0x73 115
ss             0x7b 123
ds             0x7b 123
es             0x7b 123
fs             0x0 0
gs             0x33 51
(gdb)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: