Public bug reported:

Binary package hint: bacula
Version: 5.0.1-1ubuntu1

The package provides btraceback utility, which sends an email with trace
by mail. It is installed in /usr/sbin/btraceback. When bacula crashes,
it prints to console:

# cmdline and args taken from /etc/init.d/bacula-dir
$ /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula -d 
200 -dt -f -m -v 
bacula-dir: dird.c:184-0 Debug level = 200
07-cze-2010 19:20:44 bacula-dir: dird.c:184-0 Debug level = 200
(...)
Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-dir, magazyn-dir got signal 11 - Segmentation violation. 
Attempting traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-dir 13467 /var/lib/bacula

and should send an email with details. Unfortunately, the email looks
like this:

ptrace: Operation not permitted.
/var/lib/bacula/13467: No such file or directory.
$1 = 0
/etc/bacula/scripts/btraceback.gdb:2: Error in sourced command file:
No symbol table is loaded. Use the "file" command.

** Affects: bacula
     Importance: Undecided
         Status: New

** Affects: bacula (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: bacula
   Importance: Undecided
       Status: New

** Description changed:

  Binary package hint: bacula
+ Version: 5.0.1-1ubuntu1
  
  The package provides btraceback utility, which sends an email with trace
  by mail. It is installed in /usr/sbin/btraceback. When bacula crashes,
  it prints to console:
  
+ # cmdline and args taken from /etc/init.d/bacula-dir
+ $ /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula -d 
200 -dt -f -m -v 
+ bacula-dir: dird.c:184-0 Debug level = 200
+ 07-cze-2010 19:20:44 bacula-dir: dird.c:184-0 Debug level = 200
+ (...)
  Bacula interrupted by signal 11: Segmentation violation
  Kaboom! bacula-dir, magazyn-dir got signal 11 - Segmentation violation. 
Attempting traceback.
  Kaboom! exepath=/usr/sbin/
  Calling: /usr/sbin/btraceback /usr/sbin/bacula-dir 13467 /var/lib/bacula
  
  and should send an email with details. Unfortunately, the email looks
  like this:
  
  ptrace: Operation not permitted.
  /var/lib/bacula/13467: No such file or directory.
  $1 = 0
  /etc/bacula/scripts/btraceback.gdb:2: Error in sourced command file:
  No symbol table is loaded. Use the "file" command.

-- 
btraceback utility doesn't work
https://bugs.launchpad.net/bugs/590887
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to