On Friday 07 April 2006 13:18, Martin Simmons wrote:
> >>>>> On Fri, 7 Apr 2006 10:56:53 -0800, Joshua Kugler
> >>>>> <[EMAIL PROTECTED]> said:
> >
> > On Friday 07 April 2006 10:41, Kern Sibbald wrote:
> > > On Friday 07 April 2006 20:29, Joshua Kugler wrote:
> > > > Well, I rebooted with the nosmp kernel command line parameter, so
> > > > there was only one processor visible.  Still had the same crash.
> > >
> > > Given where the problem is occuring, that is not too surprising.
> >
> > Hmm...OK.  I'm still using the environment variable
> > LD_ASSUME_KERNEL=2.4.19 Should I try taking that out?  Do I need to get
> > rid of /lib/tls? I've never had a problem before, but maybe this time
> > around?  I'm using glibc 2.3.3.
>
> There are so many different versions of glibc 2.3.3, with disto patches etc
> so it is difficult to predict.  The 2.3.3 on FC3 works fine for me without
> LD_ASSUME_KERNEL and *with* /lib/tls, so I suggest you try it like that.
>
> Just occasionally, Linux works out of the box :-)

Well, I took out the ASSUME variable and compiled with -O0, and it was running 
fine for quite a while, then I got this:

Program received signal SIGUSR2, User defined signal 2.
[Switching to Thread -1330820176 (LWP 17856)]

Full output follows.


Starting program: /usr/local/bacula/sbin/bacula-dir -s -f 
-c ../etc/bacula-dir.conf
[Thread debugging using libthread_db enabled]
[New Thread -1213032256 (LWP 17535)]
[New Thread -1213076560 (LWP 17539)]
[New Thread -1221469264 (LWP 17540)]
[New Thread -1229861968 (LWP 17544)]
[New Thread -1238254672 (LWP 17546)]
[New Thread -1246647376 (LWP 17550)]
[Thread -1229861968 (LWP 17544) exited]
[New Thread -1229861968 (LWP 17552)]
[New Thread -1255052368 (LWP 17555)]
[New Thread -1263445072 (LWP 17557)]
[Thread -1246647376 (LWP 17550) exited]
[New Thread -1246647376 (LWP 17560)]
[New Thread -1272034384 (LWP 17563)]
[New Thread -1280427088 (LWP 17565)]
[Thread -1255052368 (LWP 17555) exited]
[New Thread -1255052368 (LWP 17567)]
Detaching after fork from child process 17568.
[New Thread -1288832080 (LWP 17572)]
[Thread -1272034384 (LWP 17563) exited]
[New Thread -1272034384 (LWP 17574)]
Detaching after fork from child process 17575.
[New Thread -1297237072 (LWP 17579)]
[New Thread -1305629776 (LWP 17583)]
[New Thread -1314022480 (LWP 17586)]
[Thread -1288832080 (LWP 17572) exited]
[New Thread -1288832080 (LWP 17590)]
Detaching after fork from child process 17592.
[New Thread -1322427472 (LWP 17596)]
[Thread -1297237072 (LWP 17579) exited]
[Thread -1288832080 (LWP 17590) exited]
[New Thread -1288832080 (LWP 17604)]
[New Thread -1297237072 (LWP 17619)]
[Thread -1288832080 (LWP 17604) exited]
[New Thread -1288832080 (LWP 17625)]
[Thread -1297237072 (LWP 17619) exited]
[New Thread -1297237072 (LWP 17651)]
[Thread -1288832080 (LWP 17625) exited]
[New Thread -1288832080 (LWP 17666)]
[Thread -1297237072 (LWP 17651) exited]
[New Thread -1297237072 (LWP 17679)]
[Thread -1288832080 (LWP 17666) exited]
[New Thread -1288832080 (LWP 17683)]
[Thread -1297237072 (LWP 17679) exited]
[New Thread -1297237072 (LWP 17691)]
[Thread -1288832080 (LWP 17683) exited]
[Thread -1297237072 (LWP 17691) exited]
[New Thread -1297237072 (LWP 17732)]
[New Thread -1288832080 (LWP 17741)]
[Thread -1297237072 (LWP 17732) exited]
[New Thread -1297237072 (LWP 17744)]
[Thread -1288832080 (LWP 17741) exited]
[New Thread -1288832080 (LWP 17749)]
[Thread -1297237072 (LWP 17744) exited]
[New Thread -1297237072 (LWP 17752)]
[Thread -1288832080 (LWP 17749) exited]
[New Thread -1288832080 (LWP 17757)]
[New Thread -1330820176 (LWP 17761)]
[Thread -1297237072 (LWP 17752) exited]
[Thread -1288832080 (LWP 17757) exited]
[New Thread -1288832080 (LWP 17765)]
[Thread -1288832080 (LWP 17765) exited]
[Thread -1330820176 (LWP 17761) exited]
[New Thread -1330820176 (LWP 17769)]
[New Thread -1288832080 (LWP 17772)]
[Thread -1330820176 (LWP 17769) exited]
[New Thread -1330820176 (LWP 17777)]
[Thread -1288832080 (LWP 17772) exited]
[Thread -1330820176 (LWP 17777) exited]
[Thread -1280427088 (LWP 17565) exited]
Detaching after fork from child process 17787.
[New Thread -1280427088 (LWP 17789)]
[New Thread -1330820176 (LWP 17856)]
[Thread -1280427088 (LWP 17789) exited]
Detaching after fork from child process 17934.
[New Thread -1280427088 (LWP 17936)]
[Thread -1280427088 (LWP 17936) exited]
Detaching after fork from child process 18001.
[New Thread -1280427088 (LWP 18003)]
[Thread -1305629776 (LWP 17583) exited]
Detaching after fork from child process 18158.
Detaching after fork from child process 18164.
[New Thread -1305629776 (LWP 18166)]
[Thread -1305629776 (LWP 18166) exited]
Detaching after fork from child process 18195.
[New Thread -1305629776 (LWP 18197)]
[Thread -1322427472 (LWP 17596) exited]
Detaching after fork from child process 18253.
Detaching after fork from child process 18259.
[New Thread -1322427472 (LWP 18261)]
[Thread -1280427088 (LWP 18003) exited]
Detaching after fork from child process 18317.
[New Thread -1280427088 (LWP 18319)]

Program received signal SIGUSR2, User defined signal 2.
[Switching to Thread -1330820176 (LWP 17856)]
0xffffe410 in ?? ()
(gdb) thread apply all bt

Thread 47 (Thread -1280427088 (LWP 18319)):
#0  0xffffe410 in ?? ()
#1  0xb3ae37d8 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f90e0) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80f90e0) at getmsg.c:79
#5  0x0805ea1e in msg_thread (arg=0x80fbef8) at msgchan.c:235
#6  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 46 (Thread -1322427472 (LWP 18261)):
#0  0xffffe410 in ?? ()
#1  0xb12d57d8 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f7358) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80f7358) at getmsg.c:79
#5  0x0805ea1e in msg_thread (arg=0x80fb088) at msgchan.c:235
#6  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 45 (Thread -1305629776 (LWP 18197)):
#0  0xffffe410 in ?? ()
---Type <return> to continue, or q <return> to quit---
#1  0xb22da7d8 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80e57b0) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80e57b0) at getmsg.c:79
#5  0x0805ea1e in msg_thread (arg=0x80fa2c8) at msgchan.c:235
#6  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 41 (Thread -1330820176 (LWP 17856)):
#0  0xffffe410 in ?? ()
#1  0xb0ad43b8 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f6b70) at bnet.c:175
#4  0x0808bacf in cram_md5_get_auth (bs=0x80f6b70, 
    password=0x80cf010 "360185247169fd2995475fdf760ac731", ssl_need=0)
    at cram-md5.c:91
#5  0x0804cdc1 in authenticate_file_daemon (jcr=0x80da7b8)
    at authenticate.c:134
#6  0x080541d2 in connect_to_file_daemon (jcr=0x80da7b8, retry_interval=1, 
    max_retry_time=15, verbose=0) at fd_cmds.c:95
#7  0x080773c6 in do_client_status (ua=0x80e5230, client=0x80cf050)
    at ua_status.c:327
#8  0x08077058 in do_all_status (ua=0x80e5230) at ua_status.c:241
---Type <return> to continue, or q <return> to quit---
#9  0x08076cba in status_cmd (ua=0x80e5230, cmd=0x80f62c0 "4")
    at ua_status.c:159
#10 0x08063140 in do_a_command (ua=0x80e5230, cmd=0x80f62c0 "4")
    at ua_cmds.c:161
#11 0x08076547 in handle_UA_client_request (arg=0x80ec398) at ua_server.c:140
#12 0x080a1e29 in workq_server (arg=0x80c9f00) at workq.c:347
#13 0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#14 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 18 (Thread -1314022480 (LWP 17586)):
#0  0xffffe410 in ?? ()
#1  0xb1ad9538 in ?? ()
#2  0x00000004 in ?? ()
#3  0xb7f16ff6 in net_write_command () from /usr/lib/libmysqlclient.so.14
#4  0xb7f17359 in my_net_read () from /usr/lib/libmysqlclient.so.14
#5  0xb7f107d8 in net_safe_read () from /usr/lib/libmysqlclient.so.14
#6  0xb7f11e65 in mysql_close () from /usr/lib/libmysqlclient.so.14
#7  0xb7f12170 in mysql_real_query () from /usr/lib/libmysqlclient.so.14
#8  0xb7eec385 in mysql_query () from /usr/lib/libmysqlclient.so.14
#9  0x0807c1c5 in InsertDB (file=0x80b2970 "sql_create.c", line=564, 
    jcr=0x80eace0, mdb=0x80db2c8, 
    cmd=0x80cb908 "INSERT INTO File 
(FileIndex,JobId,PathId,FilenameId,LStat,MD5) VALUES 
(27695,12261,134215,165,'A A IH/ B A A A NQA BAA O BENbl4 BEKzDv 
BEKzDu---Type <return> to continue, or q <return> to quit---
 A A M','0')") at sql.c:117
#10 0x0807e994 in db_create_file_record (jcr=0x80eace0, mdb=0x80db2c8, 
    ar=0xb1ad97a0) at sql_create.c:564
#11 0x0807e7e8 in db_create_file_attributes_record (jcr=0x80eace0, 
    mdb=0x80db2c8, ar=0xb1ad97a0) at sql_create.c:531
#12 0x080506d5 in catalog_update (jcr=0x80eace0, bs=0x80f0328, 
    msg=0x80f4b28 "FileAttributes ") at catreq.c:345
#13 0x08056920 in bget_dirmsg (bs=0x80f0328) at getmsg.c:186
#14 0x0805ea1e in msg_thread (arg=0x80eace0) at msgchan.c:235
#15 0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#16 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 15 (Thread -1272034384 (LWP 17574)):
#0  0xffffe410 in ?? ()
#1  0xb42e4038 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f9ea0) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80f9ea0) at getmsg.c:79
#5  0x0804dc37 in wait_for_job_termination (jcr=0x80fa2c8) at backup.c:232
#6  0x0804db9d in do_backup (jcr=0x80fa2c8) at backup.c:207
#7  0x08058dc5 in job_thread (arg=0x80fa2c8) at job.c:215
#8  0x0805be4c in jobq_server (arg=0x80c9d80) at jobq.c:444
#9  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#10 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 13 (Thread -1255052368 (LWP 17567)):
#0  0xffffe410 in ?? ()
#1  0xb5316038 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f51c8) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80f51c8) at getmsg.c:79
#5  0x0804dc37 in wait_for_job_termination (jcr=0x80eace0) at backup.c:232
#6  0x0804db9d in do_backup (jcr=0x80eace0) at backup.c:207
#7  0x08058dc5 in job_thread (arg=0x80eace0) at job.c:215
#8  0x0805be4c in jobq_server (arg=0x80c9d80) at jobq.c:444
#9  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#10 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 10 (Thread -1246647376 (LWP 17560)):
#0  0xffffe410 in ?? ()
#1  0xb5b1a038 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f4390) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80f4390) at getmsg.c:79
#5  0x0804dc37 in wait_for_job_termination (jcr=0x80fb088) at backup.c:232
#6  0x0804db9d in do_backup (jcr=0x80fb088) at backup.c:207
---Type <return> to continue, or q <return> to quit---
#7  0x08058dc5 in job_thread (arg=0x80fb088) at job.c:215
#8  0x0805be4c in jobq_server (arg=0x80c9d80) at jobq.c:444
#9  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#10 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 9 (Thread -1263445072 (LWP 17557)):
#0  0xffffe410 in ?? ()
#1  0xb4b157d8 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80e8a68) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80e8a68) at getmsg.c:79
#5  0x0805ea1e in msg_thread (arg=0x80e3f20) at msgchan.c:235
#6  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 7 (Thread -1229861968 (LWP 17552)):
#0  0xffffe410 in ?? ()
#1  0xb6b1c038 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80f3ae0) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80f3ae0) at getmsg.c:79
#5  0x0804dc37 in wait_for_job_termination (jcr=0x80fbef8) at backup.c:232
#6  0x0804db9d in do_backup (jcr=0x80fbef8) at backup.c:207
---Type <return> to continue, or q <return> to quit---
#7  0x08058dc5 in job_thread (arg=0x80fbef8) at job.c:215
#8  0x0805be4c in jobq_server (arg=0x80c9d80) at jobq.c:444
#9  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#10 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 5 (Thread -1238254672 (LWP 17546)):
#0  0xffffe410 in ?? ()
#1  0xb631b038 in ?? ()
#2  0x00000004 in ?? ()
#3  0x080871ec in bnet_recv (bsock=0x80ea080) at bnet.c:175
#4  0x08056408 in bget_dirmsg (bs=0x80ea080) at getmsg.c:79
#5  0x0804dc37 in wait_for_job_termination (jcr=0x80e3f20) at backup.c:232
#6  0x0804db9d in do_backup (jcr=0x80e3f20) at backup.c:207
#7  0x08058dc5 in job_thread (arg=0x80e3f20) at job.c:215
#8  0x0805be4c in jobq_server (arg=0x80c9d80) at jobq.c:444
#9  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#10 0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 3 (Thread -1221469264 (LWP 17540)):
#0  0xffffe410 in ?? ()
#1  0xb731da98 in ?? ()
#2  0x0000019d in ?? ()
#3  0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#4  0xb7ec2d15 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#5  0x080a1450 in watchdog_thread (arg=0x0) at watchdog.c:289
#6  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1213076560 (LWP 17539)):
#0  0xffffe410 in ?? ()
#1  0xb7b1ea88 in ?? ()
#2  0x00000000 in ?? ()
#3  0xb7b1deb0 in ?? ()
#4  0xb7d56991 in select () from /lib/tls/libc.so.6
#5  0x080898cc in bnet_thread_server (addrs=0x80cb7e8, max_clients=10, 
    client_wq=0x80c9f00, 
    handle_client_request=0x8076442 <handle_UA_client_request>)
    at bnet_server.c:154
#6  0x08076335 in connect_thread (arg=0x80cb7e8) at ua_server.c:79
#7  0xb7ec0b3c in start_thread () from /lib/tls/libpthread.so.0
#8  0xb7d5d93a in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1213032256 (LWP 17535)):
#0  0xffffe410 in ?? ()
#1  0xbffff788 in ?? ()
---Type <return> to continue, or q <return> to quit---
#2  0xb7dba218 in ?? () from /lib/tls/libc.so.6
#3  0x00000000 in ?? ()
#4  0xb7ec5ba6 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#5  0x08086029 in bmicrosleep (sec=60, usec=0) at bsys.c:59
#6  0x080626c6 in wait_for_next_job (one_shot_job_to_run=0x0)
    at scheduler.c:101
#7  0x0804b43b in main (argc=0, argv=0xbffff8b8) at dird.c:240
#0  0xffffe410 in ?? (













>
> __Martin
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Joshua Kugler                 PGP Key: http://pgp.mit.edu/
CDE System Administrator             ID 0xDB26D7CE
http://distance.uaf.edu/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to