You are not logged in.

#1 2014-11-28 16:36:38

yousry
Member
Registered: 2014-11-28
Posts: 17
Website

coredumpctl coredumps on its own coredump :~-(

Please excuse this stupid question but "almighty google" has problems to find links to sentences with recurrent structure.

My systeminfo is:

Linux GarAus 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux

and my systemd folder looks actually like this:

[134] yousry@GarAus> ls -lt /var/lib/systemd/coredump                                                                                                                                     
insgesamt 472460
-rw-r-----+ 1 root root    73211 28. Nov 17:05 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6889.1417190748000000.lz4
-rw-r-----+ 1 root root    73317 28. Nov 17:05 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6887.1417190748000000.lz4
-rw-r-----+ 1 root root    73390 28. Nov 17:05 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6885.1417190747000000.lz4
-rw-r-----+ 1 root root    73323 28. Nov 17:03 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6855.1417190618000000.lz4

if I try to debug the last coredump with

coredumpctl gdb

I get an ugly stack smashing:

yousry@GarAus> coredumpctl gdb                                                                                                                                                            
           PID: 7299 (coredumpctl)
           UID: 1000 (yousry)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Fr 2014-11-28 17:22:46 CET (11s ago)
  Command Line: coredumpctl gdb
    Executable: /usr/bin/coredumpctl
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (yousry)
       Boot ID: 41e5176f889441929a1e6f2140a9fb88
    Machine ID: fd7c3d7a1dc2498e882c12e8c25400e1
      Hostname: GarAus
      Coredump: /var/lib/systemd/coredump/core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.7299.1417191766000000.lz4
       Message: Process 7299 (coredumpctl) of user 1000 dumped core.

*** stack smashing detected ***: coredumpctl terminated
======= Backtrace: =========
/usr/lib64/libc.so.6(+0x7361e)[0x7f80655dd61e]
/usr/lib64/libc.so.6(__fortify_fail+0x37)[0x7f8065662c77]
/usr/lib64/libc.so.6(__fortify_fail+0x0)[0x7f8065662c40]
coredumpctl(+0xc340)[0x7f8066670340]
coredumpctl(+0x52b8)[0x7f80666692b8]
/usr/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f806558a040]
coredumpctl(+0x567c)[0x7f806666967c]
======= Memory map: ========
7f8060bfd000-7f8060c13000 r-xp 00000000 08:05 35419847                   /usr/lib/libgcc_s.so.1
7f8060c13000-7f8060e12000 ---p 00016000 08:05 35419847                   /usr/lib/libgcc_s.so.1
7f8060e12000-7f8060e13000 rw-p 00015000 08:05 35419847                   /usr/lib/libgcc_s.so.1
7f8060e13000-7f8060e1e000 r-xp 00000000 08:05 35392811                   /usr/lib/libnss_files-2.20.so
7f8060e1e000-7f806101e000 ---p 0000b000 08:05 35392811                   /usr/lib/libnss_files-2.20.so
7f806101e000-7f806101f000 r--p 0000b000 08:05 35392811                   /usr/lib/libnss_files-2.20.so
7f806101f000-7f8061020000 rw-p 0000c000 08:05 35392811                   /usr/lib/libnss_files-2.20.so
7f8061020000-7f8061660000 r--s 00000000 08:05 46671573                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000cee8-000508d7cc806c8b.journal
7f8061660000-7f8061ca0000 r--s 00000000 08:05 46661884                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000ad8e-000508d7762dc2f0.journal
7f8061ca0000-7f80624a0000 r--s 00000000 08:05 46662534                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-120.journal
7f80624a0000-7f8062ae0000 r--s 00000000 08:05 46671405                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-0000000000009ced-000508d761688330.journal
7f8062ae0000-7f8063120000 r--s 00000000 08:05 46671668                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-1000.journal
7f8063120000-7f8063760000 r--s 00000000 08:05 46671571                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000be49-000508d7b6018306.journal
7f8063760000-7f8063da0000 r--s 00000000 08:05 46671629                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000df80-000508d7d48a511b.journal
7f8063da0000-7f80643e0000 r--s 00000000 08:05 46661665                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system.journal
7f80643e0000-7f8064a20000 r--s 00000000 08:05 46671685                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-1000@10b23ba60c594eea9d52e01e8f251862-0000000000008e36-000508d6a109b0d7.journal
7f8064a20000-7f8065060000 r--s 00000000 08:05 46671660                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000f01b-000508d7e03c2a08.journal
7f8065060000-7f8065358000 r--p 00000000 08:05 35422454                   /usr/lib/locale/locale-archive
7f8065358000-7f8065369000 r-xp 00000000 08:05 35443880                   /usr/lib/libgpg-error.so.0.13.0
7f8065369000-7f8065568000 ---p 00011000 08:05 35443880                   /usr/lib/libgpg-error.so.0.13.0
7f8065568000-7f8065569000 r--p 00010000 08:05 35443880                   /usr/lib/libgpg-error.so.0.13.0
7f8065569000-7f806556a000 rw-p 00011000 08:05 35443880                   /usr/lib/libgpg-error.so.0.13.0
7f806556a000-7f8065704000 r-xp 00000000 08:05 35392857                   /usr/lib/libc-2.20.so
7f8065704000-7f8065903000 ---p 0019a000 08:05 35392857                   /usr/lib/libc-2.20.so
7f8065903000-7f8065907000 r--p 00199000 08:05 35392857                   /usr/lib/libc-2.20.so
7f8065907000-7f8065909000 rw-p 0019d000 08:05 35392857                   /usr/lib/libc-2.20.so
7f8065909000-7f806590d000 rw-p 00000000 00:00 0 
7f806590d000-7f8065924000 r-xp 00000000 08:05 35392818                   /usr/lib/libpthread-2.20.so
7f8065924000-7f8065b23000 ---p 00017000 08:05 35392818                   /usr/lib/libpthread-2.20.so
7f8065b23000-7f8065b24000 r--p 00016000 08:05 35392818                   /usr/lib/libpthread-2.20.so
7f8065b24000-7f8065b25000 rw-p 00017000 08:05 35392818                   /usr/lib/libpthread-2.20.so
7f8065b25000-7f8065b29000 rw-p 00000000 00:00 0 
7f8065b29000-7f8065b30000 r-xp 00000000 08:05 35392870                   /usr/lib/librt-2.20.so
7f8065b30000-7f8065d2f000 ---p 00007000 08:05 35392870                   /usr/lib/librt-2.20.so
7f8065d2f000-7f8065d30000 r--p 00006000 08:05 35392870                   /usr/lib/librt-2.20.so
7f8065d30000-7f8065d31000 rw-p 00007000 08:05 35392870                   /usr/lib/librt-2.20.so
7f8065d31000-7f8065e08000 r-xp 00000000 08:05 35436468                   /usr/lib/libgcrypt.so.20.0.2
7f8065e08000-7f8066008000 ---p 000d7000 08:05 35436468                   /usr/lib/libgcrypt.so.20.0.2
7f8066008000-7f8066009000 r--p 000d7000 08:05 35436468                   /usr/lib/libgcrypt.so.20.0.2
7f8066009000-7f8066012000 rw-p 000d8000 08:05 35436468                   /usr/lib/libgcrypt.so.20.0.2
7f8066012000-7f806601c000 r-xp 00000000 08:05 35436178                   /usr/lib/liblz4.so.1.4.0
7f806601c000-7f806621b000 ---p 0000a000 08:05 35436178                   /usr/lib/liblz4.so.1.4.0
7f806621b000-7f806621c000 r--p 00009000 08:05 35436178                   /usr/lib/liblz4.so.1.4.0
7f806621c000-7f806621d000 rw-p 0000a000 08:05 35436178                   /usr/lib/liblz4.so.1.4.0
7f806621d000-7f806623f000 r-xp 00000000 08:05 35399308                   /usr/lib/liblzma.so.5.0.7
7f806623f000-7f806643e000 ---p 00022000 08:05 35399308                   /usr/lib/liblzma.so.5.0.7
7f806643e000-7f806643f000 r--p 00021000 08:05 35399308                   /usr/lib/liblzma.so.5.0.7
7f806643f000-7f8066440000 rw-p 00022000 08:05 35399308                   /usr/lib/liblzma.so.5.0.7
7f8066440000-7f8066462000 r-xp 00000000 08:05 35392813                   /usr/lib/ld-2.20.so
7f806664f000-7f8066651000 rw-p 00000000 00:00 0 
7f8066651000-7f8066652000 r--s 00000000 08:05 46671573                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000cee8-000508d7cc806c8b.journal
7f8066652000-7f8066653000 r--s 00000000 08:05 46661884                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000ad8e-000508d7762dc2f0.journal
7f8066653000-7f8066654000 r--s 00000000 08:05 46662534                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-120.journal
7f8066654000-7f8066655000 r--s 00000000 08:05 46671405                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-0000000000009ced-000508d761688330.journal
7f8066655000-7f8066656000 r--s 00000000 08:05 46671668                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-1000.journal
7f8066656000-7f8066657000 r--s 00000000 08:05 46671571                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000be49-000508d7b6018306.journal
7f8066657000-7f8066658000 r--s 00000000 08:05 46671629                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000df80-000508d7d48a511b.journal
7f8066658000-7f8066659000 r--s 00000000 08:05 46661665                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system.journal
7f8066659000-7f806665a000 r--s 00000000 08:05 46671685                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-1000@10b23ba60c594eea9d52e01e8f251862-0000000000008e36-000508d6a109b0d7.journal
7f806665a000-7f806665b000 r--s 00000000 08:05 46671660                   /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system@040617d3ffe44921a58e370264ed49da-000000000000f01b-000508d7e03c2a08.journal
7f806665b000-7f8066661000 rw-p 00000000 00:00 0 
7f8066661000-7f8066662000 r--p 00021000 08:05 35392813                   /usr/lib/ld-2.20.so
7f8066662000-7f8066663000 rw-p 00022000 08:05 35392813                   /usr/lib/ld-2.20.so
7f8066663000-7f8066664000 rw-p 00000000 00:00 0 
7f8066664000-7f806667e000 r-xp 00000000 08:05 35443628                   /usr/bin/coredumpctl
7f806667f000-7f8066680000 r--p 0001a000 08:05 35443628                   /usr/bin/coredumpctl
7f8066680000-7f8066681000 rw-p 0001b000 08:05 35443628                   /usr/bin/coredumpctl
7f8066caf000-7f8066cd0000 rw-p 00000000 00:00 0                          [heap]
7fff6be7b000-7fff6be9c000 rw-p 00000000 00:00 0                          [stack]
7fff6bffc000-7fff6bffe000 r--p 00000000 00:00 0                          [vvar]
7fff6bffe000-7fff6c000000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
zsh: abort (core dumped)  coredumpctl gdb

Of curse the real reason is the crash of another small application. I'm using the default config of coredumpctl:   

[134] yousry@GarAus> cat /etc/systemd/coredump.conf                                                                                                                                       
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# See coredump.conf(5) for details

[Coredump]
#Storage=external
#Compress=yes
#ProcessSizeMax=2G
#ExternalSizeMax=2G
#JournalSizeMax=767M
#MaxUse=
#KeepFree=

Any help would be greatly appreciated!

TIA

Offline

#2 2014-11-28 17:20:17

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 41
Website

Re: coredumpctl coredumps on its own coredump :~-(

I too am experiencing this problem.  Additionally, I am also observing crashes in Firefox and Thunderbird.

Offline

#3 2014-11-28 17:29:07

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 41
Website

Re: coredumpctl coredumps on its own coredump :~-(

OK, it looks like the systemd-217-7 is broken.  Downgrading to systemd-216 helped.

Offline

#4 2014-11-28 18:05:36

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: coredumpctl coredumps on its own coredump :~-(

tsh wrote:

OK, it looks like the systemd-217-7 is broken.  Downgrading to systemd-216 helped.

Seems unlikely given what changes went into 217-7.

A backtrace would be useful. debug symbols can be grabbed from my repo

Offline

#5 2014-11-28 18:15:13

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: coredumpctl coredumps on its own coredump :~-(

hmm... I've experienced that as well, and from what I could tell it's related to lz4, specifically downgrading to lz4-123 fixed it for me. See https://bugs.archlinux.org/task/42944

Edit:

falconindy wrote:

A backtrace would be useful. debug symbols can be grabbed from my repo

Oh, that's what I've been looking for! Need to write that down. But there doesn't seem to be anything systemd-217-7 there, only up to 217-6?

Last edited by jjacky (2014-11-28 18:18:40)

Offline

#6 2014-11-28 18:59:20

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: coredumpctl coredumps on its own coredump :~-(

Sigh. I guess I forgot to push those debug packages for -7. Some day debug packages in the official repos will be a real thing...

Offline

#7 2014-11-30 10:50:34

yousry
Member
Registered: 2014-11-28
Posts: 17
Website

Re: coredumpctl coredumps on its own coredump :~-(

Thank you very much. With the latest update  everything works just fine.

Offline

Board footer

Powered by FluxBB