Bug 1998488 - coredumpctl info output is truncated in F35
Summary: coredumpctl info output is truncated in F35
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-27 11:15 UTC by Matt Fagnani
Modified: 2021-11-14 09:55 UTC (History)
11 users (show)

Fixed In Version: systemd-249.5-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-14 09:55:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2021-08-27 11:15:10 UTC
Description of problem:

I upgraded a Fedora 34 KDE Plasma installation to Fedora 35 on 2021-8-9. coredumpctl info output is truncated after 65-67 lines for all crashes I've looked at which happened in F35. The trace isn't shown as a result. There are many lines like Found module linux-vdso.so.1 with build-id: 39cc100280e796bc67203eb524322b66e9db1981 which I guess might be related to the debuginfod enablement in F35 https://fedoraproject.org/wiki/Changes/DebuginfodByDefault I first noticed this problem with systemd-249.2-1.fc35.x86_64, and it still happens with systemd-249.4-1.fc35. The following crash of xdg-desktop-portal-kde happened when I logged out of Plasma on Wayland, and the coredumpctl info output was cut off after "Found module" as for the other crashes.

           PID: 8102 (xdg-desktop-por)
           UID: 1000 (matt)
           GID: 1000 (matt)
        Signal: 6 (ABRT)
     Timestamp: Thu 2021-08-26 12:00:28 EDT (6h ago)
  Command Line: /usr/libexec/xdg-desktop-portal-kde
    Executable: /usr/libexec/xdg-desktop-portal-kde
 Control Group: /user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.freedesktop.impl.portal.desktop.kde
          Unit: user
     User Unit: dbus-:1.2-org.freedesktop.impl.portal.desktop.kde
         Slice: user-1000.slice
     Owner UID: 1000 (matt)
       Boot ID: ddee6af4149c4a9eadf47f318c4580af
    Machine ID: ...
      Hostname: localhost.localdomain
       Storage: /var/lib/systemd/coredump/core.xdg-desktop-por.1000.ddee6af4149c4a9eadf47f318c4580af.8102.1629993628000000.zst (present)
     Disk Size: 1.0M
       Message: Process 8102 (xdg-desktop-por) of user 1000 dumped core.
                
                Found module linux-vdso.so.1 with build-id: 39cc100280e796bc67203eb524322b66e9db1981
                Found module libuuid.so.1 with build-id: 2dee14d2566e86111e3f0a235ad58a0f27b8f826
                Found module libxcb-util.so.1 with build-id: 9accdd80596ded2148195cd23d6f56262440214d
                Found module libxkbcommon-x11.so.0 with build-id: c3759d4c0d93620d6fcaf1cf860f1157bd04f4eb
                Found module libICE.so.6 with build-id: 322afa55205247e8243671021f23846fbaeb9c21
                Found module libSM.so.6 with build-id: 66be9db349cf0e0925db17296fcddae2ee5b9999
                Found module libxcb-xinput.so.0 with build-id: c896104301f4b9aad081fd0ce993a0768c371a3e
                Found module libxcb-xkb.so.1 with build-id: 90e440e5d8244a9d0a543896d1f615f661628ad2
                Found module libxcb-xinerama.so.0 with build-id: d6e17a6236c3d52378cbc203901b2d264e38d2ee
                Found module libxcb-xfixes.so.0 with build-id: 445ec83da19adc83dbe0e8b8fc781561cd23893f
                Found module libxcb-sync.so.1 with build-id: 921c84206950693d473798baffea1bc7321c8f60
                Found module libxcb-shape.so.0 with build-id: cc87005fedca0f9aa9841e8c3408bbfbdc3dd501
                Found module libxcb-render.so.0 with build-id: 36edcc5980076552c68ccef2c6199808cba68f98
                Found module libxcb-render-util.so.0 with build-id: 50ee35ba6a0755541d4d0cee605e9d5a58584f77
                Found module libxcb-randr.so.0 with build-id: 53b21b081d50a0732aad40c4ff4636b5796fb55d
                Found module libxcb-shm.so.0 with build-id: a31877f8ca8058df0005532a160d93a1104c5401
                Found module libxcb-image.so.0 with build-id: 694d1fef30f01cae1643ece321250d25b55e7f85
                Found module libxcb-icccm.so.4 with build-id: 59decb7148f6b6a7023986ae9bd9cc63a70f746b
                Found module libX11-xcb.so.1 with build-id: c9ad3de1db0ce5fadbbba3d0dfa3346777547678
                Found module libQt5XcbQpa.so.5 with build-id: a5845f272c0cf4128e24c09c40f12c8cad238b56
                Found module libqxcb.so with build-id: 4324170006226f6020492643d22337986d830715
                Found module libbrotlicommon.so.1 with build-id: 9e92a8ec2d9efe80ec86e04fba0549cd3202ebc4
                Found module libxml2.so.2 with build-id: 8f21e0bbe0106c5c5cd35859487dcc074b8f13bd
                Found module libgpg-error.so.0 with build-id: 42587ce26856ad15cf5630134f114599783477ed
                Found module libpcre2-8.so.0 with build-id: dbf58040a44903b428c4e68716aa4f45058ad650
                Found module libbrotlidec.so.1 with build-id: 57cb8a53e33f31a620f3739919414c0d00549f87
                Found module libxkbcommon.so.0 with build-id: b4e62b7842b16482af72f1a678831eaa19db4762
                Found module libfontconfig.so.1 with build-id: e50d477be88a082f6a2fd42a7db8278bb88466ca
                Found module libwayland-cursor.so.0 with build-id: 3df8fa12f532612fc50f17938906c434e86106ad
                Found module libresolv.so.2 with build-id: c3ee256ed346b02548ae2f720d14666e51d27e8f
                Found module libkeyutils.so.1 with build-id: 2560a16099ad1875f7ea2195ae25b97ea168a758
                Found module libkrb5support.so.0 with build-id: 03649849c4d1813c307624a711b03fb15e7124cb
                Found module libcom_err.so.2 with build-id: a1d791cd7600f5609702a895a64d9131d1cd7b8f
                Found module libk5crypto.so.3 with build-id: 11238d51059ecf299699dc4d24a74e67a64aa725
                Found module libkrb5.so.3 with build-id: 0582e999cc7d74e1ec2dc7b3c9f7aa4dae7342f6
                Found module libusbmuxd-2.0.so.6 with build-id: 827b916672da07bf776ac9ad6d0625c07bf29477
                Found module libogg.so.0 with build-id: 714c2b8484f85a852e216c4fc4bb2cf92872f37e
                Found module libvorbis.so.0 with build-id: d3aece982a2dfdf9f412b5fc8a4dc88722bde200
                Found module libbz2.so.1 with build-id: 19ce300b78962ee0b113afb0f1016727a2f3c37b
                Found module libpcre.so.1 with build-id: fcbdb4731e50f20a47b62341a6841dd616fe495d
                Found module libicudata.so.69 with build-id: fae0a612a5535b81eaec823e8cedb06c89719d94
                Found module libgcrypt.so.20 with build-id: 711d41580c5a8649a79a8430a985dac3e25b5ba2
                Found module libcap.so.2 with build-id: 0214aa9cc6a8646eb9ec27ab7dda6a2219da6500
                Found module liblz4.so.1 with build-id: fd02c4542a1ce1ad6c503b958447be1c37a4afee
                Found module libzstd.so.1 with build-id: c594c701d8f5ba174a5be306973fa9803d65e327
                Found module liblzma.so.5 with build-id: 7fec53ce7cba9489f130c99cfd3ace82e9dde0ee
                Found module libselinux.so.1 with build-id: 104040a9146de3345eebd544f253ad4f9f6cc8c7
                Found module


Version-Release number of selected component (if applicable):
systemd-249.4-1.fc35
gdb-10.2-6.fc35

How reproducible:
The coredumpctl info output has been truncated for all of the crashes generated in F35 I've looked at.

Steps to Reproduce:
1. Boot a Fedora 35 KDE Plasma installation updated to 2021-8-26 with updates-testing enabled
2. Log in to Plasma on Wayland
3. Make a program crash which would create a core dump. abrt-dbus crashed when I logged out of Plasma, shut down, or rebooted with glib2-2.69.2-1.fc35 as an example https://bugzilla.redhat.com/show_bug.cgi?id=1997315
4. start konsole
5. coredumpctl info

Actual results:
coredumpctl info output is truncated in F35

Expected results:
coredumpctl info would show the full output with the trace.

Additional info:
coredumpctl gdb and journalctl showed the full output of each crash in F35.

Comment 1 Zbigniew Jędrzejewski-Szmek 2021-10-12 17:25:24 UTC
Oh, I see the issue. I suspect it's something trivial like the output routine truncating the log message.

Comment 2 Zbigniew Jędrzejewski-Szmek 2021-10-12 17:49:30 UTC
https://github.com/systemd/systemd/pull/20992


Note You need to log in before you can comment on or make changes to this bug.