Bug 412422 - kmplayer crashes right on start
Summary: kmplayer crashes right on start
Status: CONFIRMED
Alias: None
Product: kmplayer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Koos Vriezen
URL:
Keywords: drkonqi, wayland-only
: 427257 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-28 17:18 UTC by Felix
Modified: 2021-08-28 10:47 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (2.61 KB, text/plain)
2021-04-05 06:57 UTC, 554555116
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix 2019-09-28 17:18:23 UTC
Application: kmplayer ("0.12.0b")

Qt Version: 5.13.1
Frameworks Version: 5.62.0
Operating System: Linux 5.3.1-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I have just installed kmplayer and mplayer on arch linux. Then, I have tried to start kmplayer, to only get a segfault.

The crash can be reproduced every time.

-- Backtrace:
Application: KMPlayer (kmplayer), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7ae82e5e80 (LWP 23911))]

Thread 3 (Thread 0x7f7adffff700 (LWP 23914)):
#0  0x00007f7aec00e415 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f7ae4ac9f5c in ?? () from /usr/lib/dri/i965_dri.so
#2  0x00007f7ae4ac9b58 in ?? () from /usr/lib/dri/i965_dri.so
#3  0x00007f7aec00857f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f7aeee050e3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7ae6c7c700 (LWP 23912)):
#0  0x00007f7aeedfa667 in poll () from /usr/lib/libc.so.6
#1  0x00007f7aeb496130 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f7aeb496201 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f7aed4f9a1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f7aed4a04ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f7aed2d2385 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f7aecad9b37 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f7aed2d35b0 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f7aec00857f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f7aeee050e3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7ae82e5e80 (LWP 23911)):
[KCrash Handler]
#6  0x00007f7aecee7148 in xcb_get_setup () from /usr/lib/libxcb.so.1
#7  0x00007f7aeecba6d7 in KMPlayer::ViewArea::syncVisual() () from /usr/lib/libkmplayercommon.so
#8  0x00007f7aeecbc267 in KMPlayer::ViewArea::timerEvent(QTimerEvent*) () from /usr/lib/libkmplayercommon.so
#9  0x00007f7aed4ce3e5 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007f7aede9f08b in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f7aede5b4f5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f7aede64e11 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f7aed4a19c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f7aed4f8d9d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#15 0x00007f7aed4f9632 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007f7aeb4943ae in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007f7aeb4961c1 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f7aeb496201 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f7aed4f9a03 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x00007f7aed4a04ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#21 0x00007f7aed4a8326 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#22 0x00007f7aeef02c70 in kdemain () from /usr/lib/libkdeinit5_kmplayer.so
#23 0x00007f7aeed2fee3 in __libc_start_main () from /usr/lib/libc.so.6
#24 0x000055ae427b805e in _start ()
[Inferior 1 (process 23911) detached]

Reported using DrKonqi
Comment 1 Christoph Feck 2019-10-24 10:53:26 UTC
Are you using a Wayland session?
Comment 2 Felix 2019-10-24 12:23:16 UTC
(In reply to Christoph Feck from comment #1)
> Are you using a Wayland session?

Indeed, I was.
Felix
Comment 3 Christoph Feck 2019-10-24 13:14:47 UTC
KMPlayer hasn't been ported to Wayland. I haven't investigated why it needs to use low-level X11 calls for visuals, but until those are ported, it depends on X11.
Comment 4 Christoph Feck 2020-11-01 13:35:33 UTC
*** Bug 427257 has been marked as a duplicate of this bug. ***
Comment 5 554555116 2021-04-05 06:57:03 UTC
Created attachment 137340 [details]
New crash information added by DrKonqi

kmplayer ("0.12.0b") using Qt 5.15.2

- What I was doing when the application crashed:

When I have tried to start kmplayer, I only get a segfault.

-- Backtrace (Reduced):
#4  0x00007fd7f2dd7838 in xcb_get_setup () from /lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007fd7f4c07f8e in KMPlayer::ViewerAreaPrivate::screen_of_display (this=0x555f3984f0d0, num=0, c=0x0) at ./src/viewarea.cpp:1836
#6  KMPlayer::ViewerAreaPrivate::createSurface (h=385, w=640, this=0x555f3984f0d0) at ./src/viewarea.cpp:1797
#7  KMPlayer::ViewArea::syncVisual (this=0x555f394a7540) at ./src/viewarea.cpp:2055
#8  0x00007fd7f4c099f6 in KMPlayer::ViewArea::timerEvent (this=0x555f394a7540, e=<optimized out>) at ./src/viewarea.cpp:2319
Comment 6 empyreal 2021-08-28 10:47:06 UTC
Installed on Kubuntu 21.04 from official repository - Version "0.12.0b"
Does not start from programs menu but starts from Konsole $kmplayer

We have working basic Kaffeine player. Why waste time on another basic player? Dear developers, please, put efforts into one good video player for KDE and save human resources. Deprecate dead-end projects, let they mature outside KDE.