[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

__atexit_register_cleanup problem 2



Hi!

I've reproducated this problem on OpenBSD 3.8 too:

#0  0x01f7e854 in __atexit_register_cleanup () from /usr/lib/libc.so.38.2
#1  0x01f7e612 in __smakebuf () from /usr/lib/libc.so.38.2
#2  0x01f6c4f0 in __swsetup () from /usr/lib/libc.so.38.2
#3  0x01f8efb9 in __sfvwrite () from /usr/lib/libc.so.38.2
#4  0x01f84c2f in fwrite () from /usr/lib/libc.so.38.2
#5  0x1c000879 in ProcessMail () at obsd.c:31
#6  0x0aa04d4b in _thread_start () from /usr/lib/libpthread.so.6.1

I attached the source. It does the core on an 1.7 GHz Pentium4.

I compiled with "gcc -pthread obsd.c -o obsd"

[demime 1.01d removed an attachment of type text/x-csrc which had a name of obsd.c]