On Tuesday 20 December 2005 15:25, Wolfgang Denk wrote: > Hello, > > I'm starting to use Bacula [top of tree in anonymous CVS, i. e. ver- > sion 1.39.3 (17 December 2005)] on a couple of Fedora Core 2 and FC 4 > systems (x86). Each time I try to cancel a job, SD will crash. Am I > dong something wrong, or is this a known problem?
No, you are not doing something wrong. No it wasn't a known problem, but it is now an ugly bug (even in 1.38.3). Thanks for finding this. Try to get yourself on the branch, it will be much safer, though it wouldn't have helped in this case ... :-( > > For example: > > Using host libthread_db library "/lib/tls/libthread_db.so.1". > [Thread debugging using libthread_db enabled] > [New Thread -1208387648 (LWP 14836)] > [New Thread -1210487888 (LWP 15321)] > [Thread debugging using libthread_db enabled] > [New Thread -1208387648 (LWP 14836)] > [New Thread -1210487888 (LWP 15321)] > [Thread debugging using libthread_db enabled] > [New Thread -1208387648 (LWP 14836)] > [New Thread -1210487888 (LWP 15321)] > [New Thread -1231467600 (LWP 15309)] > [New Thread -1220977744 (LWP 14839)] > 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > $1 = "castor-sd", '\0' <repeats 20 times> > $2 = 0x862b870 "bacula-sd" > $3 = 0x862b898 "/usr/sbin/bacula-sd" > $4 = "MySQL" > $5 = 0x8096b08 "1.39.3 (17 December 2005)" > $6 = 0x8093372 "i686-pc-linux-gnu" > $7 = 0x809336b "redhat" > $8 = 0x8093360 "(Tettnang)" > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #1 0x00887491 in ___newselect_nocancel () from /lib/tls/libc.so.6 > #2 0x08074838 in bnet_thread_server (addrs=0x3, max_clients=41, > client_wq=0x80a6600, handle_client_request=0x805e12c > <handle_connection_request>) at bnet_server.c:148 > #3 0x0804c6f8 in main (argc=0, argv=0x14) at stored.c:240 > > Thread 4 (Thread -1220977744 (LWP 14839)): > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #1 0x00936b15 in pthread_cond_timedwait@@GLIBC_2.3.2 () from > /lib/tls/libpthread.so.0 #2 0x08086fa4 in watchdog_thread (arg=0x0) at > watchdog.c:296 > #3 0x0093398c in start_thread () from /lib/tls/libpthread.so.0 > #4 0x0088e7da in clone () from /lib/tls/libc.so.6 > > Thread 3 (Thread -1231467600 (LWP 15309)): > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #1 0x0093a0db in __waitpid_nocancel () from /lib/tls/libpthread.so.0 > #2 0x08083b3c in signal_handler (sig=11) at signal.c:159 > #3 <signal handler called> > #4 0x0805006a in acquire_device_for_append (dcr=0x0) at acquire.c:401 > #5 0x080509a9 in do_append_data (jcr=0x8637788) at append.c:70 > #6 0x08060d91 in append_data_cmd (jcr=0x8637788) at fd_cmds.c:178 > #7 0x08061707 in run_job (jcr=0x8637788) at fd_cmds.c:140 > #8 0x08061ee1 in run_cmd (jcr=0x8637788) at job.c:174 > #9 0x0805e380 in handle_connection_request (arg=0x8635d58) at dircmd.c:209 > #10 0x08087774 in workq_server (arg=0x80a6600) at workq.c:347 > #11 0x0093398c in start_thread () from /lib/tls/libpthread.so.0 > #12 0x0088e7da in clone () from /lib/tls/libc.so.6 > > Thread 2 (Thread -1210487888 (LWP 15321)): > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #1 0x00936b15 in pthread_cond_timedwait@@GLIBC_2.3.2 () from > /lib/tls/libpthread.so.0 #2 0x080876fa in workq_server (arg=0x80a6600) at > workq.c:322 > #3 0x0093398c in start_thread () from /lib/tls/libpthread.so.0 > #4 0x0088e7da in clone () from /lib/tls/libc.so.6 > > Thread 1 (Thread -1208387648 (LWP 14836)): > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #1 0x00887491 in ___newselect_nocancel () from /lib/tls/libc.so.6 > #2 0x08074838 in bnet_thread_server (addrs=0x3, max_clients=41, > client_wq=0x80a6600, handle_client_request=0x805e12c > <handle_connection_request>) at bnet_server.c:148 > #3 0x0804c6f8 in main (argc=0, argv=0x14) at stored.c:240 > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #0 0x007ba7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > No symbol table info available. > #1 0x00887491 in ___newselect_nocancel () from /lib/tls/libc.so.6 > No symbol table info available. > #2 0x08074838 in bnet_thread_server (addrs=0x3, max_clients=41, > client_wq=0x80a6600, handle_client_request=0x805e12c > <handle_connection_request>) at bnet_server.c:148 > 148 if ((stat = select(maxfd + 1, &sockset, NULL, NULL, NULL)) < 0) { > Current language: auto; currently c++ > maxfd = 3 > sockset = {fds_bits = {8, 0 <repeats 31 times>}} > newsockfd = 3 > stat = 3 > clilen = 16 > cli_addr = {sa_family = 2, sa_data = > "±/\n\000\000\n\000\000\000\000\000\000\000"} tlog = 0 > turnon = 1 > p = (IPADDR *) 0x0 > fd_ptr = (s_sockfd *) 0x0 > buf = > "10.0.0.10\000ô¿ô\021\a\b¨q\n\b`Ç\216\000\001\000\000\000¨Ñô¿×\\\223\000`Ç\ >216\0009\000\000\000\000\000\000\000×\\\223\000\220`\223\000èÑô¿HÒô¿¸Ñô¿\220 >`\223\000èÑô¿ô\021\a\bäq\n\b\220`\223\000èÑô¿~*\b\b\000r\n\bÀwù·\020Ôb\bȹb\ >bȹb\bHÒô¿\bÒô¿öj\b\b" sockfds = {<SMARTALLOC> = {<No data fields>}, head = > 0xbff4c5a0, tail = 0xbff4c5a0, loffset = 0, num_items = 1} allbuf = > "\000\000\000\000q\000\000\000`\003}\0000U|\000x\000}\000\000\225ù·\000\000 >\000\000\000\000\000\000àÿ|\000\236z\233\000\236z\233\000PÈô¿1\227|\000F[|\0 >00\000\000\000\000\000\000\000\000\204\000\000\000^\000\000\000\000\000\000\ >000àÿ|\000ðÇô¿\004\000\000\000ÌÇô¿7\230|\000\b\000\000\000$\000\000\000àÿ|\0 >008Îô¿tJ|\000$\000\000\000$\000\000\000\234d©\000`\003}\000äÈô¿f[|\000\004Îô >¿\000\220ù·\200\222ù·\000\225ù·\000\000\000\0000U|\000\000Îô¿üÍô¿\000\000\00 >0\000\000\000\000\0001\227|\000\23 d©\000\234d©\000äÈô¿ìÇô¿"... > #3 0x0804c6f8 in main (argc=0, argv=0x14) at stored.c:240 > 240 bnet_thread_server(me->sdaddrs, me->max_concurrent_jobs * 2 + 1, > ch = 140694544 > no_signals = 0 > test_config = 0 > thid = 3084479408 > uid = 0x0 > gid = 0x0 > #0 0x00000000 in ?? () > No symbol table info available. > #0 0x00000000 in ?? () > No symbol table info available. > #0 0x00000000 in ?? () > No symbol table info available. > #0 0x00000000 in ?? () > No symbol table info available. > > > Best regards, > > Wolfgang Denk -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users