https://bugs.kde.org/show_bug.cgi?id=431911

            Bug ID: 431911
           Summary: kstars crashes with logitech QC3K webcam
           Product: kstars
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: james.barbot...@gmail.com
  Target Milestone: ---

Application: kstars (3.5.1 Stable)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-62-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: Kstars, -> Ekos -> INDI
control panel.
was trying to configure a Logitech QC4000 USB webcamera.
have tried the V4L2_ccd driver, it allows streaming, but not individual images
(unable to set manual exposure controls)
was trying the 'remote host' version of INDI_webcam and having issues getting
it to load.
was trying 'indi_usb_webcam' (I think that's how it is spelled)...  and when I
select it, the whole thing crashes (kstars/ekos/indi)

so.. here's a bug report.
help?

I know that these are rather old webcams to be trying to use, but I have 4 of
these Logitech QC webcams with the high-sensitivity Sony CMOS chip in them (one
modified for long exposure, the Steve Chambers mods) and was using them about
10 years ago for imaging (with software that is not around anymore, K3CCDTools,
which refuses to run under anything newer than Windows XP and will not process
my new Canon camera's 16mp image sizes).  
I am hoping to try using them now as a guide scope and am not having any luck
with getting anything other than a video stream out of them, which neither EKOS
or PHD2 will use for guiding.

The crash can be reproduced every time.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f00a67e9ac0 (LWP 54655))]

Thread 10 (Thread 0x7f0076dfa700 (LWP 54671)):
#0  __libc_read (nbytes=10, buf=0x7f0076df991e, fd=25) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __libc_read (fd=25, buf=0x7f0076df991e, nbytes=10) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f00a791a975 in pa_read () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007f00a9b25416 in pa_mainloop_prepare () from
/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f00a9b25eb4 in pa_mainloop_iterate () from
/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f00a9b25f70 in pa_mainloop_run () from
/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f00a9b3411d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f00a794972c in ?? () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f0091057700 (LWP 54666)):
#0  0x00007f00aafc2aff in __GI___poll (fds=0x7f006c0029e0, nfds=1,
timeout=7278) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f00aa9991ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f00aa9992e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f00abc9f583 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f00abc464db in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f00aba7e785 in QThread::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f00aba7f9d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#8  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f0091858700 (LWP 54662)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x563fd502d518) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563fd502d4c8,
cond=0x563fd502d4f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563fd502d4f0, mutex=0x563fd502d4c8) at
pthread_cond_wait.c:638
#3  0x00007f009d61eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f009d61e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f0092059700 (LWP 54661)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x563fd502d518) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563fd502d4c8,
cond=0x563fd502d4f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563fd502d4f0, mutex=0x563fd502d4c8) at
pthread_cond_wait.c:638
#3  0x00007f009d61eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f009d61e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f009285a700 (LWP 54660)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x563fd502d518) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563fd502d4c8,
cond=0x563fd502d4f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563fd502d4f0, mutex=0x563fd502d4c8) at
pthread_cond_wait.c:638
#3  0x00007f009d61eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f009d61e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f009305b700 (LWP 54659)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x563fd502d518) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563fd502d4c8,
cond=0x563fd502d4f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563fd502d4f0, mutex=0x563fd502d4c8) at
pthread_cond_wait.c:638
#3  0x00007f009d61eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f009d61e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f009d058700 (LWP 54658)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x563fd513fe4c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x563fd513fdf8,
cond=0x563fd513fe20) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x563fd513fe20, mutex=0x563fd513fdf8) at
pthread_cond_wait.c:638
#3  0x00007f009d61eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f009d61e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f00a4b03700 (LWP 54657)):
#0  __libc_read (nbytes=16, buf=0x7f00a4b028a0, fd=7) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __libc_read (fd=7, buf=0x7f00a4b028a0, nbytes=16) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f00aa9e189f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f00aa998cfe in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f00aa999152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f00aa9992e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f00abc9f583 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f00abc464db in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f00aba7e785 in QThread::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f00ad457efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f00aba7f9d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#12 0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f00a5932700 (LWP 54656)):
#0  0x00007f00aafc2aff in __GI___poll (fds=0x7f00a59319e8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f00a9c09c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f00a9c0b90a in xcb_wait_for_event () from
/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f00a613d298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f00aba7f9d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f00acb9b609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f00aafcf293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f00a67e9ac0 (LWP 54655)):
[KCrash Handler]
#6  0x0000563fd3d25911 in INDI::Property::getRegistered() const ()
#7  0x0000563fd36bbd70 in INDIListener::registerProperty (this=0x563fd8796a80,
prop=0x7f0060048f80) at ./kstars/indi/indilistener.cpp:235
#8  0x00007f00abc73d5a in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f00ac661a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f00ac66b0f0 in QApplication::notify(QObject*, QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f00abc4793a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f00abc4a5b8 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f00abc9ff67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f00aa998fbd in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f00aa999240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f00aa9992e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f00abc9f565 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f00abc464db in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f00abc4e246 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x0000563fd3415dbc in main (argc=<optimized out>, argv=<optimized out>) at
./kstars/main.cpp:349
[Inferior 1 (process 54655) detached]

Possible duplicates by query: bug 431773, bug 431077, bug 430722, bug 430698,
bug 429973.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to