Bug#532646: bugfix patch

2009-07-27 Thread Konstantin Starodubtsev
The patch below fixes the problem.

--- rules.orig  2009-07-27 14:38:44.0 +0400
+++ rules   2009-07-27 14:33:33.0 +0400
@@ -168,7 +168,7 @@
dh_install -pbacula-fd
dh_install -pbacula-console -pbacula-console-qt
cp $(DEFAULTINSTALLDIR)/usr/sbin/bconsole
debian/bacula-console/usr/sbin/bacula-console
-   cp debian/tmp-build-$(DEFAULTVARIANT)/src/qt-console/bat
debian/bacula-console-qt/usr/bin/bat
+   cp debian/tmp-build-$(DEFAULTVARIANT)/src/qt-console/.libs/bat
debian/bacula-console-qt/usr/bin/bat
ln -s bacula-common debian/bacula-common/usr/share/doc/bacula



-- 
MBR,
 Konstantin Starodubtsev



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#435146: asterisk-h323: Asterisk crashes on startup with H323 package installed.

2007-07-29 Thread Konstantin Starodubtsev
Package: asterisk-h323
Version: 1:1.4.9~dfsg-1
Severity: grave
Justification: renders package unusable


Asterisk crashes with core dump if asterisk-h323 packages installed.
Uninstalling this package stops crashes though make h323 protocol
unusable.

The bug is reproducable. Package is unusable even when installed on
clean system which had never asterisk installed on.

# asterisk -vdddg
Asterisk 1.4.9, Copyright (C) 1999 - 2007 Digium, Inc. and others.

... [ output from other modules there ] .

res_config_pgsql.so => (PostgreSQL RealTime Configuration Driver)
res_jabber.so => (AJI - Asterisk Jabber Interface)
[Jul 29 19:19:53] WARNING[8620]: res_crypto.c:480 crypto_load: Unable to
open key directory '/var/lib/asterisk/keys'
res_crypto.so => (Cryptographic Digital Signatures)
res_monitor.so => (Call Monitoring Resource)
Segmentation fault (core dumped)

# gdb /usr/sbin/asterisk core.8851
. [ symbol loading info there ] .

Core was generated by `asterisk -vdddg'.
Program terminated with signal 11, Segmentation fault.
#0  0x in ?? ()
(gdb)
(gdb) bt
#0  0x in ?? ()
#1  0xb7314426 in PFactory::~PFactory () from
/usr/lib/libopenh323.so.1.18.0
#2  0xb6e82852 in PFactoryBase::FactoryMap::~FactoryMap () from
/usr/lib/libpt.so.1.10.7
#3  0xb6e828c0 in ?? () from /usr/lib/libpt.so.1.10.7
#4  0xb7d55831 in __cxa_finalize () from /lib/i686/cmov/libc.so.6
#5  0xb6cf2383 in ?? () from /usr/lib/libpt.so.1.10.7
#6  0xb6f28c60 in ?? () from /usr/lib/libpt.so.1.10.7
#7  0xb6f26768 in ?? () from /usr/lib/libpt.so.1.10.7
#8  0xbfb25508 in ?? ()
#9  0xb6e8317c in _fini () from /usr/lib/libpt.so.1.10.7
Backtrace stopped: frame did not save the PC
(gdb)


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-vserver-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 asterisk-h323 depends on:
ii  libc6   2.6-4GNU C Library: Shared libraries
ii  libexpat1   1.95.8-3.4   XML parsing C library - runtime li
ii  libgcc1 1:4.2-20070528-1 GCC support library
ii  libldap22.1.30-13.3  OpenLDAP libraries
ii  libopenh323-1.18.0  1.18.0.dfsg-2H.323 aka VoIP library
ii  libpt-1.10.01.10.7~dfsg1-4   Portable Windows Library
ii  libsasl2-2  2.1.22.dfsg1-8   Authentication abstraction library
ii  libsdl1.2debian 1.2.11-8 Simple DirectMedia Layer
ii  libssl0.9.8 0.9.8e-4 SSL shared libraries
ii  libstdc++6  4.2-20070528-1   The GNU Standard C++ Library v3

Versions of packages asterisk-h323 recommends:
ii  asterisk  1:1.4.9~dfsg-1 Open Source Private Branch Exchang

-- no debconf information


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



Bug#389857: libxml-libxml-perl: New upstream version available (1.61)

2006-09-28 Thread Konstantin Starodubtsev
Package: libxml-libxml-perl
Version: 1.59-2
Severity: wishlist


There's new upstream version available on CPAN which resolves several
issues with namespaces and includes XPathContext module.
Can you package it please?


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



Bug#389862: libxml-libxml-perl: Segmentation faults under mod_perl2+apache-mpm-worker

2006-09-28 Thread Konstantin Starodubtsev
Package: libxml-libxml-perl
Version: 1.59-2
Severity: important


There's reproducible Segmentation Fault under apache2-mpm-worker and
mod_perl2

It dies at the parse_file method call (the same problem with
parse_string though):

my $parser = XML::LibXML->new;
$self->{dom} = $parser->parse_file( $filename );

Code is run from start.pl which is included from apache config:
PerlRequire /var/www/start.pl

Problem doesn't exists under prefork apache model, only under worker so
I suppose it is some issue about module thread safety.

With this problem apache dies with segfault at startup time.
I've tried to upgrade to cvs snapshot of libxml2 as well as to
XML::LibXML v1.61 but the problem still exists.

This is apache-related file versions:

ii  apache2-mpm-worker 2.0.55-4.1
ii  libapache2-mod-perl2   2.0.2-2
ii  libapache2-mod-apreq2  2.08-1
ii  libapache2-request-perl2.08-1

Backtrace with package rebuilded with noopt,nostrip is below:

(gdb) bt full
#0  0xb73964f6 in PmmREFCNT_dec (node=0x2) at perl-libxml-mm.c:248
libnode = (xmlNodePtr) 0x0
owner = (ProxyNodePtr) 0x0
retval = 0
#1  0xb73965e5 in PmmREFCNT_dec (node=0x8e0fe60) at perl-libxml-mm.c:279
libnode = (xmlNodePtr) 0x0
owner = (ProxyNodePtr) 0x2
retval = 0
#2  0xb7375973 in XS_XML__LibXML__Node_DESTROY (my_perl=0x98a6d10, 
cv=0x9aabe88) at LibXML.xs:3084
node = (SV *) 0x9b597f8
sp = (SV **) 0x8e220d4
ax = 1
mark = (SV **) 0x96d123c
items = 1
#3  0xb784e81b in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
No symbol table info available.
#4  0xb77eeb91 in Perl_magicname () from /usr/lib/libperl.so.5.8
No symbol table info available.
#5  0xb77ef844 in Perl_call_sv () from /usr/lib/libperl.so.5.8
No symbol table info available.
#6  0xb785b5f7 in Perl_sv_clear () from /usr/lib/libperl.so.5.8
No symbol table info available.
#7  0xb785be63 in Perl_sv_free () from /usr/lib/libperl.so.5.8
No symbol table info available.
#8  0xb785c5de in Perl_sv_unmagic () from /usr/lib/libperl.so.5.8
No symbol table info available.
#9  0xb7856515 in Perl_sv_add_arena () from /usr/lib/libperl.so.5.8
No symbol table info available.
#10 0xb785658a in Perl_sv_clean_objs () from /usr/lib/libperl.so.5.8
No symbol table info available.
#11 0xb77f4d1f in perl_destruct () from /usr/lib/libperl.so.5.8
No symbol table info available.
#12 0xb790709e in modperl_perl_destruct () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#13 0xb78f6675 in modperl_interp_destroy () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#14 0xb78f67cd in modperl_interp_pool_destroy () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#15 0xb78f739d in modperl_tipool_destroy () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#16 0xb78f6759 in modperl_interp_pool_destroy () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#17 0xb7c0ebed in apr_pool_cleanup_run () from /usr/lib/libapr-0.so.0
No symbol table info available.
#18 0xb7c0f4fd in apr_pool_destroy () from /usr/lib/libapr-0.so.0
No symbol table info available.
#19 0xb7c0f6c8 in apr_pool_clear () from /usr/lib/libapr-0.so.0
No symbol table info available.
#20 0x0807fc0d in main ()
No symbol table info available.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages libxml-libxml-perl depends on:
ii  libc6  2.3.6-15  GNU C Library: Shared libraries
ii  libxml-libxml-common-perl  0.13-5Perl module for common routines & 
ii  libxml-namespacesupport-pe 1.09-2Perl module for supporting simple 
ii  libxml-sax-perl0.12-5Perl module for using and building
ii  libxml22.6.26.dfsg-3 GNOME XML library
ii  perl   5.8.8-6.1 Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.8]  5.8.8-6.1 The Pathologically Eclectic Rubbis

libxml-libxml-perl recommends no packages.

-- no debconf information


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



Bug#389679: Bug resolved partially.

2006-09-27 Thread Konstantin Starodubtsev
 Sorry, serverity should be lowered to normal or wishlist.

The problem appeared because apache2 mod_perl2 handler was written as

sub handler : method {
my $r = shift;
}

so subsequent Apache2::Request->new( $r ) call got incorrect argument
(notice ": method" attribute).

I still consider this is a bug (with low priority though) as mod_perl 
should not segfault.

-- 
MBR,
 Konstantin Starodubtsev


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



Bug#389679: libapache2-mod-apreq2: Additional info (backtrace with debug symbols)

2006-09-26 Thread Konstantin Starodubtsev
Package: libapache2-mod-apreq2
Version: 2.08-1
Followup-For: Bug #389679


libapreq2 packages were recompiled with DEB_BUILD_OPTS="nostrip,noopt"

(gdb) bt full
#0  apreq_handle_apache2 (r=0x0) at handle.c:415
No locals.
#1  0xb7658af5 in XS_APR__Request__Apache2_handle (my_perl=0x8452eb0, cv=0x0) 
at Apache2.xs:68
r = (Apache2__RequestRec) 0x0
RETVAL = 
sp = (SV **) 0x2
ax = 
#2  0xb78d181b in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
No symbol table info available.
#3  0xb78cff19 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
No symbol table info available.
#4  0xb7871b6e in Perl_magicname () from /usr/lib/libperl.so.5.8
No symbol table info available.
#5  0xb7872844 in Perl_call_sv () from /usr/lib/libperl.so.5.8
No symbol table info available.
#6  0xb797e250 in modperl_callback () from /usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#7  0xb797eb3b in modperl_callback_run_handlers () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#8  0xb797ee13 in modperl_callback_per_dir () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#9  0xb7979000 in modperl_response_finish () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#10 0xb79792cc in modperl_response_handler_cgi () from 
/usr/lib/apache2/modules/mod_perl.so
No symbol table info available.
#11 0x0807a287 in ap_run_handler ()
No symbol table info available.
#12 0x0807d2e1 in ap_invoke_handler ()
No symbol table info available.
#13 0x0806a5ee in ap_process_request ()
No symbol table info available.
#14 0x08065288 in _start ()
No symbol table info available.
(gdb)   

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages libapache2-mod-apreq2 depends on:
ii  apache2-common  2.0.55-4.1   next generation, scalable, extenda
ii  libapr0 2.0.55-4.1   the Apache Portable Runtime
ii  libapreq2   2.08-1   generic Apache request library
ii  libc6   2.3.6-15 GNU C Library: Shared libraries
ii  libdb4.34.3.29-4.1   Berkeley v4.3 Database Libraries [
ii  libexpat1   1.95.8-3.2   XML parsing C library - runtime li
ii  libldap22.1.30-13+b1 OpenLDAP libraries

libapache2-mod-apreq2 recommends no packages.

-- no debconf information


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



Bug#389679: libapache2-mod-apreq2: Segmentation Fault under mod_perl2

2006-09-26 Thread Konstantin Starodubtsev
Package: libapache2-mod-apreq2
Version: 2.08-1
Severity: important


Hello.
Apache2 segfaults repeatedly after receiving first request to my
mod_perl2 application. The problem can be reproduced, though appears
only on one request URL (it's http://localhost/ actually) , 
all other (http://localhost/blah/ for example)  works correctly though
handled by the same mod_perl2 application handler.

I'm not sure when the problem appears as that problematic URL was
screened by mod_rewrite before. Segfault still exists after upgrading
from testing to unstable.

If you need more info or test ran, then I'm ready to it.

Modperl-related package info is below just in case.

ii  apache22.0.55-4.1
ii  apache2-mpm-worker 2.0.55-4.1
ii  libapache2-mod-apreq2  2.08-1
ii  libapache2-mod-perl2   2.0.2-2   
ii  libapache2-request-perl2.08-1

Backtrace:

(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1239344208 (LWP 10728)]
0xb7f9b77d in apreq_handle_apache2 () from 
/usr/lib/apache2/modules/mod_apreq2.so
(gdb) bt
#0  0xb7f9b77d in apreq_handle_apache2 () from 
/usr/lib/apache2/modules/mod_apreq2.so
#1  0xb7538e16 in XS_APR__Request__Apache2_handle () from 
/usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so
#2  0xb77b181b in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
#3  0xb77aff19 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#4  0xb7751b6e in Perl_magicname () from /usr/lib/libperl.so.5.8
#5  0xb7752844 in Perl_call_sv () from /usr/lib/libperl.so.5.8
#6  0xb785e250 in modperl_callback () from /usr/lib/apache2/modules/mod_perl.so
#7  0xb785eb3b in modperl_callback_run_handlers () from 
/usr/lib/apache2/modules/mod_perl.so
#8  0xb785ee13 in modperl_callback_per_dir () from 
/usr/lib/apache2/modules/mod_perl.so
#9  0xb7859000 in modperl_response_finish () from 
/usr/lib/apache2/modules/mod_perl.so
#10 0xb78592cc in modperl_response_handler_cgi () from 
/usr/lib/apache2/modules/mod_perl.so
#11 0x0807a287 in ap_run_handler ()
#12 0x0807d2e1 in ap_invoke_handler ()
#13 0x0806a5ee in ap_process_request ()
#14 0x08065288 in _start ()
(gdb)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages libapache2-mod-apreq2 depends on:
ii  apache2-common  2.0.55-4.1   next generation, scalable, extenda
ii  libapr0 2.0.55-4 the Apache Portable Runtime
ii  libapreq2   2.08-1   generic Apache request library
ii  libc6   2.3.6-15 GNU C Library: Shared libraries
ii  libdb4.44.4.20-3 Berkeley v4.4 Database Libraries [
ii  libexpat1   1.95.8-3.2   XML parsing C library - runtime li
ii  libldap22.1.30-13+b1 OpenLDAP libraries

libapache2-mod-apreq2 recommends no packages.

-- no debconf information


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



Bug#368547: mysql-server-5.0: Mysql server is crashing after flush logs command

2006-09-01 Thread Konstantin Starodubtsev
Package: mysql-server-5.0
Version: 5.0.24-3
Followup-For: Bug #368547

The bug #360031 contains stack trace from syslog and relates to this problem.
Actually, turning binary logging off doesn't help and logrotate scripts 
installed
by default issues mysqladmin flush-logs command which results in mysql server 
crash. May be logrotating should be turned off until the bug will be fixed
in upstream or by maintainer.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-vserver-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages mysql-server-5.0 depends on:
ii  adduser 3.97 Add and remove users and groups
ii  debconf [debconf-2.0]   1.5.3Debian configuration management sy
ii  libc6   2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libdbi-perl 1.51-2   Perl5 database interface by Tim Bu
ii  libgcc1 1:4.1.1-11   GCC support library
ii  libmysqlclient15off 5.0.24-3 mysql database client library
ii  libncurses5 5.5-2Shared libraries for terminal hand
ii  libreadline55.1-7GNU readline and history libraries
ii  libstdc++6  4.1.1-11 The GNU Standard C++ Library v3
ii  libwrap07.6.dbs-11   Wietse Venema's TCP wrappers libra
ii  mysql-client-5.05.0.24-3 mysql database client binaries
ii  mysql-common5.0.24-3 mysql database common files (e.g. 
ii  passwd  1:4.0.18.1-1 change and administer password and
ii  perl5.8.8-6.1Larry Wall's Practical Extraction 
ii  psmisc  22.3-1   Utilities that use the proc filesy
ii  zlib1g  1:1.2.3-13   compression library - runtime

Versions of packages mysql-server-5.0 recommends:
pn  mailx  (no description available)

-- debconf information:
  mysql-server-5.0/nis_warning:
  mysql-server-5.0/mysql_install_db_notes:
  mysql-server-5.0/postrm_remove_databases: false
  mysql-server-5.0/really_downgrade: false
  mysql-server-5.0/start_on_boot: true
  mysql-server-5.0/no_upgrade_with_isam_tables:


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