On Thu, Sep 27, 2012 at 12:43:24PM +0300, Alexey Suslikov wrote: > Program received signal SIGSEGV, Segmentation fault. > [Switching to thread 1006387] > 0x00000cb33345cf6e in random () at /usr/src/lib/libc/stdlib/random.c:387 > 387 *fptr += *rptr; > > Back trace: > > Thread 10 (thread 1003160): > #0 0x00000cb33344135a in _thread_sys___thrsleep () at <stdin>:2 > #1 0x00000cb3315fac2a in pthread_cond_wait (condp=0xcb32a79c4b0, > mutexp=Variable "mutexp" is not available. > ) at /usr/src/lib/librthread/rthread_sync.c:500 > #2 0x00000cb129f836ba in gwlist_consume () from /usr/local/sbin/bearerbox > #3 0x00000cb129f121f1 in boxc_sender () from /usr/local/sbin/bearerbox > #4 0x00000cb129f828dd in new_thread () from /usr/local/sbin/bearerbox > #5 0x00000cb3315f911e in _rthread_start (v=Variable "v" is not available. > ) at /usr/src/lib/librthread/rthread.c:122 > #6 0x00000cb333434f9b in __tfork_thread () at > /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75 > Cannot access memory at address 0xcb32b27c000 > 0x00000cb33345cf6e 387 *fptr += *rptr;
FYI I am seeing a somehow similar crash when using sysutils/bacula (both 5.2 and 5.3). It is 100% reproducible on my setup. Obviously painful since it means I cannot run backups anymore... Here's an e.g. with a test setup : Program received signal SIGSEGV, Segmentation fault. [Switching to thread 1001179] 0x0e5f89ed in random () at /usr/src/lib/libc/stdlib/random.c:387 387 *fptr += *rptr; (gdb) (gdb) bt full #0 0x0e5f89ed in random () at /usr/src/lib/libc/stdlib/random.c:387 i = Variable "i" is not available. (gdb) bt #0 0x0e5f89ed in random () at /usr/src/lib/libc/stdlib/random.c:387 #1 0x0e5f8bba in srandom (x=2239411) at /usr/src/lib/libc/stdlib/random.c:216 #2 0x09d8890f in cram_md5_challenge (bs=0x844d5418, password=0x8b00e398 "8f1fd8bec27ecfade7d33e0442f110f9", tls_local_need=2, compatible=1) at cram-md5.c:65 #3 0x1c007f2b in authenticate (rcode=1001, bs=0x844d5418, jcr=0x7fcaa018) at authenticate.c:126 #4 0x1c0083c3 in authenticate_director (jcr=0x7fcaa018) at authenticate.c:206 #5 0x1c01989f in hello_cmd (jcr=0x7fcaa018) at job.c:437 #6 0x1c019ddb in handle_client_request (dirp=0x844d5418) at job.c:287 #7 0x09db3182 in workq_server (arg=0x3c00adc0) at workq.c:344 #8 0x09dc110e in _rthread_start (v=0x844d5000) at /usr/src/lib/librthread/rthread.c:122 #9 0x0e603272 in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:95 -- Antoine