Your message dated Sun, 08 Feb 2009 00:32:09 +0000
with message-id <[email protected]>
and subject line Bug#509292: fixed in rsyslog 3.18.6-4
has caused the Debian Bug report #509292,
regarding rsyslog: random crashes on multi core machines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
509292: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsyslog
Version: 3.18.5-1
Severity: critical
Justification: causes serious data loss

Hello,

I have noticed that rsyslog randomly crashes with remote logging 
(client) enabled. This happens almost once a day and all log messages 
are lost until rsyslog is started again. I don't know if this is related 
to remote logging but all my other installations with no remote logging 
work fine.

Normally there is nothing special in the log files when rsyslog crashes 
and I have not been able to find out the cause. Today I noticed the 
following:

*** syslog
*** glibc detected *** /usr/sbin/rsyslogd: malloc(): memory corruption (fast): 
0x00007f633001d33f ***
======= Backtrace: =========
/lib/libc.so.6[0x7f63378c3948]
/lib/libc.so.6[0x7f63378c667f]
/lib/libc.so.6(__libc_malloc+0x98)[0x7f63378c7a78]
/usr/sbin/rsyslogd(rsCStrGetSzStr+0x5d)[0x414b1d]
/usr/sbin/rsyslogd(rsCStrConvSzStrAndDestruct+0x24)[0x414cc4]
/usr/sbin/rsyslogd(logmsg+0x50c)[0x40ba4c]
/usr/sbin/rsyslogd(printline+0xed)[0x40be8d]
/usr/sbin/rsyslogd(parseAndSubmitMessage+0x126)[0x40c046]
/usr/lib/rsyslog/imuxsock.so[0x7f633703b2d5]
/usr/lib/rsyslog/imuxsock.so[0x7f633703b4a7]
/usr/sbin/rsyslogd[0x416470]
/lib/libpthread.so.0[0x7f6337fb6fc7]
/lib/libc.so.6(clone+0x6d)[0x7f633791f5ad]
======= Memory map: ========
00400000-0043b000 r-xp 00000000 fd:02 49160                              
/usr/sbin/rsyslogd
0063a000-0063e000 rw-p 0003a000 fd:02 49160                              
/usr/sbin/rsyslogd
0063e000-0063f000 rw-p 0063e000 00:00 0 
02058000-0211f000 rw-p 02058000 00:00 0                                  [heap]
408ed000-408ee000 ---p 408ed000 00:00 0 
408ee000-410ee000 rw-p 408ee000 00:00 0 
410ee000-410ef000 ---p 410ee000 00:00 0 
410ef000-418ef000 rw-p 410ef000 00:00 0 
41b14000-41b15000 ---p 41b14000 00:00 0 
41b15000-42315000 rw-p 41b15000 00:00 0 
42315000-42316000 ---p 42315000 00:00 0 
42316000-42b16000 rw-p 42316000 00:00 0 
7f6328000000-7f6328021000 rw-p 7f6328000000 00:00 0 
7f6328021000-7f632c000000 ---p 7f6328021000 00:00 0 
7f6330000000-7f6330021000 rw-p 7f6330000000 00:00 0 
7f6330021000-7f6334000000 ---p 7f6330021000 00:00 0 
7f6336c1c000-7f6336c32000 r-xp 00000000 fd:00 8226                       
/lib/libgcc_s.so.1
7f6336c32000-7f6336e32000 ---p 00016000 fd:00 8226                       
/lib/libgcc_s.so.1
7f6336e32000-7f6336e33000 rw-p 00016000 fd:00 8226                       
/lib/libgcc_s.so.1
7f6336e33000-7f6336e38000 r-xp 00000000 fd:02 73841                      
/usr/lib/rsyslog/imklog.so
7f6336e38000-7f6337038000 ---p 00005000 fd:02 73841                      
/usr/lib/rsyslog/imklog.so
7f6337038000-7f6337039000 rw-p 00005000 fd:02 73841                      
/usr/lib/rsyslog/imklog.so
7f6337039000-7f633703a000 rw-p 7f6337039000 00:00 0 
7f633703a000-7f633703c000 r-xp 00000000 fd:02 73834                      
/usr/lib/rsyslog/imuxsock.so
7f633703c000-7f633723c000 ---p 00002000 fd:02 73834                      
/usr/lib/rsyslog/imuxsock.so
7f633723c000-7f633723d000 rw-p 00002000 fd:02 73834                      
/usr/lib/rsyslog/imuxsock.so
7f633723d000-7f633723f000 r-xp 00000000 fd:02 73833                      
/usr/lib/rsyslog/lmtcpclt.so
7f633723f000-7f633743e000 ---p 00002000 fd:02 73833                      
/usr/lib/rsyslog/lmtcpclt.so
7f633743e000-7f633743f000 rw-p 00001000 fd:02 73833                      
/usr/lib/rsyslog/lmtcpclt.so
7f633743f000-7f6337449000 r-xp 00000000 fd:00 8447                       
/lib/libnss_files-2.7.so
7f6337449000-7f6337649000 ---p 0000a000 fd:00 8447                       
/lib/libnss_files-2.7.so
7f6337649000-7f633764b000 rw-p 0000a000 fd:00 8447                       
/lib/libnss_files-2.7.so
7f633764b000-7f633764f000 r-xp 00000000 fd:02 73832                      
/usr/lib/rsyslog/lmnet.so
7f633764f000-7f633784f000 ---p 00004000 fd:02 73832                      
/usr/lib/rsyslog/lmnet.so
7f633784f000-7f6337850000 rw-p 00004000 fd:02 73832                      
/usr/lib/rsyslog/lmnet.so
7f6337850000-7f633799a000 r-xp 00000000 fd:00 8459                       
/lib/libc-2.7.so
7f633799a000-7f6337b99000 ---p 0014a000 fd:00 8459                       
/lib/libc-2.7.so
7f6337b99000-7f6337b9c000 r--p 00149000 fd:00 8459                       
/lib/libc-2.7.so
7f6337b9c000-7f6337b9e000 rw-p 0014c000 fd:00 8459                       
/lib/libc-2.7.so
7f6337b9e000-7f6337ba3000 rw-p 7f6337b9e000 00:00 0 
7f6337ba3000-7f6337bab000 r-xp 00000000 fd:00 8498                       
/lib/librt-2.7.so
7f6337bab000-7f6337daa000 ---p 00008000 fd:00 8498                       
/lib/librt-2.7.so
7f6337daa000-7f6337dac000 rw-p 00007000 fd:00 8498                       
/lib/librt-2.7.so
7f6337dac000-7f6337dae000 r-xp 00000000 fd:00 8496                       
/lib/libdl-2.7.so
7f6337dae000-7f6337fae000 ---p 00002000 fd:00 8496                       
/lib/libdl-2.7.so
7f6337fae000-7f6337fb0000 rw-p 00002000 fd:00 8496                       
/lib/libdl-2.7.so
7f6337fb0000-7f6337fc6000 r-xp 00000000 fd:00 8442                       
/lib/libpthread-2.7.so
7f6337fc6000-7f63381c6000 ---p 00016000 fd:00 8442                       
/lib/libpthread-2.7.so
7f63381c6000-7f63381c8000 rw-p 00016000 fd:00 8442                       
/lib/libpthread-2.7.so
7f63381c8000-7f63381cc000 rw-p 7f63381c8000 00:00 0 
7f63381cc000-7f63381e2000 r-xp 00000000 fd:02 58672                      
/usr/lib/libz.so.1.2.3.3
7f63381e2000-7f63383e2000 ---p 00016000 fd:02 58672                      
/usr/lib/libz.so.1.2.3.3
7f63383e2000-7f63383e3000 rw-p 00016000 fd:02 58672                      
/usr/lib/libz.so.1.2.3.3
7f63383e3000-7f63383ff000 r-xp 00000000 fd:00 8495                       
/lib/ld-2.7.so
7f63385f3000-7f63385f6000 rw-p 7f63385f3000 00:00 0 
7f63385fa000-7f63385fe000 rw-p 7f63385fa000 00:00 0 
7f63385fe000-7f6338600000 rw-p 0001b000 fd:00 8495                       
/lib/ld-2.7.so
7fff405ea000-7fff405ff000 rw-p 7ffffffea000 00:00 0                      [stack]
7fff405ff000-7fff40600000 r-xp 7fff405ff000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]



Here's my rsyslog.conf and remote logging configuration in 
/etc/rsyslog.d/remote-logging.conf:

*** rsyslog.conf
#  /etc/rsyslog.conf    Configuration file for rsyslog v3.
#
#                       For more information see 
#                       /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html


#################
#### MODULES ####
#################

$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support (previously done by rklogd) 
#$ModLoad immark  # provides --MARK-- message capability

# provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514

# provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514


###########################
#### GLOBAL DIRECTIVES ####
###########################

#
# Use default timestamp format.
# To enable high precision timestamps, comment out the following line.
#
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

#
# Set the default permissions for all log files.
#
$FileOwner root
$FileGroup adm
$FileCreateMode 0640

#
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf


###############
#### RULES ####
###############

#
# First some standard log files.  Log by facility.
#
auth,authpriv.*                 /var/log/auth.log
*.*;auth,authpriv.none          -/var/log/syslog
#cron.*                         /var/log/cron.log
daemon.*                        -/var/log/daemon.log
kern.*                          -/var/log/kern.log
lpr.*                           -/var/log/lpr.log
mail.*                          -/var/log/mail.log
user.*                          -/var/log/user.log

#
# Logging for the mail system.  Split it up so that
# it is easy to write scripts to parse these files.
#
mail.info                       -/var/log/mail.info
mail.warn                       -/var/log/mail.warn
mail.err                        /var/log/mail.err

#
# Logging for INN news system.
#
news.crit                       /var/log/news/news.crit
news.err                        /var/log/news/news.err
news.notice                     -/var/log/news/news.notice

#
# Some "catch-all" log files.
#
*.=debug;\
        auth,authpriv.none;\
        news.none;mail.none     -/var/log/debug
*.=info;*.=notice;*.=warn;\
        auth,authpriv.none;\
        cron,daemon.none;\
        mail,news.none          -/var/log/messages

#
# Emergencies are sent to everybody logged in.
#
*.emerg                         *

#
# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
#
#daemon,mail.*;\
#       news.=crit;news.=err;news.=notice;\
#       *.=debug;*.=info;\
#       *.=notice;*.=warn       /dev/tty8

# The named pipe /dev/xconsole is for the `xconsole' utility.  To use it,
# you must invoke `xconsole' with the `-file' option:
# 
#    $ xconsole -file /dev/xconsole [...]
#
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
#      busy site..
#
daemon.*;mail.*;\
        news.err;\
        *.=debug;*.=info;\
        *.=notice;*.=warn       |/dev/xconsole

*** remote-logging.conf
$WorkDirectory /var/log/work  # default location for work (spool) files

$ActionQueueType LinkedList   # use asynchronous processing
$ActionQueueFileName srvrfwd  # set file name, also enables disk mode
$ActionResumeRetryCount -1    # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
*.*       @@hostname.removed:514


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rsyslog depends on:
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages rsyslog recommends:
ii  logrotate                     3.7.1-5    Log rotation utility

Versions of packages rsyslog suggests:
pn  rsyslog-doc                   <none>     (no description available)
pn  rsyslog-mysql | rsyslog-pgsql <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: rsyslog
Source-Version: 3.18.6-4

We believe that the bug you reported is fixed in the latest version of
rsyslog, which is due to be installed in the Debian FTP archive:

rsyslog-doc_3.18.6-4_all.deb
  to pool/main/r/rsyslog/rsyslog-doc_3.18.6-4_all.deb
rsyslog-mysql_3.18.6-4_i386.deb
  to pool/main/r/rsyslog/rsyslog-mysql_3.18.6-4_i386.deb
rsyslog-pgsql_3.18.6-4_i386.deb
  to pool/main/r/rsyslog/rsyslog-pgsql_3.18.6-4_i386.deb
rsyslog_3.18.6-4.diff.gz
  to pool/main/r/rsyslog/rsyslog_3.18.6-4.diff.gz
rsyslog_3.18.6-4.dsc
  to pool/main/r/rsyslog/rsyslog_3.18.6-4.dsc
rsyslog_3.18.6-4_i386.deb
  to pool/main/r/rsyslog/rsyslog_3.18.6-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated rsyslog package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


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

Format: 1.8
Date: Sun, 08 Feb 2009 00:54:39 +0100
Source: rsyslog
Binary: rsyslog rsyslog-doc rsyslog-mysql rsyslog-pgsql
Architecture: source all i386
Version: 3.18.6-4
Distribution: unstable
Urgency: medium
Maintainer: Michael Biebl <[email protected]>
Changed-By: Michael Biebl <[email protected]>
Description: 
 rsyslog    - enhanced multi-threaded syslogd
 rsyslog-doc - documentation for rsyslog
 rsyslog-mysql - MySQL output plugin for rsyslog
 rsyslog-pgsql - PostgreSQL output plugin for rsyslog
Closes: 484083 509292 512663 513589
Changes: 
 rsyslog (3.18.6-4) unstable; urgency=medium
 .
   * debian/patches/message_locking_fix.patch
     - Proper message locking on message destruct to avoid a race condition
       which could lead to a segfault. Closes: #509292
       Patch cherry-picked from upstream git.
   * Urgency medium for the RC bug fix.
   * Use the dbconfig-common template mechanism to generate the configuration
     files for rsyslog-mysql and rsyslog-pgsql. This not only simplifies
     postinst quite a bit, but also makes sure we don't read any unset debconf
     values. Closes: #513589
   * debian/README.Debian
     - Add notes about the Debian specific configuration of rsyslog and outline
       some of the changes between rsyslog and sysklogd which should ease the
       migration. Closes: #484083
     - Add instructions how to avoid doubled hostname entries when sending
       syslog messages from rsyslog to a sysklogd server. Closes: #512663
Checksums-Sha1: 
 aca07ad712bcd54271d16562a18b22cb31ea1fcb 1227 rsyslog_3.18.6-4.dsc
 3c84e59594e4eeaba7752aee65f6cbdb5fc5f869 21460 rsyslog_3.18.6-4.diff.gz
 7de74f95539adb727f15d80b5c9f16af20b74eee 229796 rsyslog-doc_3.18.6-4_all.deb
 8903d9a9dcb5054e2202b671a389309d9dbb7da4 168696 rsyslog_3.18.6-4_i386.deb
 7ffbc9c5b3155334ac18a2a28ddcdb93acb7ca54 12356 rsyslog-mysql_3.18.6-4_i386.deb
 ab95b13ae8d0064766fc62c4f5e56e619de9294f 12108 rsyslog-pgsql_3.18.6-4_i386.deb
Checksums-Sha256: 
 95626d3136fad95cdcf62aa2324bd4e924df328257c571ad2701225f6c51e404 1227 
rsyslog_3.18.6-4.dsc
 624f5b9bdb8cfadf627bd64cb1a9b79cbe346723337c2684a249f05d0f365855 21460 
rsyslog_3.18.6-4.diff.gz
 90f1fa86cac33cb650035778d9e875a21cd9f5fdabc8fc29954508ed06f3d072 229796 
rsyslog-doc_3.18.6-4_all.deb
 41b82a6c4dd367ff36992d9c62fb72d890ceca2c9eb21c4e8934ce8bdd14167b 168696 
rsyslog_3.18.6-4_i386.deb
 25d1dd9588e7752b578ca8199c66f5b7f1d189952c1d5379d7aec629cab4ec08 12356 
rsyslog-mysql_3.18.6-4_i386.deb
 4b6a4ec966067f7dd70da5c72bc23245f9eb46245642cd64cf0d843e9b985023 12108 
rsyslog-pgsql_3.18.6-4_i386.deb
Files: 
 04d410dc6eaa3ac6c936eafb556fb913 1227 admin important rsyslog_3.18.6-4.dsc
 87165a982b800aac73c68ed9576d9e49 21460 admin important rsyslog_3.18.6-4.diff.gz
 7dd89674856dc252ddc9147bdadb961c 229796 doc extra rsyslog-doc_3.18.6-4_all.deb
 0b7b1ed221713c0765eaa46d516eedb6 168696 admin important 
rsyslog_3.18.6-4_i386.deb
 1eebc8f7f755e95e358d9d32cc34ae2a 12356 admin extra 
rsyslog-mysql_3.18.6-4_i386.deb
 9e63e99548a549c6e81cc9fbef8fbf87 12108 admin extra 
rsyslog-pgsql_3.18.6-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmOJQ4ACgkQh7PER70FhVQfLgCgvFTSGOTJ4do4oYz8Dvw77Qwe
r1AAoLjBTY1h/8HJtDDgQGvVS4nmSAbn
=6mU/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to