Bug 427257 - Cannot open kmplayer on Wayland. It crashes.
Summary: Cannot open kmplayer on Wayland. It crashes.
Status: RESOLVED DUPLICATE of bug 412422
Alias: None
Product: kmplayer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Koos Vriezen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-10-02 16:33 UTC by Patrick Silva
Modified: 2020-11-01 13:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-02 16:33:35 UTC
Application: kmplayer ("0.12.0b")

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-47-generic x86_64
Windowing system: Wayland
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
tried to open kmplayer on Wayland session, Plasma shown crash notification.

The crash can be reproduced every time.

-- Backtrace:
Application: KMPlayer (kmplayer), signal: Segmentation fault
Content of s_kcrashErrorMessage: (null)
[New LWP 11860]
[New LWP 11862]
[New LWP 11863]
[New LWP 11864]
[New LWP 11865]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc4c6eb9aff in __GI___poll (fds=fds@entry=0x7ffcec94f6a8, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fc4c1057e80 (LWP 11859))]

Thread 6 (Thread 0x7fc4b6ffd700 (LWP 11865)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a74544e1b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a74544e168, cond=0x55a74544e190) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a74544e190, mutex=0x55a74544e168) at pthread_cond_wait.c:638
#3  0x00007fc4bc9f897b in cnd_wait (mtx=0x55a74544e168, cond=0x55a74544e190) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55a745558e90) at ../src/util/u_queue.c:275
#5  0x00007fc4bc9f858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fc4c3e2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc4c6ec6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fc4b77fe700 (LWP 11864)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a74544e1b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a74544e168, cond=0x55a74544e190) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a74544e190, mutex=0x55a74544e168) at pthread_cond_wait.c:638
#3  0x00007fc4bc9f897b in cnd_wait (mtx=0x55a74544e168, cond=0x55a74544e190) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55a74539ed80) at ../src/util/u_queue.c:275
#5  0x00007fc4bc9f858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fc4c3e2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc4c6ec6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc4af7fe700 (LWP 11863)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a74544e1b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a74544e168, cond=0x55a74544e190) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a74544e190, mutex=0x55a74544e168) at pthread_cond_wait.c:638
#3  0x00007fc4bc9f897b in cnd_wait (mtx=0x55a74544e168, cond=0x55a74544e190) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55a7454679e0) at ../src/util/u_queue.c:275
#5  0x00007fc4bc9f858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fc4c3e2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc4c6ec6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc4b7fff700 (LWP 11862)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a74544e1b8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a74544e168, cond=0x55a74544e190) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a74544e190, mutex=0x55a74544e168) at pthread_cond_wait.c:638
#3  0x00007fc4bc9f897b in cnd_wait (mtx=0x55a74544e168, cond=0x55a74544e190) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55a7457babc0) at ../src/util/u_queue.c:275
#5  0x00007fc4bc9f858b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fc4c3e2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc4c6ec6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc4bfd06700 (LWP 11860)):
#0  0x00007fc4c6eb9aff in __GI___poll (fds=0x7fc4b8005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc4c351c1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc4c351c2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4c53d8eab in QEventDispatcherGlib::processEvents (this=0x7fc4b8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc4c537d1bb in QEventLoop::exec (this=this@entry=0x7fc4bfd05bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fc4c519b082 in QThread::exec (this=this@entry=0x7fc4c4a16d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fc4c4993f2b in QDBusConnectionManager::run (this=0x7fc4c4a16d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007fc4c519c20c in QThreadPrivate::start (arg=0x7fc4c4a16d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007fc4c3e2d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc4c6ec6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc4c1057e80 (LWP 11859)):
[KCrash Handler]
#6  0x00007fc4c4dab738 in xcb_get_setup () from /lib/x86_64-linux-gnu/libxcb.so.1
#7  0x00007fc4c6d590ae in KMPlayer::ViewerAreaPrivate::screen_of_display (this=0x55a74526d7c0, num=0, c=0x0) at ./src/viewarea.cpp:1836
#8  KMPlayer::ViewerAreaPrivate::createSurface (h=381, w=640, this=0x55a74526d7c0) at ./src/viewarea.cpp:1797
#9  KMPlayer::ViewArea::syncVisual (this=0x55a74527df80) at ./src/viewarea.cpp:2055
#10 0x00007fc4c6d5ab96 in KMPlayer::ViewArea::timerEvent (this=0x55a74527df80, e=<optimized out>) at ./src/viewarea.cpp:2319
#11 0x00007fc4c53ac045 in QObject::event (this=this@entry=0x55a74527df80, e=e@entry=0x7ffcec950430) at kernel/qobject.cpp:1336
#12 0x00007fc4c5efad5d in QWidget::event (this=0x55a74527df80, event=0x7ffcec950430) at kernel/qwidget.cpp:9088
#13 0x00007fc4c5eb7cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55a74513be50, receiver=receiver@entry=0x55a74527df80, e=e@entry=0x7ffcec950430) at kernel/qapplication.cpp:3671
#14 0x00007fc4c5ec0c70 in QApplication::notify (this=0x7ffcec950760, receiver=0x55a74527df80, e=0x7ffcec950430) at kernel/qapplication.cpp:3417
#15 0x00007fc4c537e6aa in QCoreApplication::notifyInternal2 (receiver=0x55a74527df80, event=0x7ffcec950430) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007fc4c53d81e0 in QTimerInfoList::activateTimers (this=0x55a74516a090) at kernel/qtimerinfo_unix.cpp:643
#17 0x00007fc4c53d8acc in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#18 0x00007fc4c351bfbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fc4c351c240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fc4c351c2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fc4c53d8e92 in QEventDispatcherGlib::processEvents (this=0x55a74515e430, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007fc4c537d1bb in QEventLoop::exec (this=this@entry=0x7ffcec950670, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#23 0x00007fc4c5385354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x00007fc4c57a1d10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#25 0x00007fc4c5eb7c39 in QApplication::exec () at kernel/qapplication.cpp:2811
#26 0x00007fc4c6fd3a45 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:94
#27 0x00007fc4c6dcb0b3 in __libc_start_main (main=0x55a743a36060 <main>, argc=1, argv=0x7ffcec9508a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcec950898) at ../csu/libc-start.c:308
#28 0x000055a743a3609e in _start ()
[Inferior 1 (process 11859) detached]

Possible duplicates by query: bug 412422, bug 260249.

Reported using DrKonqi
Comment 1 Christoph Feck 2020-11-01 13:35:33 UTC
*** This bug has been marked as a duplicate of bug 412422 ***