[comp.windows.x] xrn core dump in redrawArticleWidget

niermann@grumpy.csg.uiuc.edu (Tom Niermann) (02/05/90)

Xrn6.3 and 6.4 core dumps when ever an article is going to be displayed.
I am on a Sun 3 os 4 X11R4.

It gets past the point where the text of the message is put into a temp file,
but before the note is displayed there is a segmentation violation.
I get the same error if I compile with gcc or cc.

Has anyone else had the same error and fixed it?
Or does anyone know what I am doing wrong?

Thank
Tom Niermann
niermann@bach.csg.uiuc.edu


I get a segmentation violation in XrmStringToQuark.
The stack looks like -
XrmStringToQuark
_XtCreateIndirectionTable
_XtGetResources
XtInitializeWidgetClass
_XtCreateWidget
XtCreateWidget
XawDiskSourceCreate
redrawArticleWidget(filename = 0x8d0c4 "/tmp/xrn793-a13406", question = 0x4024c
"Article 793 in comp.sys.dec (52 remaining)"), line 1777 in "buttons.c"
foundArticle(file = 0x8d0c4 "/tmp/xrn793-a13406", ques = 0x4024c "Article 793 in
 comp.sys.dec (52 remaining)", artNum = 793), line 1989 in "buttons.c"
artNextFunction(widget = (nil), client_data = (nil), call_data = (nil)), line 29
13 in "buttons.c"
artNextUnreadFunction(widget = (nil), client_data = (nil), call_data = (nil)), l
ine 2965 in "buttons.c"
switchToArticleMode(), line 1840 in "buttons.c"
ngReadFunction(widget = 0x6a4a0, client_data = (nil), call_data = (nil)), line 2
249 in "buttons.c"
_XtCallCallbacks
XtCallCallbackList
XawDiskSourceCreate
_XtMatchAtom
XtWindowToWidget
_XtOnGrabList
XtDispatchEvent
XtAppMainLoop
XtMainLoop
main

ricks@shambhala.Berkeley.EDU (Rick L Spickelmier) (02/06/90)

You said that you were running 6.3 and 6.4 with R4.... do you mean
an R4 server, and xrn linked with R3 libraries?  Or are you running
the R4 xrn from the mit tape?  The R4 xrn on the mit tape excites
a bug in the Xaw R3/R4 compability routines and has a few bugs
itself (which causes the error you are getting).  FTP to shambhala.berkeley.edu
(128.32.132.5) and grap pub/xrn6-5.1.tar.Z

				Rick Spickelmier
				UC Berkeley