🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24832

Possible bug with XtCreateWidget()?

#24832
From: Colby Kraybill
Date: Tue, 12 Jan 1993 10:21
39 lines
1786 bytes
I have been trying to get an application going which works under the
khoros signal/image processing software.  I've pretty much eleminated
the possibility that the error is in the khoros stuff.

Anyways, there is a library routine under khoros which makes a call to
XtCreateManagedWidget().  I traced through the source code of that call
and then came upon XtCreateWidget().  The error is this :

signal BUS (alignment error) in Get_GC at 0x60ecc
Get_GC+0x14:    ld      [%o0 + 4], %o0

I've yet to find 'Get_GC' in my X11R5 sources, but I am still looking.
However, instead of having to recompile some of those sources with a -g
option.  I'd like to find out if anyone out there has encountered something
like this and has some sortof fix, or atleast a reason why this is happening.

The values which are being passed to XtCreateWidget are fine, they are :

widget = XtCreateWidget(name, widget_class, parent, args, num_args);

name : "Glyph"
widget_class is commandWidgetClass
parent is a valid 'toplevel' window
args has all nine values which num_args says there should be.

Ideas?


--
Colby Kraybill
Department of Physics and Astronomy - Computer Geek Extrodenaire
opus@astro.unm.edu


-- 
Colby Kraybill
Department of Physics and Astronomy - Computer Geek Extrodenaire
opus@astro.unm.edu
Technical Details
Message-ID: <1iu62sINN870@lynx.unm.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!hydra.unm.edu!opus

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!hydra.unm.edu!opus
From: opus@hydra.unm.edu (Colby Kraybill)
Newsgroups: comp.windows.x
Subject: Possible bug with XtCreateWidget()?
Date: 12 Jan 1993 10:21:16 GMT
Organization: University of New Mexico, Albuquerque
Lines: 39
Distribution: world
Message-ID: <1iu62sINN870@lynx.unm.edu>
Reply-To: opus@astro.unm.edu
NNTP-Posting-Host: hydra.unm.edu
Keywords: Xt, XtCreateWidget, bug