rsyslog crash on startup (segmentation violation due to NULL-pointer)

Bug #1509589 reported by halfdog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
New
Undecided
Unassigned

Bug Description

rsyslog won't start on fresh install of Ubuntu Wily

Starting program: /usr/sbin/rsyslogd -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000436400 in ?? ()
(gdb) bt
#0 0x0000000000436400 in ?? ()
#1 0x0000000000419605 in MsgSetRcvFrom ()
#2 0x0000000000445b24 in logmsgInternal ()
#3 0x00000000004223e6 in ?? ()
#4 0x00000000004225b7 in ?? ()
#5 0x0000000000438c68 in processCfSysLineCommand ()
#6 0x0000000000411014 in cfsysline ()
#7 0x000000000041469c in cnfDoCfsysline ()
#8 0x00000000004546f0 in yylex ()
#9 0x0000000000451463 in yyparse ()
#10 0x0000000000412ef7 in ?? ()
#11 0x0000000000413ef4 in load ()
#12 0x00000000004464d7 in initAll ()
#13 0x000000000040d990 in main ()

(gdb) disassemble $rip-0x20,$rip+0x40
Dump of assembler code from 0x4363e0 to 0x436440:
   0x00000000004363e0 <propDebugPrint+0>: mov %rdi,%rsi
   0x00000000004363e3 <propDebugPrint+3>: lea 0x312e6(%rip),%rdi # 0x4676d0
   0x00000000004363ea <propDebugPrint+10>: sub $0x8,%rsp
   0x00000000004363ee <propDebugPrint+14>: xor %eax,%eax
   0x00000000004363f0 <propDebugPrint+16>: callq 0x422ff0 <dbgprintf>
   0x00000000004363f5 <propDebugPrint+21>: xor %eax,%eax
   0x00000000004363f7 <propDebugPrint+23>: add $0x8,%rsp
   0x00000000004363fb <propDebugPrint+27>: retq
   0x00000000004363fc: nopl 0x0(%rax)
=> 0x0000000000436400: lock addl $0x1,0x10(%rdi)
   0x0000000000436405: xor %eax,%eax
   0x0000000000436407: retq
   0x0000000000436408: nopl 0x0(%rax,%rax,1)
   0x0000000000436410: push %r12
   0x0000000000436412: push %rbp

(gdb) info registers
rax 0x0 0
rbx 0x0 0
rcx 0x0 0
rdx 0x6ad05d 7000157
rsi 0x0 0
rdi 0x0 0

# lsb_release -rd
Description: Ubuntu 15.10
Release: 15.10
# dpkg -S /usr/sbin/rsyslogd
rsyslog: /usr/sbin/rsyslogd
# apt-cache policy rsyslog
rsyslog:
  Installed: 8.12.0-1ubuntu2
  Candidate: 8.12.0-1ubuntu2
  Version table:
 *** 8.12.0-1ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.