Skip to content
Tcl Source Code View Ticket
Login

View Ticket

mac osx possible problem

Closed / Out of Date517164ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 22 years ago
Descriptionplain2002-02-13 20:47:37
I am able to run up the main window without a seg fault now. Geometry of main window, buttons,
text appear to be wrong.(I can detail if you would like). When I open a window which is activated
by a drop down menu I get a bus error. I've run it under gdb and info attached.


[localhost:/ProntoVideo] root# gdb "/Applications/Wish Shell.app/Contents/MacOS/Wish Shell" 
GNU gdb 5.0-20001113 (Apple version gdb-203) (Wed Nov  7 16:28:57 GMT 2001) (UI_OUT)
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-apple-macos10".
Reading symbols for shared libraries ..... done
(gdb) run /ProntoVideo/Src/pronto_gui.tcl
Starting program: /Applications/Wish Shell.app/Contents/MacOS/Wish Shell 
/ProntoVideo/Src/pronto_gui.tcl
[Switching to thread 1 (process 566 thread 0x1603)]
Reading symbols for shared libraries ............................................. done

Program received signal EXC_BAD_ACCESS, Could not access memory.
XCopyPlane (display=0x8a700, src=28294896, dst=7101764, gc=0x0, src_x=29128515, src_y=2, 
width=10, height=1187292, dest_x=0, dest_y=0, plane=1) at tkMacOSXDraw.c:220
220     tkMacOSXDraw.c: No such file or directory.
        in tkMacOSXDraw.c
(gdb) thread apply all bt

Thread 4 (process 566 thread 0x2227):
#0  0x70001308 in mach_msg_overwrite_trap ()
#1  0x70006394 in mach_msg ()
#2  0x700273dc in _pthread_become_available ()
#3  0x700270d4 in pthread_exit ()
#4  0x70020f00 in _pthread_body ()

Thread 3 (process 566 thread 0x2107):
#0  0x70025cac in select ()
#1  0x006984ec in NotifierThreadProc (clientData=0xd) at tkMacOSXNotify.c:1037
#2  0x70020efc in _pthread_body ()

Thread 2 (process 566 thread 0x1f17):
#0  0x70025cac in select ()
#1  0x001681e8 in Tcl_WaitForEvent ()
#2  0x70020efc in _pthread_body ()

Thread 1 (process 566 thread 0x1603):
#0  XCopyPlane (display=0x8a700, src=28294896, dst=7101764, gc=0x0, src_x=29128515, 
src_y=2, width=10, height=1187292, dest_x=0, dest_y=0, plane=1) at tkMacOSXDraw.c:220
#1  0x006960e0 in TkpDisplayMenuButton (clientData=0x1c76ff0) at tkMacOSXMenubutton.c:277
#2  0x00157288 in TclServiceIdle ()
#3  0x00145988 in Tcl_DoOneEvent ()
#4  0x006317a0 in Tk_UpdateObjCmd (clientData=0x8a700, interp=0x22, objc=26889536, 
objv=0x10) at ../generic/tkCmds.c:950
#5  0x00121e8c in TclExecuteByteCode ()
#6  0x00102538 in Tcl_EvalObjEx ()
#7  0x00150c04 in TclObjInterpProc ()
#8  0x00121e8c in TclExecuteByteCode ()
#9  0x00102538 in Tcl_EvalObjEx ()
#10 0x00109dd8 in Tcl_IfObjCmd ()
#11 0x00121e8c in TclExecuteByteCode ()
#12 0x00102538 in Tcl_EvalObjEx ()
#13 0x00150c04 in TclObjInterpProc ()
#14 0x00121e8c in TclExecuteByteCode ()
#15 0x00102538 in Tcl_EvalObjEx ()
#16 0x001104a8 in Tcl_TimeObjCmd ()
#17 0x00149144 in TclExpandTokenArray ()
#18 0x00149a10 in Tcl_EvalEx ()
#19 0x00149868 in Tcl_EvalTokensStandard ()
#20 0x001499ac in Tcl_EvalEx ()
#21 0x00149868 in Tcl_EvalTokensStandard ()
#22 0x001499ac in Tcl_EvalEx ()
#23 0x00157b74 in Tcl_AfterObjCmd ()
#24 0x0015708c in Tcl_CreateTimerHandler ()
#25 0x001456ec in Tcl_ServiceEvent ()
#26 0x00145940 in Tcl_DoOneEvent ()
#27 0x006317a0 in Tk_UpdateObjCmd (clientData=0x8a700, interp=0x65060, objc=26889536, 
objv=0x10) at ../generic/tkCmds.c:950
#28 0x00121e8c in TclExecuteByteCode ()
#29 0x00102538 in Tcl_EvalObjEx ()
#30 0x00150c04 in TclObjInterpProc ()
#31 0x00121e8c in TclExecuteByteCode ()
#32 0x00102538 in Tcl_EvalObjEx ()
#33 0x00150c04 in TclObjInterpProc ()
#34 0x00121e8c in TclExecuteByteCode ()
#35 0x00102538 in Tcl_EvalObjEx ()
#36 0x00150c04 in TclObjInterpProc ()
#37 0x00121e8c in TclExecuteByteCode ()
#38 0x00102538 in Tcl_EvalObjEx ()
#39 0x0065affc in TkInvokeMenu (interp=0x9c3d, menuPtr=0x1c5c3a0, index=26889536) at 
../generic/tkMenu.c:1131
#40 0x006925e8 in TkMacOSXDispatchMenuEvent (menuID=413792, index=39997) at 
tkMacOSXMenu.c:2022
#41 0x00691a90 in TkpPostMenu (interp=0x8a700, menuPtr=0x18c53a8, x=28218320, 
y=-1073748968) at tkMacOSXMenu.c:1361
#42 0x0065ad90 in MenuWidgetObjCmd (clientData=0x1ae9620, interp=0x65060, objc=4, 
objv=0x65d4c) at ../generic/tkMenu.c:971
#43 0x00121e8c in TclExecuteByteCode ()
#44 0x00102538 in Tcl_EvalObjEx ()
#45 0x00110258 in Tcl_SwitchObjCmd ()
#46 0x00121e8c in TclExecuteByteCode ()
#47 0x00102538 in Tcl_EvalObjEx ()
#48 0x00150c04 in TclObjInterpProc ()
#49 0x00121e8c in TclExecuteByteCode ()
#50 0x00102538 in Tcl_EvalObjEx ()
#51 0x00109dd8 in Tcl_IfObjCmd ()
#52 0x00149144 in TclExpandTokenArray ()
#53 0x00149a10 in Tcl_EvalEx ()
#54 0x0014a690 in Tcl_Eval ()
#55 0x00104858 in Tcl_GlobalEval ()
#56 0x00612628 in Tk_BindEvent (bindingTable=0x68, eventPtr=0x1c45798, tkwin=0x1ae1530, 
numObjects=0, objectPtr=0x65060) at ../generic/tkBind.c:1780
#57 0x00630af0 in TkBindEventProc (winPtr=0x65060, eventPtr=0x68) at ../generic/tkCmds.c:287
#58 0x0063b5d0 in Tk_HandleEvent (eventPtr=0x68) at ../generic/tkEvent.c:864
#59 0x0063b97c in WindowEventProc (evPtr=0x0, flags=570696260) at ../generic/tkEvent.c:1199
#60 0x001456ec in Tcl_ServiceEvent ()
#61 0x00145940 in Tcl_DoOneEvent ()
#62 0x0063beb8 in Tk_MainLoop () at ../generic/tkEvent.c:1257
#63 0x00659d18 in Tk_MainEx (argc=570696260, argv=0x0, appInitProc=0x9c24 
<receive_samples+13144>, interp=0x0) at ../generic/tkMain.c:281
#64 0x00004114 in main (argc=0, argv=0x68) at tkMacOSXAppInit.c:155
#65 0x00003de4 in _start ()
#66 0x00003c14 in start ()
(gdb)
andreas_kupries Ticket [517164ffff]: 1 change [History diff]2002-03-19 06:46:54
hobbsplain2005-05-31 10:03:53
Logged In: YES 
user_id=72656

I believe the issues listed here are all fixed.
Log in (anonymous is fine) to add a comment.