https://bugs.kde.org/show_bug.cgi?id=476272

            Bug ID: 476272
           Summary: Creating multiple bookmarks crashes D-Bus
    Classification: Plasma
           Product: plasma-browser-integration
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Firefox
          Assignee: k...@privat.broulik.de
          Reporter: yule2...@live.com
  Target Milestone: ---

Created attachment 162688
  --> https://bugs.kde.org/attachment.cgi?id=162688&action=edit
Full journalctl log with terminated processes and D-Bus connection failures

SUMMARY
When I create multiple bookmarks and folders on my Bookmarks Bar while the
Browser Integration extension is active, most processes including Firefox would
suddenly terminate and the current session becomes unusable. It was caused by
D-Bus Daemon crashing and restarting due to a stack smashing error.

STEPS TO REPRODUCE
1. Open Firefox with Plasma Browser Integration extension installed
2. Unhide the Bookmarks Bar if it's hidden
3. Create bookmarks and/or folders using the right-click menu multiple times
until Firefox crashes

OBSERVED RESULT
Most apps and processes including Firefox, plasmashell, and even KWin would
crash. If there are no more windows left, the screen would end up black with
the mouse cursor only one visible. I was able to move my mouse, which indicated
that X11 or the display did not freeze.

EXPECTED RESULT
Nothing crashes

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Graphics Platform: X11
Firefox Version: 119.0
Browser Integration Version: 1.8.1
D-Bus Daemon Version: 1.14.10
plasma-browser-integration Package Version: 5.27.9-1

ADDITIONAL INFORMATION
After the crashes, I switched to a TTY, kill the graphical session, and was
able to log back as if nothing happened.

I found these journal logs at the time of the crash, which helped me determine
what made many apps and processes (i.e., those that communicate with D-Bus) in
the current session crash:

Oct 28 16:33:02 pbngtower1 dbus-daemon[905]: *** stack smashing detected ***:
terminated
Oct 28 16:33:02 pbngtower1 systemd[1]: Started Process Core Dump (PID 98204/UID
0).
Oct 28 16:33:02 pbngtower1 systemd-coredump[98205]: Process 905 (dbus-daemon)
of user 1000 dumped core.

                                                    Stack trace of thread 905:
                                                    #0  0x00007f99123fd83c n/a
(libc.so.6 + 0x8e83c)
                                                    #1  0x00007f99123ad668
raise (libc.so.6 + 0x3e668)
                                                    #2  0x00007f99123954b8
abort (libc.so.6 + 0x264b8)
                                                    #3  0x00007f9912396390 n/a
(libc.so.6 + 0x27390)
                                                    #4  0x00007f991248db4b
__fortify_fail (libc.so.6 + 0x11eb4b)
                                                    #5  0x00007f991248ee56
__stack_chk_fail (libc.so.6 + 0x11fe56)
                                                    #6  0x00007f99126befaf n/a
(libdbus-1.so.3 + 0x1dfaf)
                                                    #7  0x00007ffd4f3b2c90 n/a
(n/a + 0x0)
                                                    #8  0x00007f99126efdf0 n/a
(libdbus-1.so.3 + 0x4edf0)
                                                    ELF object binary
architecture: AMD x86-64
Oct 28 16:33:02 pbngtower1 systemd[1]: systemd-coredump@1-98204-0.service:
Deactivated successfully.
Oct 28 16:33:02 pbngtower1 systemd[885]: dbus.service: Main process exited,
code=dumped, status=6/ABRT
Oct 28 16:33:02 pbngtower1 systemd[885]: dbus.service: Failed with result
'core-dump'.
Oct 28 16:33:02 pbngtower1 systemd[885]: dbus.service: Consumed 52.797s CPU
time.
Oct 28 16:33:02 pbngtower1 systemd[885]: xdg-permission-store.service: Main
process exited, code=exited, status=1/FAILURE
Oct 28 16:33:02 pbngtower1 systemd[885]: xdg-permission-store.service: Failed
with result 'exit-code'.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to