Something to play with (SIGSEGV)

2000-10-16 Thread Alexander Mai
Need something to fill your lunch/coffee break today? The attached code crashes (SIGSEGV) with LT and works with Motif 2.0 ... In XmString line 943 fontstruct seems to be 0x0 ... -- Alexander Mai [EMAIL PROTECTED] /* * Include File Declarations */ #include stdlib.h #include stdio.h

Re: Something to play with (SIGSEGV)

2000-10-16 Thread Rick Scott
Using the same box to run this with LessTif and OpenMotif both produce a segfault for me. If this worked for you I suspect that the named font is available on your Motif boxes. As a general comment, this is horrible code!! For details http://www.lesstif.org/PROGRAMMING_TIPS.html point 2. Not

Re: Something to play with (SIGSEGV)

2000-10-16 Thread Alexander Mai
On Mon, 16 Oct 2000 17:35:36 -0400 (EDT), Rick Scott wrote: Using the same box to run this with LessTif and OpenMotif both produce a segfault for me. If this worked for you I suspect that the named font is available on your Motif boxes. Hmm, have to check. As a general comment, this is

Re: Something to play with (SIGSEGV)

2000-10-16 Thread Rick Scott
On 16-Oct-00 at 17:41, Alexander Mai ([EMAIL PROTECTED]) wrote: On Mon, 16 Oct 2000 17:35:36 -0400 (EDT), Rick Scott wrote: Using the same box to run this with LessTif and OpenMotif both produce a segfault for me. If this worked for you I suspect that the named font is available on your