Rainer Gerhards wrote:
> Sorry for the late reply, been very busy. I tried to reproduce it on a
> current version of lenny today. I used the current debian_lenny rsyslog git
> branch.
> 
> My testing conf did not cause any problems so I used
> 
> $ModLoad /path/to/my/copy/of/imudp
> $UDPServerRun 514
> $UDPServerRun 515
> 
> Which also did not cause any issues. Looking at the code also does not reveal
> anything that is obvious wrong or at least questionable. 
> 
> So at this moment, I am stuck. A gdb backtrace or a debug log (or both ;))
> would probably be useful.
> 

Here is a debug log

# ./tools/rsyslogd -dn -c3

6582.418688683:main thread: Writing pidfile /var/run/rsyslogd.pid.
6582.419264734:main thread: rsyslog 3.22.0 - called init()
6582.419290435:main thread: Unloading non-static modules.
6582.419309432:main thread: module lmnet NOT unloaded because it still has a
refcount of 3
6582.419325915:main thread: Clearing templates.

6582.419406930:main thread: cfline: '$ModLoad imuxsock # provides support for
local system logging'
6582.419448835:main thread: Requested to load module 'imuxsock'

6582.419471184:main thread: loading module '/usr/lib/rsyslog/imuxsock.so'

6582.419619527:main thread: imuxsock version 3.22.0 initializing

6582.419696353:main thread: module of type 0 being loaded.

6582.419719540:main thread: cfline: '$ModLoad imklog   # provides kernel logging
support (previously done by rklogd)'

6582.419742727:main thread: Requested to load module 'imklog'

6582.419761166:main thread: loading module '/usr/lib/rsyslog/imklog.so'

6582.420051705:main thread: module of type 0 being loaded.

6582.420083553:main thread: cfline: '$ModLoad imudp'

6582.420105343:main thread: Requested to load module 'imudp'

6582.420157306:main thread: loading module '/usr/lib/rsyslog/imudp.so'

6582.420295871:main thread: source file imudp.c requested reference for module
'lmnet', reference count now 4
6582.420334703:main thread: module of type 0 being loaded.

6582.420356773:main thread: cfline: '$UDPServerRun 514'

6582.420384151:main thread: Trying to open syslog UDP ports at *:514.

6582.420705420:main thread: cfline: '$UDPServerRun 515'

6582.420738944:main thread: Trying to open syslog UDP ports at *:515.

6582.420866894:main thread: cfline: '$ActionFileDefaultTemplate
RSYSLOG_TraditionalFileFormat'
*** glibc detected *** ./tools/rsyslogd: malloc(): memory corruption: 0x08dc13d0
***
======= Backtrace: =========

/lib/i686/cmov/libc.so.6[0xb7e64e46]

/lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb7e66595]

./tools/rsyslogd[0x8060f80]

./tools/rsyslogd(rsCStrAppendChar+0x6c)[0x806103c]

./tools/rsyslogd[0x807386c]

./tools/rsyslogd[0x80738ba]

./tools/rsyslogd(processCfSysLineCommand+0x116)[0x8073696]

./tools/rsyslogd(cfsysline+0x53)[0x805a6e3]
./tools/rsyslogd[0x805a87b]
./tools/rsyslogd[0x805b213]
./tools/rsyslogd[0x805235f]
./tools/rsyslogd[0x805310f]
./tools/rsyslogd(realMain+0x1303)[0x80545a3]
./tools/rsyslogd(main+0x2f)[0x8054d5f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e09775]
./tools/rsyslogd[0x804fd51]
======= Memory map: ========
08048000-08083000 r-xp 00000000 08:07 16268832
/home/michael/git/rsyslog/tools/rsyslogd
08083000-08086000 rw-p 0003b000 08:07 16268832
/home/michael/git/rsyslog/tools/rsyslogd
08db7000-08dd8000 rw-p 08db7000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7da4000-b7dcf000 r-xp 00000000 08:06 51718      /lib/libgcc_s.so.1
b7dcf000-b7dd0000 rw-p 0002a000 08:06 51718      /lib/libgcc_s.so.1
b7df2000-b7df3000 rw-p b7df2000 00:00 0
b7df3000-b7f4d000 r-xp 00000000 08:06 8048       /lib/i686/cmov/libc-2.9.so
b7f4d000-b7f4f000 r--p 0015a000 08:06 8048       /lib/i686/cmov/libc-2.9.so
b7f4f000-b7f50000 rw-p 0015c000 08:06 8048       /lib/i686/cmov/libc-2.9.so
b7f50000-b7f53000 rw-p b7f50000 00:00 0
b7f53000-b7f5a000 r-xp 00000000 08:06 8158       /lib/i686/cmov/librt-2.9.so
b7f5a000-b7f5b000 r--p 00006000 08:06 8158       /lib/i686/cmov/librt-2.9.so
b7f5b000-b7f5c000 rw-p 00007000 08:06 8158       /lib/i686/cmov/librt-2.9.so
b7f5c000-b7f5e000 r-xp 00000000 08:06 8280       /lib/i686/cmov/libdl-2.9.so
b7f5e000-b7f5f000 r--p 00001000 08:06 8280       /lib/i686/cmov/libdl-2.9.so
b7f5f000-b7f60000 rw-p 00002000 08:06 8280       /lib/i686/cmov/libdl-2.9.so
b7f60000-b7f61000 rw-p b7f60000 00:00 0
b7f61000-b7f76000 r-xp 00000000 08:06 8168       
/lib/i686/cmov/libpthread-2.9.so
b7f76000-b7f77000 r--p 00014000 08:06 8168       
/lib/i686/cmov/libpthread-2.9.so
b7f77000-b7f78000 rw-p 00015000 08:06 8168       
/lib/i686/cmov/libpthread-2.9.so
b7f78000-b7f7a000 rw-p b7f78000 00:00 0
b7f7a000-b7f8e006582.422337472:main thread:



Signal 6 (SIGABRT) occured, execution must be terminated.



6582.422686399:main thread:
6582.422703161:main thread: Recorded Call Order for Thread 'main thread 
(b7df2940)':
6582.422719643:main thread: maximum number of nested calls for this thread: 0.
6582.422735567:main thread: NOTE: not all calls may have been recorded, code
does not currently guarantee that!
6582.422752329:main thread: Mutex log for all known mutex operations:
6582.422767974:main thread: If the call trace is empty, you may want to
./configure --enable-rtinst
6582.422783897:main thread:

To submit bug reports, visit http://www.rsyslog.com/bugs

6582.422802894:main thread:

To submit bug reports, visit http://www.rsyslog.com/bugs

Abgebrochen


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to