Kern Sibbald wrote:
> Without your conf files and a traceback there is not much we can do.  
> Unfortunately, in deadlock situations, debug output doesn't help much.
> 
> A traceback would be most helpful.   
> 
> However, you might look at bug #1287, where I have just posted a patch that 
> should resolve the problem for that particular user.  Without a traceback, I 
> cannot say if it will help you, but it is worth trying.  The patch is also in 
> the patches directory of the current SVN.

I've applied the patch and am running the patched version of the binaries 
now.  I'm still able to cause a lockup condition.  I'm not real familiar 
with gbd or creating a backtrace so and pointers to get the information you 
  need would be helpful.  I've done what I believe needs to be done and 
this is the output:

[r...@server ~]# gdb /usr/sbin/bacula-sd
GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -u bacula -g disk -c /etc/bacula/bacula-sd.conf -f
Starting program: /usr/sbin/bacula-sd -u bacula -g disk -c 
/etc/bacula/bacula-sd.conf -f
[Thread debugging using libthread_db enabled]
[New Thread -1208502592 (LWP 24283)]
Detaching after fork from child process 24286.
[New Thread -1210811488 (LWP 24287)]
Detaching after fork from child process 24289.
[New Thread -1221301344 (LWP 24288)]
Detaching after fork from child process 24295.
Detaching after fork from child process 24301.
Detaching after fork from child process 24307.
Detaching after fork from child process 24313.
Detaching after fork from child process 24319.
Detaching after fork from child process 24331.
Detaching after fork from child process 24343.
Detaching after fork from child process 24355.
[Thread -1210811488 (LWP 24287) exited]
[New Thread -1210811488 (LWP 24370)]
[Thread -1210811488 (LWP 24370) exited]
[New Thread -1210811488 (LWP 24513)]
[New Thread -1231791200 (LWP 24515)]
[Thread -1231791200 (LWP 24515) exited]
[New Thread -1231791200 (LWP 24517)]
[New Thread -1242281056 (LWP 24519)]
[Thread -1242281056 (LWP 24519) exited]
[New Thread -1242281056 (LWP 24523)]
[New Thread -1252775008 (LWP 24525)]
[Thread -1252775008 (LWP 24525) exited]
[New Thread -1252775008 (LWP 24526)]
[New Thread -1263268960 (LWP 24531)]
[New Thread -1273758816 (LWP 24560)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208502592 (LWP 24283)]
0x002877a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0  0x002877a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00365591 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2  0x008716f2 in bnet_thread_server (addrs=0x8d13b58, max_clients=41, 
client_wq=0x8096120, handle_client_request=0x8065a70 
<handle_connection_request(void*)>)
     at bnet_server.c:161
#3  0x0804e5a3 in main (argc=0, argv=Variable "argv" is not available.
) at stored.c:305
#4  0x002b5df3 in __libc_start_main () from /lib/tls/libc.so.6
#5  0x0804d4c1 in _start ()
(gdb) bt full
#0  0x002877a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00365591 in ___newselect_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x008716f2 in bnet_thread_server (addrs=0x8d13b58, max_clients=41, 
client_wq=0x8096120, handle_client_request=0x8065a70 
<handle_connection_request(void*)>)
     at bnet_server.c:161
         maxfd = 8
         sockset = {fds_bits = {256, 0 <repeats 31 times>}}
         clilen = 16
         turnon = 1
         p = (IPADDR *) 0x0
         buf = 
"172.16.0.1\0005\000{\211\...@v\212\000¸±Ó\b\000\000\000\000 
\206\001\000Ð\022Ò\bU\000\000\000\020\000\000\000ºÌ\210\000\fu\212\000бÓ\b\216á\206\000äX\212\000\bv\212\000Ð;Ñ\bX\021ì¿-x\211\000\000\000\000\000d\000\000\000k{\211\000ìw\211\000äX\212\000бÓ\b\210\021ì¿ñ\201\211\000
 
\aÒ\bбÓ\b\210\021ì¿-z\211"
         allbuf = 
"Ôß)\000¸\fÒ\bDî/\000À\aì¿\"þ(\0008\215´\000|\aì¿`\fÒ\b\003\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\223Û5\000ô¿<\000(õ/\000\a\000\000\000\000pÔ·\000\020\000\000H\aì¿®â/\000\02400\000\000pÔ·\000\020\000\000ô¿<\000¸\022Ò\bàuÔ·x\aì¿Ë\b0\000¸\022Ò\b¸\022Ò\bp\a�...@\024Ò\b¸\022Ò\b\000\000\000\000ô¿<\000\000\000\000\000\234\aì¿`V/\000¸\022Ò\b\000\000\000\000·ý/\000;\bì¿ô¿<\000·ý/\000ô¿<\000¸\022Ò\b0\bì¿À\aì¿Ô)<\000\030\000\000\000"...
         stat = 0
         tlog = 0
         fd_ptr = (s_sockfd *) 0x0
         sockfds = {<SMARTALLOC> = {<No data fields>}, head = 0xbfec0520, 
tail = 0xbfec0520, loffset = 0, num_items = 1}
         newsockfd = 21
         cli_addr = {sa_family = 2, sa_data = 
"\207\234¬\020\000\001\000\000\000\000\000\000\000"}
#3  0x0804e5a3 in main (argc=0, argv=Variable "argv" is not available.
) at stored.c:305
         test_config = false
         ch = Variable "ch" is not available.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to