[systemd-bugs] [Bug 55231] New: systemd-logind: sigsegv: "src/login/logind-seat.c", line=347 in in vasprintf (__ap=<optimized out>, __fmt=0xfc <Address 0xfc out of bounds> ...

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 22 22:43:07 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55231

             Bug #: 55231
           Summary: systemd-logind: sigsegv:  "src/login/logind-seat.c",
                    line=347 in  in vasprintf (__ap=<optimized out>,
                    __fmt=0xfc <Address 0xfc out of bounds> ...
    Classification: Unclassified
           Product: systemd
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: systemd-bugs at lists.freedesktop.org
        ReportedBy: public.avatar at gmail.com
         QAContact: systemd-bugs at lists.freedesktop.org


Created attachment 67570
  --> https://bugs.freedesktop.org/attachment.cgi?id=67570
Binary, core, debuginfo

GCC 4.7.1, 4.5.4
Systemd: 190, 191

> cat /var/tmp/systemd-logind.backtrace 
[New LWP 2012]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/lib/systemd/systemd-logind'.
Program terminated with signal 11, Segmentation fault.
#0  0xb74f0923 in strchrnul () from /lib/libc.so.6
#0  0xb74f0923 in strchrnul () from /lib/libc.so.6
#1  0xb74b3ace in vfprintf () from /lib/libc.so.6
#2  0xb7573c42 in __vasprintf_chk () from /lib/libc.so.6
#3  0xb770507a in vasprintf (__ap=<optimized out>, __fmt=0xfc <Address 0xfc out
of bounds>, __ptr=0xbf852d64) at /usr/include/bits/stdio2.h:199
#4  log_struct_internal (level=<optimized out>, file=0xb770d291
"src/login/logind-seat.c", line=347, func=0xb7712c58 <__func__.8672>
"seat_start", format=0xfc <Address 0xfc out of bounds>) at src/shared/log.c:709
#5  0xb76f8131 in seat_start (s=0xb826a3f8) at src/login/logind-seat.c:343
#6  0xb76f0199 in manager_process_seat_device (m=0xb8269008, d=0xb82714d8) at
src/login/logind.c:397
#7  0xb76f038f in manager_enumerate_devices (m=0xb8269008) at
src/login/logind.c:475
#8  0xb76f2007 in manager_startup (m=0xb8269008) at src/login/logind.c:1480
#9  0xb76f2661 in main (argc=<optimized out>, argv=<error reading variable:
Cannot access memory at address 0x2529>) at src/login/logind.c:1653

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the systemd-bugs mailing list