Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh: segmentation fault (core dumped) voltrayke #5

Open
mxmilkiib opened this issue Aug 14, 2023 · 5 comments · May be fixed by #7
Open

zsh: segmentation fault (core dumped) voltrayke #5

mxmilkiib opened this issue Aug 14, 2023 · 5 comments · May be fixed by #7

Comments

@mxmilkiib
Copy link

mxmilkiib commented Aug 14, 2023

This happened after I changed from ALSA to PA, saved, then mousewheeled over the icon;

00:33:18 milk@red:~ 26s 130 % coredumpctl -1 info voltrayke
           PID: 159919 (voltrayke)
           UID: 1000 (milk)
           GID: 1000 (milk)
        Signal: 11 (SEGV)
     Timestamp: Tue 2023-08-15 00:33:01 BST (26s ago)
  Command Line: voltrayke
    Executable: /usr/bin/voltrayke
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (milk)
       Boot ID: 024e95e13b9f4982a515cde5358719b4
    Machine ID: 13e3e2ee85664436b5512c752462b86b
      Hostname: red
       Storage: /var/lib/systemd/coredump/core.voltrayke.1000.024e95e13b9f4982a515cde5358719b4.159919.1692055981000000.zst (present)
  Size on Disk: 4.5M
       Message: Process 159919 (voltrayke) of user 1000 dumped core.
                
                Stack trace of thread 159919:
                #0  0x0000560d150a2b51 n/a (voltrayke + 0xfb51)
                #1  0x00007f05d9699702 _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5 + 0x299702)
                #2  0x00007f05da37892f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17892f)
                #3  0x00007f05d969c6f8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29c6f8)
                #4  0x00007f05da37893f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17893f)
                #5  0x00007f05da37e864 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17e864)
                #6  0x00007f05d969c6f8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29c6f8)
                #7  0x00007f05da3cfbd6 n/a (libQt5Widgets.so.5 + 0x1cfbd6)
                #8  0x00007f05da37893f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17893f)
                #9  0x00007f05d969c6f8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29c6f8)
                #10 0x00007f05d9b45269 _ZN22QGuiApplicationPrivate17processWheelEventEPN29QWindowSystemInterfacePrivate10WheelEventE (libQt5Gui.so.5 + 0x145269)
                #11 0x00007f05d9b2a6c5 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x12a6c5)
                #12 0x00007f05d572f3e0 n/a (libQt5XcbQpa.so.5 + 0x653e0)
                #13 0x00007f05d830fa31 g_main_context_dispatch (libglib-2.0.so.0 + 0x5aa31)
                #14 0x00007f05d836ccc9 n/a (libglib-2.0.so.0 + 0xb7cc9)
                #15 0x00007f05d830d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2)
                #16 0x00007f05d96eb51c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2eb51c)
                #17 0x00007f05d969b404 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29b404)
                #18 0x00007f05d969c8a3 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x29c8a3)
                #19 0x0000560d150a001e main (voltrayke + 0xd01e)
                #20 0x00007f05d8c27cd0 n/a (libc.so.6 + 0x27cd0)
                #21 0x00007f05d8c27d8a __libc_start_main (libc.so.6 + 0x27d8a)
                #22 0x0000560d150a00b5 n/a (voltrayke + 0xd0b5)
                
                Stack trace of thread 159921:
                #0  0x00007f05d8d039df __poll (libc.so.6 + 0x1039df)
                #1  0x00007f05d8b5c26b n/a (libxcb.so.1 + 0xd26b)
                #2  0x00007f05d8b5dd1d xcb_wait_for_event (libxcb.so.1 + 0xed1d)
                #3  0x00007f05d572ced2 n/a (libQt5XcbQpa.so.5 + 0x62ed2)
                #4  0x00007f05d94f35da n/a (libQt5Core.so.5 + 0xf35da)
                #5  0x00007f05d8c8c9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007f05d8d1123c n/a (libc.so.6 + 0x11123c)
                
                Stack trace of thread 159920:
                #0  0x00007f05d8d039df __poll (libc.so.6 + 0x1039df)
                #1  0x00007f05d836cc2f n/a (libglib-2.0.so.0 + 0xb7c2f)
                #2  0x00007f05d830d0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2)
                #3  0x00007f05d96eb51c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2eb51c)
                #4  0x00007f05d969b404 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29b404)
                #5  0x00007f05d94f73b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf73b6)
                #6  0x00007f05d5ae9a9a n/a (libQt5DBus.so.5 + 0x18a9a)
                #7  0x00007f05d94f35da n/a (libQt5Core.so.5 + 0xf35da)
                #8  0x00007f05d8c8c9eb n/a (libc.so.6 + 0x8c9eb)
                #9  0x00007f05d8d1123c n/a (libc.so.6 + 0x11123c)
                ELF object binary architecture: AMD x86-64
@redtide
Copy link
Collaborator

redtide commented Aug 15, 2023

Does this only happen after the mouse wheel commit (could you please try reproducing it with the previous commit)?
Unrelated: which panel do you use for the systray?

@redtide
Copy link
Collaborator

redtide commented Mar 18, 2024

Still present after replacing QSystemTrayIcon with the SNI library, but the issue is about a nullptr for an AudioDevice instance (device.hpp L50, volume() getter).
This crash doesn't happen if changing volume from the slider, which does nothing.

@mxmilkiib
Copy link
Author

Forgot to reply before: fwiw; the notification area systray that's integrated in AwesomeWM. (Also fwiw, afaik, Polybar is probably the most used bar app, given most X WMs don't have an integrated bar)

@redtide
Copy link
Collaborator

redtide commented Mar 18, 2024

I heard about it, but not tried, still using X11 on Openbox, I'm waiting for LXQt to support Wayland on next release, then switch WM to LabWC and continue to use lxqt-panel.
I see this module, see polybar/polybar#913 and polybar/polybar#2010

@SnAgCu
Copy link

SnAgCu commented May 20, 2024

The problem is the configuration dialog saves the index of the combo as the engineId, which isn't always true.
In my case, the combo has ALSA and PulseAudio, so it saves 1 if I select Pulseaudio, which is OSS in engineid.hpp.
If I manually write EngineId=2 in ~/.config/qtilities/VolTrayke.ini it works.

@SnAgCu SnAgCu linked a pull request May 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants