-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 27.02.2008 13:18 schrieb Tilman Schmidt:
> Ryan Novosielski schrieb:
>> If your binaries are not stripped, I'd do a backtrace. Usually that is
>> helpful for a bug report.
> 
> [...] Are you suggesting that I run bacula-dir in gdb? Do I need
> any command line options for that, for example to prevent it from
> forking? Should I set any breakpoints or is it enough to wait for the
> SIGSEGV and then type `where'?

Did that now. The necessary option is `-f' for `foreground', and
the result of `where' after the SIGSEGV is:

Program received signal SIGSEGV, Segmentation fault.
0x080b3b4e in sm_sizeof_pool_memory (fname=0x81ccf78 "message.c", lineno=1271,
    obuf=0x21 <Address 0x21 out of bounds>) at mem_pool.c:163
163     mem_pool.c: No such file or directory.
        in mem_pool.c
Current language:  auto; currently c++
(gdb) where
#0  0x080b3b4e in sm_sizeof_pool_memory (fname=0x81ccf78 "message.c",
    lineno=1271, obuf=0x21 <Address 0x21 out of bounds>) at mem_pool.c:163
#1  0x080b0516 in Mmsg ([EMAIL PROTECTED],
    fmt=0x81c7b84 "SELECT 
PoolId,Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,LabelFormat,RecyclePoolId
 FROM"...)
    at message.c:1271
#2  0x08098ec5 in db_get_pool_record (jcr=0x824ce18, mdb=0x824ecb0,
    pdbr=0xb6992d7c) at sql_get.c:586
#3  0x0807c907 in do_list_cmd (ua=0x824d838, cmd=<value optimized out>,
    llist=HORZ_LIST) at ua_output.c:482
#4  0x08074896 in do_a_command (ua=0x824d838, cmd=0x823f548 "1")
    at ua_cmds.c:180
#5  0x08088b50 in handle_UA_client_request (arg=0x824a260) at ua_server.c:147
#6  0x080c226c in workq_server (arg=0x8220a20) at workq.c:357
#7  0xb7ece192 in start_thread () from /lib/libpthread.so.0
#8  0xb7bac02e in clone () from /lib/libc.so.6
(gdb)

HTH
T.

- --
Tilman Schmidt
Phoenix Software GmbH                     www.phoenixsoftware.de
53227 Bonn, Germany                    Amtsgericht Bonn HRB 2934
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3rc1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHydO+Q3+did9BuFsRAop5AKCUZIcSobRkO2rkByZO+cqbkKMmIQCePFQs
GvkhF8sLnwrxlpYTyW99j6I=
=Dotr
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to