Bug 434561

Summary: Kamoso crashed when using droidcam as webca
Product: [Applications] kamoso Reporter: Arman Safikhani <arman1371>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: REPORTED ---    
Severity: crash CC: nate, phd
Priority: NOR Keywords: drkonqi
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: gl-create.py

Description Arman Safikhani 2021-03-17 19:50:45 UTC
Application: kamoso (20.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.4.0-66-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.2
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
- What I was doing when the application crashed:
Just ran droidcam to use my cellphone as webcam, then opened Kamoso to check if it's working and it crashed everytime I tried.
It was working before (I suspect it happens after I updated my neon packages)

- Custom settings of the application:

None, just using droidcam

The crash can be reproduced every time.

-- Backtrace:
Application: Kamoso (kamoso), signal: Aborted

[New LWP 1574923]
[New LWP 1574924]
[New LWP 1574925]
[New LWP 1574926]
[New LWP 1574927]
[New LWP 1574928]
[New LWP 1574929]
[New LWP 1574930]
[New LWP 1574931]
[New LWP 1574932]
[New LWP 1574933]
[New LWP 1574934]
[New LWP 1574935]
[New LWP 1574936]
[New LWP 1574937]
[New LWP 1574938]
[New LWP 1574939]
[New LWP 1574940]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f69f1802aff in __GI___poll (fds=0x7ffe0b0f9d28, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f69edaf98c0 (LWP 1574922))]

Thread 19 (Thread 0x7f69b4ff9700 (LWP 1574940)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69f39ba307 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7f69b57fa700 (LWP 1574939)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1afd517 in  () at /lib/x86_64-linux-gnu/libgstapp-1.0.so.0
#3  0x00007f69e434d4dd in  () at /lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#4  0x00007f69e43505bc in  () at /lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#5  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#6  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f69b5ffb700 (LWP 1574938)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69f39ba307 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#3  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f69b67fc700 (LWP 1574937)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1a08e46 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#3  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f69b6ffd700 (LWP 1574936)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1a08e46 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#3  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f69b77fe700 (LWP 1574935)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1a08e46 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#3  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f69b7fff700 (LWP 1574934)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1a08e46 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#3  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f69d0a7d700 (LWP 1574933)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1a08e46 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#3  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f69d127e700 (LWP 1574932)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f69f387e623 in g_cond_wait () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69d1a08e46 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
#3  0x00007f69f39ba107 in  () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4  0x00007f69f385b374 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f69d236f700 (LWP 1574931)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f69d236ec50, clockid=<optimized out>, expected=0, futex_word=0x555e3cca2f04) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f69d236ec50, clockid=<optimized out>, mutex=0x555e3cca2eb0, cond=0x555e3cca2ed8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555e3cca2ed8, mutex=0x555e3cca2eb0, abstime=0x7f69d236ec50) at pthread_cond_wait.c:656
#3  0x00007f69f1bb0ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1bae1f1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f69d2b70700 (LWP 1574930)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f69d2b6fc50, clockid=<optimized out>, expected=0, futex_word=0x555e3cca2b34) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f69d2b6fc50, clockid=<optimized out>, mutex=0x555e3cca2ae0, cond=0x555e3cca2b08) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555e3cca2b08, mutex=0x555e3cca2ae0, abstime=0x7f69d2b6fc50) at pthread_cond_wait.c:656
#3  0x00007f69f1bb0ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1bae1f1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f69d3371700 (LWP 1574929)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f69d3370c50, clockid=<optimized out>, expected=0, futex_word=0x555e3cca7884) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f69d3370c50, clockid=<optimized out>, mutex=0x555e3cca7830, cond=0x555e3cca7858) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555e3cca7858, mutex=0x555e3cca7830, abstime=0x7f69d3370c50) at pthread_cond_wait.c:656
#3  0x00007f69f1bb0ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1bae1f1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f69d3b72700 (LWP 1574928)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f69d3b71c50, clockid=<optimized out>, expected=0, futex_word=0x555e3cc8f784) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f69d3b71c50, clockid=<optimized out>, mutex=0x555e3cc8f730, cond=0x555e3cc8f758) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555e3cc8f758, mutex=0x555e3cc8f730, abstime=0x7f69d3b71c50) at pthread_cond_wait.c:656
#3  0x00007f69f1bb0ce8 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1bae1f1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f69de0f5700 (LWP 1574927)):
#0  __GI___libc_read (nbytes=16, buf=0x7f69de0f4bd0, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=18, buf=0x7f69de0f4bd0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f69f3879b2f in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f69f3830ebe in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f69f3831312 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f69f38316f3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f69ec07d1e2 in  () at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so
#7  0x00007f69f385aad1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f69e567e700 (LWP 1574926)):
#0  0x00007f69f1802aff in __GI___poll (fds=0x7f69d4005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f69f383136e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69f38314a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f69f1deaffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1d8f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1ba9a52 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f3622fa9 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f69e6dee700 (LWP 1574925)):
#0  0x00007f69f1802aff in __GI___poll (fds=0x7f69d8004630, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f69f383136e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69f38314a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f69f1deaffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1d8f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1ba9a52 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f3622fa9 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f69e7fff700 (LWP 1574924)):
#0  0x00007f69f1802aff in __GI___poll (fds=0x7f69e0004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f69f383136e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f69f38314a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f69f1deaffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f69f1d8f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f1ba9a52 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f69f0cc7f4b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f69ecf38700 (LWP 1574923)):
#0  0x00007f69f1802aff in __GI___poll (fds=0x7f69ecf37be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f69efddbc1a in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f69efddd90a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f69ed469d58 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f69f1baabec in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f69f0c89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f69f180f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f69edaf98c0 (LWP 1574922)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f69f1712859 in __GI_abort () at abort.c:79
#6  0x00007f69f1b6fbf7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f69f3da941e in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f69f3daab72 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f69f3dabddb in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f69f2233e1d in QWindow::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007f69f3e3aaab in QQuickWindow::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f69f291ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f69f2926bb8 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f69f1d906da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f69f2229823 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f69f2229a5b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f69f22017ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f69ed46ad7e in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007f69f383117d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f69f3831400 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f69f38314a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f69f1deafe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f69f1d8f1eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f69f1d97394 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x0000555e3bf01cd0 in  ()
#26 0x00007f69f17140b3 in __libc_start_main (main=0x555e3bf01850, argc=3, argv=0x7ffe0b0fb2e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe0b0fb2d8) at ../csu/libc-start.c:308
#27 0x0000555e3bf01f2e in  ()
[Inferior 1 (process 1574922) detached]

Possible duplicates by query: bug 429344, bug 427384, bug 424911, bug 423951, bug 423222.

Reported using DrKonqi
Comment 1 Nate Graham 2021-03-17 23:19:49 UTC
> QSGRenderLoop::handleContextCreationFailure
Urgh I thought this was fixed by https://invent.kde.org/frameworks/kdeclarative/commit/090610124d4650150af49a8e30f6b77ad9803dfe in Frameworks 5.78. :( I guess it must be a different graphics driver issue...
Comment 2 phd 2021-03-18 00:14:58 UTC
Created attachment 136802 [details]
gl-create.py

1.

Does this issue still occur after reboot?

2.

If it does repeat, try this:
    $ QT_QUICK_BACKEND=software kamoso
Does this fix the crash and allows Kamoso to start properly?

3.

After the crash occurs, please run the attached gl-create.py Python script:
    $ python3 gl-create.py
and tell us what the output was:
    QOpenGLContext::create() == ???
Comment 3 phd 2021-03-18 00:31:24 UTC
@Nate Graham

From my very initial investigation,
https://invent.kde.org/frameworks/kdeclarative/commit/090610124d4650150af49a8e30f6b77ad9803dfe
could in fact fix this.
But Kamoso does not use KQuickAddons::QtQuickSettings::init(),
so it is simply not affected by this workaround.
That should be easy to fix.

If this is indeed the issue here, we should probably ensure that all other
QtQuick apps also use that function during their initialization (typically
in main()).

I will wait for a reply from Arman Safikhani though, because that should
clarify the situation a bit.
Comment 4 phd 2021-03-18 00:58:16 UTC
Side note:

>Qt Version: 5.15.2
>Frameworks Version: 5.79.0
>Operating System: Linux 5.4.0-66-generic x86_64
>Windowing System: X11
>Drkonqi Version: 5.21.2
>Distribution: KDE neon User Edition 5.21
>[...]
>Reported using DrKonqi

It could be very useful for DrKonqi to include some more info about the system.
Namely:
1. the graphical driver in use
2. OpenGL availability at the moment of the crash (see gl-create.py script)
Comment 5 Nate Graham 2021-03-18 15:54:09 UTC
(In reply to phd from comment #3)
> @Nate Graham
> 
> From my very initial investigation,
> https://invent.kde.org/frameworks/kdeclarative/commit/
> 090610124d4650150af49a8e30f6b77ad9803dfe
> could in fact fix this.
> But Kamoso does not use KQuickAddons::QtQuickSettings::init(),
> so it is simply not affected by this workaround.
> That should be easy to fix.
> 
> If this is indeed the issue here, we should probably ensure that all other
> QtQuick apps also use that function during their initialization (typically
> in main()).
100% agreed.
Comment 6 Aleix Pol 2021-03-30 15:00:22 UTC
FWIW, there's some issues in the backend (pipewire) when using droidcam. JFYI. Not that Kamoso should ever crash.

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/294