Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 Development



Hi Matt,
At least for me, it's hard to tell what the problem could be from what I see. However,
I wanted to point you to some good resources online. You may already be aware of
some of these:


For general X programming and Motif:
http://www.rahul.net/kenton/index.shtml

For Motif (including the Programming Manual and Reference in pdf format):
http://www.motifzone.net
http://www.motifdeveloper.com

All three are great for X, Xt, and Motif help. The last two have bulletin boards. Of the two,
I think the Motif zone has the best bulletin board. You usually get an answer fairly fast and
the ICS support team answers some of the questions. You can also download the source
code for Motif 2.2 and look through it if you need to.


Shawn

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.

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.