Package: bacula-director-pgsql
Version: 2.2.4-1rb
Severity: normal

This bug may also show problem with the crash reporting (details at
the very bottom).
This version should be identical to 2.2.4-1 except that I built it
from source with openssl enabled.

I can repeatedly crash by using 12:05 am as a time and, in bconsole,
*reload
Kaboom! bacula-dir, corn-dir got signal 11 - Segmentation violation. Attempting 
traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-dir 13455
Traceback complete, attempting cleanup ...

bacula-dir.conf had
Schedule {
  Name = MonthlyCycle
  Run = Level=Full Pool=Full 1st Sun at 1:05
  Run = Level=Differential FullPool=Full Pool=Differential 2nd-5th Sun at 1:05
  Run = Level=Full Pool=Full Mon at 12:05 am
  Run = Level=Incremental FullPool=Full Pool=Incremental Tue-Sat at 1:05
}
It was the line (2nd from bottom) with the 12:05 am that cause the
trouble.  I tried 
12:05 am  # one off
12:05am
0:05am

The thing I finally got to work was 
0:05


When I restarted the director it showed
07-Oct 22:54 corn-dir: ERROR in run_conf.c:381 Config error: Job type field: am 
in run record not found
            : line 341, col 44 of file /etc/bacula/bacula-dir.conf
  Run = Level=Full Pool=Full Mon at 12:05 am # one off

07-Oct 22:54 corn-dir: ERROR in run_conf.c:441 Config error: Time logic error.

            : line 341, col 44 of file /etc/bacula/bacula-dir.conf
  Run = Level=Full Pool=Full Mon at 12:05 am # one off

07-Oct 22:54 corn-dir: Fatal Error because: Bacula interrupted by signal 11: 
Segmentation violation

I also got the following email with subject "Bacula GDB traceback of
bacula-dir"
(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
ptrace: Operation not permitted.
/var/lib/bacula/13455: No such file or directory.
/etc/bacula/scripts/btraceback.gdb:1: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.

The "error in sourced command file" sounds as if there might be a bug
in the btraceback machinery also.

This is not a request to make a space before am or pm legal (though
that would be nice).  It is a request that the syntax error not cause
a crash.
-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bacula-director-pgsql depends on:
ii  bacula-director-common        2.2.4-1rb  Network backup, recovery and verif
ii  dbconfig-common               1.8.36     common framework for packaging dat
ii  debconf [debconf-2.0]         1.5.14     Debian configuration management sy
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-4  GCC support library
ii  libpq5                        8.2.4-2    PostgreSQL C client library
ii  libssl0.9.8                   0.9.8e-9   SSL shared libraries
ii  libstdc++6                    4.2.1-4    The GNU Standard C++ Library v3
ii  libwrap0                      7.6.dbs-14 Wietse Venema's TCP wrappers libra
ii  postgresql-client-8.1         8.1.10-1   front-end programs for PostgreSQL 
ii  postgresql-client-8.2 [postgr 8.2.4-2    front-end programs for PostgreSQL 
ii  python2.4                     2.4.4-6    An interactive high-level object-o

Versions of packages bacula-director-pgsql recommends:
ii  postgresql-8.1                8.1.10-1   object-relational SQL database, ve

-- debconf information:
* bacula-director-pgsql/pgsql/authmethod-admin: ident
  bacula-director-pgsql/pgsql/no-empty-passwords:
  bacula-director-pgsql/upgrade-backup: true
* bacula-director-pgsql/install-error: ignore
  bacula-director-pgsql/purge: true
* bacula-director-pgsql/pgsql/method: unix socket
* bacula-director-pgsql/db/app-user: bacula
  bacula-director-pgsql/dbconfig-reinstall: false
* bacula-director-pgsql/db/dbname: bacula
  bacula-director-pgsql/remote/host:
* bacula-director-pgsql/pgsql/admin-user: postgres
  bacula-director-pgsql/internal/skip-preseed: false
  bacula-director-pgsql/database-type: pgsql
  bacula-director-pgsql/remote/port:
  bacula-director-pgsql/remote/newhost:
  bacula-director-pgsql/remove-error: abort
  bacula-director-pgsql/passwords-do-not-match:
  bacula-director-pgsql/internal/reconfiguring: false
* bacula-director-pgsql/pgsql/authmethod-user: ident
  bacula-director-pgsql/pgsql/manualconf:
* bacula-director-pgsql/dbconfig-install: true
  bacula-director-pgsql/dbconfig-upgrade: true
  bacula-director-pgsql/missing-db-package-error: abort
  bacula-director-pgsql/dbconfig-remove:
  bacula-director-pgsql/upgrade-error: abort
  bacula-director-pgsql/pgsql/changeconf: false



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to