From: matt shultz <email@hidden>
To: email@hidden
Subject: X11 Development
Date: Mon, 30 Jun 2003 12:44:39 -0400 (EDT)
Hello. I am porting a data visualization application from a
Windows200/Exceed and Unix/X11 Codebase to MacOS X. I know some of the
basics of X11 programming, but I have a whole lot to learn. I've been
doing a lot reading and I've got this (large) application pretty far
along, but I've run into a problem I don't know how to debug. The
application dies on a bus error during it's calle to XtRealizeWidget(),
the argument to which is the toplevel widget for the application. i'm
pasting the stack trace in below. Any help or resources you can point me
to that would help me debug this and future issuse would be greatly
appreciated.
#0 0x012ebd4c in ?? ()
#1 0x012ebd24 in ?? ()
#2 0x012eb030 in ?? ()
#3 0x96472374 in CallChangeManaged ()
#4 0x96472374 in CallChangeManaged ()
#5 0x96472374 in CallChangeManaged ()
#6 0x96472374 in CallChangeManaged ()
#7 0x964727f0 in XtRealizeWidget ()
#8 0x0018b10c in main_screen () at Xt_program4D.c:1735
#9 0x0015f89c in SetupGUI (toplevel_widget=0x2bf880, argc=0xbffffb28,
argv=0xbffffc24) at X_programq.c:427
#10 0x001068c8 in program (filelist={Nfiles = 1, Npatients = 1, fname =
{0xded8c0 "/Users/matt/Desktop/ctn/data/akez0000/73A1_0", 0x0 <repeats
1023 times>}, procfile = {0x0 <repeats 1024 times>}, patnam = {0xdea2b0
"AKEZ0000", 0x0 <repeats 1023 times>}, patid = {0xdecea0 "AKEZ0000", 0x0
<repeats 1023 times>}, studat = {0xdeef60 "22-Mar-1988", 0x0 <repeats 1023
times>}, stutim = {0xdebdb0 "12:52:13", 0x0 <repeats 1023 times>}, procid
= {0xdebdc0 "Raw Str Tc", 0x0 <repeats 1023 times>}, studid = {0xdeb800 "2
Day MIBI", 0x0 <repeats 1023 times>}, patidx = {0 <repeats 1024 times>},
flist_index = {0 <repeats 1024 times>}, filidx = {0 <repeats 1024 times>},
Npatfiles = {1, 0 <repeats 1023 times>}, fileType = {1, 0 <repeats 1023
times>}, studyType = {0 <repeats 1024 times>}, corrID = {0 <repeats 1024
times>}, procType = {0 <repeats 1024 times>}, gatflag = {1, 0 <repeats
1023 times>}, gatpair = {0 <repeats 1024 times>}, dirty = {0 <repeats 1024
times>}}, current_file=0, current_disp=-1, oidxf=0x0, toplevel=0x2bf880,
app_context=0xdc4050, argc=0xbffffb28, argv=0xbffffc24, userName=0x0) at
program.c:622
#11 0x001a25fc in main_common (argc=warning: ppc_frame_chain_valid: stack
frame from 0xbffea3e0 to 0xbffffb10 larger than 65536 bytes; assuming
invalid
2, argv=0xbffffc24) at program_CMD.c:811
warning: ppc_frame_chain_valid: stack frame from 0xbffea3e0 to 0xbffffb10
larger than 65536 bytes; assuming invalid
thanks again,
m.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback:
http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.