home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!spool.mu.edu!umn.edu!lynx!pprg.unm.edu!daemon
- From: opus@astro.unm.edu (Colby Kraybill)
- Newsgroups: comp.soft-sys.khoros
- Subject: Re: Problem with xvf_create_form
- Message-ID: <42360@pprg.eece.unm.edu.pprg.unm.edu>
- Date: 30 Dec 92 22:22:12 GMT
- Sender: daemon@pprg.unm.edu
- Lines: 96
-
- >
- >
- > (1) did you call xvf_initialize() properly, before the call to
- > xvf_create_form()?
-
- Yup, and the display variable has been set.
-
- >
- > (2) is it possible that you are over-writing memory, before the
- > call to xvf_create_form()?
-
- I have gone over all the stuff going on before the call to xvf_create_form
- and I am reasonably sure that no array ends are being over written.
-
- >
- > (3) are you using any calls to the xvdisplay library before the
- > call to xvf_create_form()? If so, did you call xvd_initialize()
- > properly before those calls?
-
- No calls to any xvdisplay routines yet. Haven't gotten that far 8).
-
-
- I've tracked down exactly where the error is occuring :
-
- glyph_button = XtCreateManagedWidget(label, commandWidgetClass,
- parent,arg,i);
-
- This is line 795 in KHOROS_HOME/src/xvroutines/Lib/xvforms/wid_util.c.
-
- The stack of calls looks like this :
- xvf_form_create_glyph_sel
- xvf_build_form
- run_enterob
- main
-
- It looks as though the widget it is trying to create is the 'Glyph'
- button at this point.
-
- At the point of error the values of the arguments are :
- label = 0xf46b8 "Glyph"
- parent = 0x1326c8 (This is the form->back widget)
- arg = (
- {
- name = 0xf4668 "width"
- value = 49
- }
- {
- name = 0xf466e "height"
- value = 15
- }
- {
- name = 0xf4675 "fromVert"
- value = 0
- }
- {
- name = 0xf467e "fromHoriz"
- value = 0
- }
- {
- name = 0xf4688 "horizDistance"
- value = 7
- }
- {
- name = 0xf4696 "vertDistance"
- value = 7
- }
- {
- name = 0xf46a3 "label"
- value = 1001144
- }
- {
- name = 0xf46a9 "resizable"
- value = 1
- }
- {
- name = 0xf46b3 "font"
- value = 1269496
- }
- `lxvobjects`xvf_mycreate_glyph_widget`i = 9 (9 args in arg)
-
-
- And last but not least, the error was :
- signal BUS (alignment error) in Get_GC at 0x60e64
- Get_GC+0x14: ld [%o0 + 4], %o0
-
-
- Any help is most appreciated.
-
-
-
-
- --
- Colby Kraybill
- Department of Physics and Astronomy - Computer Geek Extrodenaire
- opus@astro.unm.edu
-
-