Bug 494132 - Skanlite aborts on start
Summary: Skanlite aborts on start
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 494928 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-04 18:10 UTC by Maxim Egorushkin
Modified: 2024-11-11 15:08 UTC (History)
6 users (show)

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


Attachments
Skanlite output in Konsole (4.52 KB, text/plain)
2024-10-04 18:10 UTC, Maxim Egorushkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Egorushkin 2024-10-04 18:10:54 UTC
Created attachment 174432 [details]
Skanlite output in Konsole

SUMMARY
Skanlite aborts on start. 

STEPS TO REPRODUCE
1. Start Skanlite from the application launcher or Konsole.

OBSERVED RESULT
Skanlite won't start:

max@supernova:~$ skanlite
warning: queue 0x5e26a4413560 destroyed while proxies still attached:
  wl_registry@34 still attached
ASSERT: "divisor < 0 || divisor > 0" in file /usr/include/x86_64-linux-gnu/qt6/QtCore/qpoint.h, line 271
Aborted (core dumped)

max@supernova:~$ gdb --args skanlite
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from skanlite...
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in skanlite)
(gdb) r
Starting program: /usr/bin/skanlite
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef800640 (LWP 568521)]
[New Thread 0x7fffedc00640 (LWP 568522)]
[New Thread 0x7fffed200640 (LWP 568523)]
warning: queue 0x5555557367a0 destroyed while proxies still attached:
  wl_registry@34 still attached
ASSERT: "divisor < 0 || divisor > 0" in file /usr/include/x86_64-linux-gnu/qt6/QtCore/qpoint.h, line 271

Thread 1 "skanlite" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737217546944) at ./nptl/pthread_kill.c:44
44      ./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737217546944) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737217546944) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737217546944, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff5442476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff54287f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff60fdbca in qAbort() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#6  0x00007ffff60f875a in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#7  0x00007ffff60fe56d in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#8  0x00007ffff60c2c82 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#9  0x00007ffff7d01921 in ?? () from /lib/x86_64-linux-gnu/libKSaneWidgets6.so.6
#10 0x00007ffff7d01a73 in ?? () from /lib/x86_64-linux-gnu/libKSaneWidgets6.so.6
#11 0x00007ffff7d0f630 in ?? () from /lib/x86_64-linux-gnu/libKSaneWidgets6.so.6
#12 0x00007ffff7d0b96c in ?? () from /lib/x86_64-linux-gnu/libKSaneWidgets6.so.6
#13 0x00007ffff7d12620 in KSaneIface::KSaneWidget::KSaneWidget(QWidget*) () from /lib/x86_64-linux-gnu/libKSaneWidgets6.so.6
#14 0x0000555555566f83 in ?? ()
#15 0x00007ffff5429d90 in __libc_start_call_main (main=main@entry=0x555555565fc0, argc=argc@entry=1, argv=argv@entry=0x7fffffffd8d8) at ../sysdeps/nptl/libc_start_call_main.h:58
#16 0x00007ffff5429e40 in __libc_start_main_impl (main=0x555555565fc0, argc=1, argv=0x7fffffffd8d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd8c8) at ../csu/libc-start.c:392
#17 0x0000555555569bf5 in ?? ()
(gdb)
quit

EXPECTED RESULT
Skanlike starts, skans and saves skanned images, like it did in X11.


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-lowlatency (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS MASTER
Comment 1 Maxim Egorushkin 2024-10-04 18:14:10 UTC
Removing ~/.config/skanliterc doesn't fix the issue.
Comment 2 Kåre Särs 2024-10-05 20:12:51 UTC
I suspect this is a packaging issue. Compiling and installing from source fixes the issue for me
Comment 3 rbnmndz 2024-10-28 07:56:01 UTC
Still happening on version 24.08.2

~$ skanlite -v
skanlite 24.08.2

~$ skanlite
ASSERT: "divisor < 0 || divisor > 0" in file /usr/include/x86_64-linux-gnu/qt6/QtCore/qpoint.h, line 271
Aborted (core dumped)

Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-47-generic (64-bit)
Graphics Platform: X11
Processors: 12 × 11th Gen Intel® Core™ i5-11500 @ 2.70GHz
Memory: 31.1 GiB of RAM
Graphics Processor: NV167
Comment 4 jesaa 2024-11-10 21:02:56 UTC
I just stumbled across this one.

It's a bug in libksane and it's fixed:

https://invent.kde.org/graphics/libksane/-/commit/747d53159c137ca6d72a82e188c438424db602cc#eabcab8437c7bf6e5bf3532c7f40b1699edf4bd9

hopefully it will be released with the next KDE Gear release.

Best,

Jesaa
Comment 5 jesaa 2024-11-10 21:04:50 UTC
*** Bug 494928 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Riddell 2024-11-11 15:08:45 UTC
Git commit f4959c041dd0ffaa9015686316999f68cffa9376 by Jonathan Riddell.
Committed on 11/11/2024 at 15:08.
Pushed by jriddell into branch 'Neon/stable'.

add patch to fix https://bugs.kde.org/show_bug.cgi?id=494132

A  +13   -0    debian/patches/747d53159c137ca6d72a82e188c438424db602cc.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/libksane/-/commit/f4959c041dd0ffaa9015686316999f68cffa9376