Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!mahendo!nereid!monica From: monica@nereid.jpl.nasa.gov (Monica Rivera) Newsgroups: comp.windows.x.motif Subject: _XmCharsetCanonicalize() crashing in motif 1.1.1 Message-ID: <6139@mahendo.Jpl.Nasa.Gov> Date: 25 Mar 91 20:11:41 GMT Sender: news@mahendo.Jpl.Nasa.Gov Reply-To: monica@triton.JPL.NASA.GOV Organization: Technology Development Group (JPL) Lines: 49 I am using Douglas Young's xs_str_array_to_xmstr function (from The X Window System, Douglas Young, Prentice Hall, 1990, p. 237) and it works great in motif 1.1, but I've been getting a core dump at the following call when using motif 1.1.1: xmstr = XmStringConcat(xmstr, XmStringCreate(cs[i], XmSTRING_DEFAULT_CHARSET) ); This is where dbx says it bombs: program terminated by signal SEGV (no mapping at the fault address) (dbx) where strlen() at 0xdd668 _isISO() at 0x7f5e0 _XmCharsetCanonicalize() at 0x7f55c XmStringCreate() at 0x7bdec xs_str_array_to_xmstr(cs = 0x137fb8, n = 38), line 104 in "xallbc2_cb.c" my_help(w = 0x179100, file_name = 0xfc3af "xallbc2.hlp"), line 170 in "xallbc2_c b.c" help_fcn(w = 0x1fc288, str = 0x11e341 "", callData = 0xf7fff444 ""), line 428 in "xallbc2_cb.c" _XtCallCallbacks() at 0xa1748 XtCallCallbackList() at 0xa199c `PushB`ActivateCommon() at 0x3909c `PushB`Activate() at 0x38ecc _XtTranslateEvent() at 0xc0044 DispatchEvent() at 0xa9a78 DecideToDispatch() at 0xaa154 XtDispatchEvent() at 0xaa200 XtAppMainLoop() at 0xaa500 XtMainLoop() at 0xaa4e0 main(argc = 1, argv = 0xf7fffc34, envp = 0xf7fffc3c), line 173 in "xallbc2.c" (dbx) Is there a way around this problem? -- - ------ - Monica Rivera | | | ---- \ | | ms T-1704H | | | | \ | | | 4800 Oak Grove Drive | | | | -- | | | Pasadena, CA 91109 ---| | | | \__/ | |___ monica@triton.jpl.nasa.gov \____|et |_|ropulsion |_____\aboratory (818) 354-0512