Solaris9, gcc 3.3.1, 64bit mode: crash in longjmp()

Claus Assmann <[email protected]> Tue, 2 Dec 2003 19:31:55 -0800
Newsgroups gmane.comp.lib.state-threads.user
Message-ID <[email protected]>
Does anyone use this combination? A simple program crashes
in longjmp():

#0  0xffffffff7ec3b8e8 in longjmp () from /usr/lib/64/libc.so.1
#1  0x00000001000035a0 in _st_vp_schedule () at sched.c:165
#2  0x0000000100004e88 in st_usleep (usecs=4294987380) at sync.c:113
#3  0x0000000100002b48 in main (argc=16777217, argv=0x100006e28) at thr-1.c:120

The program creates one thread and calls st_usleep(timeout); where
timeout is 1000, to force a context switch. Are there any required
changes to the stack context switch code in md.h for this combination?


-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8