Application: kstars (3.5.4 Stable) Qt Version: 5.9.5 Frameworks Version: 5.44.0 Operating System: Linux 5.4.0-77-generic x86_64 Distribution: Ubuntu 18.04.5 LTS -- Information about the crash: - What I was doing when the application crashed: I tried manually debayering the FITS file in the viewer (same result using either menu File > Debayer, either using the CTRL+D shortcut) 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 0x7f6f3e73b680 (LWP 5138))] Thread 8 (Thread 0x7f6f06ba7700 (LWP 5149)): #0 0x00007f6f33a72854 in g_mutex_unlock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f6f33a2bee9 in g_main_context_query () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6f33a2c667 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6f33a2c7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f6f37e338ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f6f37dd890a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f6f37bf723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f6f37bfc17d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f6f392526db in start_thread (arg=0x7f6f06ba7700) at pthread_create.c:463 #9 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f6f0db93700 (LWP 5144)): #0 0x00007f6f39258ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f6f1c002f18) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 0x00007f6f39258ad3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f6f1c002ec8, cond=0x7f6f1c002ef0) at pthread_cond_wait.c:502 #2 0x00007f6f39258ad3 in __pthread_cond_wait (cond=0x7f6f1c002ef0, mutex=0x7f6f1c002ec8) at pthread_cond_wait.c:655 #3 0x00007f6f102cb9ab in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f6f102cb597 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f6f392526db in start_thread (arg=0x7f6f0db93700) at pthread_create.c:463 #6 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f6f07fff700 (LWP 5143)): #0 0x00007f6f39258ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f6f1c002f18) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 0x00007f6f39258ad3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f6f1c002ec8, cond=0x7f6f1c002ef0) at pthread_cond_wait.c:502 #2 0x00007f6f39258ad3 in __pthread_cond_wait (cond=0x7f6f1c002ef0, mutex=0x7f6f1c002ec8) at pthread_cond_wait.c:655 #3 0x00007f6f102cb9ab in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f6f102cb597 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f6f392526db in start_thread (arg=0x7f6f07fff700) at pthread_create.c:463 #6 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f6f0e394700 (LWP 5142)): #0 0x00007f6f39258ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f6f1c002f18) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 0x00007f6f39258ad3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f6f1c002ec8, cond=0x7f6f1c002ef0) at pthread_cond_wait.c:502 #2 0x00007f6f39258ad3 in __pthread_cond_wait (cond=0x7f6f1c002ef0, mutex=0x7f6f1c002ec8) at pthread_cond_wait.c:655 #3 0x00007f6f102cb9ab in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f6f102cb597 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f6f392526db in start_thread (arg=0x7f6f0e394700) at pthread_create.c:463 #6 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f6f0eb95700 (LWP 5141)): #0 0x00007f6f39258ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f6f1c002f18) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 0x00007f6f39258ad3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f6f1c002ec8, cond=0x7f6f1c002ef0) at pthread_cond_wait.c:502 #2 0x00007f6f39258ad3 in __pthread_cond_wait (cond=0x7f6f1c002ef0, mutex=0x7f6f1c002ec8) at pthread_cond_wait.c:655 #3 0x00007f6f102cb9ab in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007f6f102cb597 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007f6f392526db in start_thread (arg=0x7f6f0eb95700) at pthread_create.c:463 #6 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f6f1b246700 (LWP 5140)): #0 0x00007f6f36393cb9 in __GI___poll (fds=0x7f6f1401a460, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f6f33a2c6e9 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6f33a2c7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6f37e338ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f6f37dd890a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f6f37bf723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f6f3a577d45 in () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f6f37bfc17d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f6f392526db in start_thread (arg=0x7f6f1b246700) at pthread_create.c:463 #9 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f6f22210700 (LWP 5139)): #0 0x00007f6f36393cb9 in __GI___poll (fds=0x7f6f2220fc28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f6f3056f747 in () at /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f6f3057136a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f6f24fbd5e9 in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007f6f37bfc17d in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f6f392526db in start_thread (arg=0x7f6f22210700) at pthread_create.c:463 #6 0x00007f6f363a071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f6f3e73b680 (LWP 5138)): [KCrash Handler] #6 0x00007f6f3633a421 in __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:379 #7 0x00007f6f398f5b3f in mem_read () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #8 0x00007f6f398edf04 in ffread () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #9 0x00007f6f398e5bf8 in ffgbyt () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #10 0x00007f6f398e6187 in ffgi2b () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #11 0x00007f6f399572f1 in () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #12 0x00007f6f39957708 in ffgpvui () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #13 0x00007f6f39932a25 in ffgpv () at /usr/lib/x86_64-linux-gnu/libcfitsio.so.5 #14 0x000055cb2fd6f430 in FITSData::debayer(bool) (this=0x55cb380a3a10, reload=reload@entry=true) at ./kstars/fitsviewer/fitsdata.cpp:3311 #15 0x000055cb2fe8fc20 in FITSDebayer::applyDebayer() (this=0x7f6f1c0155a0) at ./kstars/fitsviewer/fitsdebayer.cpp:61 #16 0x00007f6f37e0966f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x00007f6f38c49ba2 in QAbstractButton::clicked(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007f6f38c49dba in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f6f38c4b19a in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f6f38c4b38d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f6f38b97048 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007f6f38b5883c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007f6f38b6065f in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007f6f37dda8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007f6f38b5f632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #26 0x00007f6f38bb216b in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #27 0x00007f6f38bb47da in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007f6f38b5883c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #29 0x00007f6f38b60104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #30 0x00007f6f37dda8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #31 0x00007f6f3839c583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #32 0x00007f6f3839e055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #33 0x00007f6f383752eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #34 0x00007f6f25022260 in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #35 0x00007f6f33a2c537 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007f6f33a2c770 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f6f33a2c7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007f6f37e3388f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007f6f37dd890a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #40 0x00007f6f37de19b4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #41 0x000055cb2fb8497a in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:387 Reported using DrKonqi
Can you post a link to the image you wanted to debayer so we can reproduce this?
sure, here it is: https://flavius.xyz/download/test.fits also, for what is worth, then i check auto debayer in options, THEN the debayer menu under file becomes enabled. if i untick auto debayer in options, then the debayer menu item is disabled. wasn't it suppose to be the other way around? maybe that's why i have the crash, i'm trying to debayer an already debayered image?
It's working fine here. How much RAM do you have? I suspect it could be a memory issue.
6GB
but what's the point of having the debayer menu option (ctrl+d) enabled when i also have auto-debayer enabled and the option disabled if i also disable auto-debayer?
Because you can manually de-bayer using different options. 6GB then most likely a memory related issue.
oh, i get it. so it's more of a "debayer again" option rather than a "manual debayer" i case i have auto-debayer turned off. how much ram will i need to use the option? auto-debayer works ok, no issues there...
just tested now, memory definitelly not an issue, 1.2GB used out of 6, hit debayer, crash
just found out now. if i open the image in kstars and debayer it (ctrl+d) it works. it only crashes in the fits viewer which opens after the capture with the capture result.
Please check against KStars 3.6.1 and report back.
(In reply to Jasem Mutlaq from comment #10) > Please check against KStars 3.6.1 and report back. still happening
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!