Skip to content
Commit 7a77117d authored by Jan Beich's avatar Jan Beich
Browse files

multimedia/baka-mplayer: unbreak under Wayland (with qt5-wayland)

$ baka-mplayer
Segmentation fault

* thread #1, name = 'baka-mplayer', stop reason = signal SIGBUS: hardware error
    frame #0: 0x0000000820df9a52 libX11.so.6`_XInternAtom(dpy=0x000000088683af00, name="_NET_WM_CM_S0", onlyIfExists=0, psig=0x000000082092bd70, pidx=0x000000082092bd6c, pn=0x000000082092bd68) at IntAtom.c:86:30
   83       if (atoms) {
   84           firstidx = idx = HASH(sig);
   85           while ((e = atoms->table[idx])) {
-> 86               if (e != RESERVED && e->sig == sig) {
   87                   for (i = n, s1 = (char *)name, s2 = EntryName(e); --i >= 0; ) {
   88                       if (*s1++ != *s2++)
   89                           goto nomatch;
(lldb) bt
* thread #1, name = 'baka-mplayer', stop reason = signal SIGBUS: hardware error
  * frame #0: 0x0000000820df9a52 libX11.so.6`_XInternAtom(dpy=0x000000088683af00, name="_NET_WM_CM_S0", onlyIfExists=0, psig=0x000000082092bd70, pidx=0x000000082092bd6c, pn=0x000000082092bd68) at IntAtom.c:86:30
    frame #1: 0x0000000820df97d9 libX11.so.6`XInternAtom(dpy=0x000000088683af00, name="_NET_WM_CM_S0", onlyIfExists=0) at IntAtom.c:176:17
    frame #2: 0x0000000000263695 baka-mplayer`Util::DimLightsSupported() at linux.cpp:28:14
    frame #3: 0x000000000026c71a baka-mplayer`BakaEngine::BakaEngine(this=0x00000008a964bd00, parent=0x000000082092fe10) at bakaengine.cpp:31:8
    frame #4: 0x00000000002b1739 baka-mplayer`MainWindow::MainWindow(this=0x000000082092fe10, parent=0x0000000000000000) at mainwindow.cpp:31:16
    frame #5: 0x00000000002648ec baka-mplayer`main(argc=1, argv=0x000000082092ff48) at main.cpp:21:16
    frame #6: 0x00000000002633a0 baka-mplayer`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7
parent d2956426
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment