Bug 457526 - First time crash in Skanlite
Summary: First time crash in Skanlite
Status: RESOLVED NOT A BUG
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 22.04.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-05 14:14 UTC by Sheila Flanagan
Modified: 2022-08-10 19:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sheila Flanagan 2022-08-05 14:14:18 UTC
Application: skanlite (22.04.3)

Qt Version: 5.15.3
Frameworks Version: 5.95.0
Operating System: Linux 5.15.0-43-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.1 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Clicked scan without previw at 600 dpi to be saved as .pdf
Usually it scans fine up to 600 dpi

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Skanlite (skanlite), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7e8aa74cfb in _IO_new_fclose (fp=0x0) at ./libio/iofclose.c:48
#5  0x00007f7e7e246582 in escl_scan () from /usr/lib/x86_64-linux-gnu/sane/libsane-escl.so.1
#6  0x00007f7e7e2484c5 in sane_escl_start () from /usr/lib/x86_64-linux-gnu/sane/libsane-escl.so.1
#7  0x00007f7e8c951cbc in ?? () from /lib/x86_64-linux-gnu/libKF5Sane.so.5
#8  0x00007f7e8af16ca1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f7e8ab1ca00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f7e5bf61640 (LWP 558003) "KSaneIface::Fin"):
#1  0x00007f7e7df86c12 in avahi_simple_poll_dispatch () from /lib/x86_64-linux-gnu/libavahi-common.so.3
#2  0x00007f7e6800feb2 in ?? () from /usr/lib/x86_64-linux-gnu/sane/libsane-airscan.so.1
#3  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#4  0x00007f7e8ab1ca00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f7e68ab6640 (LWP 558001) "KSaneIface::Fin"):
#1  0x00007f7e7df86fee in ?? () from /lib/x86_64-linux-gnu/libavahi-common.so.3
#2  0x00007f7e7df86b61 in avahi_simple_poll_run () from /lib/x86_64-linux-gnu/libavahi-common.so.3
#3  0x00007f7e7df86d40 in avahi_simple_poll_iterate () from /lib/x86_64-linux-gnu/libavahi-common.so.3
#4  0x00007f7e7df86f75 in avahi_simple_poll_loop () from /lib/x86_64-linux-gnu/libavahi-common.so.3
#5  0x00007f7e7df8704b in ?? () from /lib/x86_64-linux-gnu/libavahi-common.so.3
#6  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x00007f7e8ab1ca00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f7e75e67640 (LWP 557940) "skanlit:disk$0"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55dd5b62ac78) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55dd5b62ac78, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7e8aa89ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dd5b62ac28, cond=0x55dd5b62ac50) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55dd5b62ac50, mutex=0x55dd5b62ac28) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f7e75f2785b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#6  0x00007f7e75f2748b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#7  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007f7e8ab1ca00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f7e7ffff640 (LWP 557936) "QDBusConnection"):
#1  0x00007f7e8989a7eb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e898ef5c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e898983c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7e8b15d11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7e8b10274b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7e8af15af2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7e8c2bff0b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f7e8af16ca1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f7e8ab1ca00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f7e85ff5640 (LWP 557935) "QXcbEventQueue"):
#1  0x00007f7e891667e2 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7e8916822c in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7e8613fd08 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f7e8af16ca1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f7e8ab1ca00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f7e867d99c0 (LWP 557934) "skanlite"):
#1  0x00007f7e891667e2 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7e89166b20 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7e89166d77 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f7e89167dc0 in xcb_flush () from /lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007f7e8612f3c3 in QXcbWindow::hide() () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#6  0x00007f7e8b4f616b in QWindowPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007f7e8bc33318 in QWidgetPrivate::hide_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f7e8bc381e8 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f7e8bc33656 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f7e8bc5fb0a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f7e8b13132f in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f7e8bce6422 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f7e8bbf5713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f7e8b103e2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f7e8b15c3db in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f7e8b15cd24 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f7e8989ad1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f7e898ef6f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f7e898983c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f7e8b15d11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f7e8b10274b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f7e8b10ace4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x000055dd59444515 in ?? ()
#24 0x00007f7e8aa1fd90 in __libc_start_call_main (main=main@entry=0x55dd59441d00, argc=argc@entry=1, argv=argv@entry=0x7ffc4a135928) at ../sysdeps/nptl/libc_start_call_main.h:58
#25 0x00007f7e8aa1fe40 in __libc_start_main_impl (main=0x55dd59441d00, argc=1, argv=0x7ffc4a135928, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc4a135918) at ../csu/libc-start.c:392
#26 0x000055dd59444cc5 in ?? ()
[Inferior 1 (process 557934) detached]

Possible duplicates by query: bug 453162, bug 451932, bug 449266, bug 446997.

Reported using DrKonqi
Comment 1 Kåre Särs 2022-08-05 18:44:25 UTC
Thanks for the report!

Can you install the debug symbol packages for libsane

hopefully this command should do it:
sudo apt-get install libsane-dbg

then try to reproduce the crash and attach the crashlog

Thanks,
  Kåre
Comment 2 Sheila Flanagan 2022-08-10 10:54:43 UTC
(In reply to Sheila Flanagan from comment #0)
> Application: skanlite (22.04.3)
> 
> Qt Version: 5.15.3
> Frameworks Version: 5.95.0
> Operating System: Linux 5.15.0-43-generic x86_64
> Windowing System: X11
> Distribution: Ubuntu 22.04.1 LTS
> DrKonqi: 5.24.5 [KCrashBackend]
> 
> -- Information about the crash:
> - What I was doing when the application crashed:
> Clicked scan without previw at 600 dpi to be saved as .pdf
> Usually it scans fine up to 600 dpi
> 
> The reporter is unsure if this crash is reproducible.
> 
> -- Backtrace:
> Application: Skanlite (skanlite), signal: Segmentation fault
> 
> [KCrash Handler]
> #4  0x00007f7e8aa74cfb in _IO_new_fclose (fp=0x0) at ./libio/iofclose.c:48
> #5  0x00007f7e7e246582 in escl_scan () from
> /usr/lib/x86_64-linux-gnu/sane/libsane-escl.so.1
> #6  0x00007f7e7e2484c5 in sane_escl_start () from
> /usr/lib/x86_64-linux-gnu/sane/libsane-escl.so.1
> #7  0x00007f7e8c951cbc in ?? () from /lib/x86_64-linux-gnu/libKF5Sane.so.5
> #8  0x00007f7e8af16ca1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #9  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at
> ./nptl/pthread_create.c:442
> #10 0x00007f7e8ab1ca00 in clone3 () at
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> 
> Thread 6 (Thread 0x7f7e5bf61640 (LWP 558003) "KSaneIface::Fin"):
> #1  0x00007f7e7df86c12 in avahi_simple_poll_dispatch () from
> /lib/x86_64-linux-gnu/libavahi-common.so.3
> #2  0x00007f7e6800feb2 in ?? () from
> /usr/lib/x86_64-linux-gnu/sane/libsane-airscan.so.1
> #3  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at
> ./nptl/pthread_create.c:442
> #4  0x00007f7e8ab1ca00 in clone3 () at
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> 
> Thread 5 (Thread 0x7f7e68ab6640 (LWP 558001) "KSaneIface::Fin"):
> #1  0x00007f7e7df86fee in ?? () from
> /lib/x86_64-linux-gnu/libavahi-common.so.3
> #2  0x00007f7e7df86b61 in avahi_simple_poll_run () from
> /lib/x86_64-linux-gnu/libavahi-common.so.3
> #3  0x00007f7e7df86d40 in avahi_simple_poll_iterate () from
> /lib/x86_64-linux-gnu/libavahi-common.so.3
> #4  0x00007f7e7df86f75 in avahi_simple_poll_loop () from
> /lib/x86_64-linux-gnu/libavahi-common.so.3
> #5  0x00007f7e7df8704b in ?? () from
> /lib/x86_64-linux-gnu/libavahi-common.so.3
> #6  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at
> ./nptl/pthread_create.c:442
> #7  0x00007f7e8ab1ca00 in clone3 () at
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> 
> Thread 4 (Thread 0x7f7e75e67640 (LWP 557940) "skanlit:disk$0"):
> #1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0,
> clockid=0, expected=0, futex_word=0x55dd5b62ac78) at
> ./nptl/futex-internal.c:87
> #2  __GI___futex_abstimed_wait_cancelable64
> (futex_word=futex_word@entry=0x55dd5b62ac78, expected=expected@entry=0,
> clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0)
> at ./nptl/futex-internal.c:139
> #3  0x00007f7e8aa89ac1 in __pthread_cond_wait_common (abstime=0x0,
> clockid=0, mutex=0x55dd5b62ac28, cond=0x55dd5b62ac50) at
> ./nptl/pthread_cond_wait.c:503
> #4  ___pthread_cond_wait (cond=0x55dd5b62ac50, mutex=0x55dd5b62ac28) at
> ./nptl/pthread_cond_wait.c:627
> #5  0x00007f7e75f2785b in ?? () from
> /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
> #6  0x00007f7e75f2748b in ?? () from
> /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
> #7  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at
> ./nptl/pthread_create.c:442
> #8  0x00007f7e8ab1ca00 in clone3 () at
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> 
> Thread 3 (Thread 0x7f7e7ffff640 (LWP 557936) "QDBusConnection"):
> #1  0x00007f7e8989a7eb in g_main_context_prepare () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007f7e898ef5c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007f7e898983c3 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #4  0x00007f7e8b15d11e in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #5  0x00007f7e8b10274b in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #6  0x00007f7e8af15af2 in QThread::exec() () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #7  0x00007f7e8c2bff0b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
> #8  0x00007f7e8af16ca1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #9  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at
> ./nptl/pthread_create.c:442
> #10 0x00007f7e8ab1ca00 in clone3 () at
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> 
> Thread 2 (Thread 0x7f7e85ff5640 (LWP 557935) "QXcbEventQueue"):
> #1  0x00007f7e891667e2 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
> #2  0x00007f7e8916822c in xcb_wait_for_event () from
> /lib/x86_64-linux-gnu/libxcb.so.1
> #3  0x00007f7e8613fd08 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
> #4  0x00007f7e8af16ca1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #5  0x00007f7e8aa8ab43 in start_thread (arg=<optimized out>) at
> ./nptl/pthread_create.c:442
> #6  0x00007f7e8ab1ca00 in clone3 () at
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> 
> Thread 1 (Thread 0x7f7e867d99c0 (LWP 557934) "skanlite"):
> #1  0x00007f7e891667e2 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
> #2  0x00007f7e89166b20 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
> #3  0x00007f7e89166d77 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
> #4  0x00007f7e89167dc0 in xcb_flush () from /lib/x86_64-linux-gnu/libxcb.so.1
> #5  0x00007f7e8612f3c3 in QXcbWindow::hide() () from
> /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
> #6  0x00007f7e8b4f616b in QWindowPrivate::setVisible(bool) () from
> /lib/x86_64-linux-gnu/libQt5Gui.so.5
> #7  0x00007f7e8bc33318 in QWidgetPrivate::hide_helper() () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #8  0x00007f7e8bc381e8 in QWidgetPrivate::setVisible(bool) () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #9  0x00007f7e8bc33656 in
> QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #10 0x00007f7e8bc5fb0a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #11 0x00007f7e8b13132f in QObject::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #12 0x00007f7e8bce6422 in QFrame::event(QEvent*) () from
> /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #13 0x00007f7e8bbf5713 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #14 0x00007f7e8b103e2a in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #15 0x00007f7e8b15c3db in QTimerInfoList::activateTimers() () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #16 0x00007f7e8b15cd24 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #17 0x00007f7e8989ad1b in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #18 0x00007f7e898ef6f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #19 0x00007f7e898983c3 in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #20 0x00007f7e8b15d11e in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /lib/x86_64-linux-gnu/libQt5Core.so.5
> #21 0x00007f7e8b10274b in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #22 0x00007f7e8b10ace4 in QCoreApplication::exec() () from
> /lib/x86_64-linux-gnu/libQt5Core.so.5
> #23 0x000055dd59444515 in ?? ()
> #24 0x00007f7e8aa1fd90 in __libc_start_call_main
> (main=main@entry=0x55dd59441d00, argc=argc@entry=1,
> argv=argv@entry=0x7ffc4a135928) at ../sysdeps/nptl/libc_start_call_main.h:58
> #25 0x00007f7e8aa1fe40 in __libc_start_main_impl (main=0x55dd59441d00,
> argc=1, argv=0x7ffc4a135928, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7ffc4a135918) at
> ../csu/libc-start.c:392
> #26 0x000055dd59444cc5 in ?? ()
> [Inferior 1 (process 557934) detached]
> 
> Possible duplicates by query: bug 453162, bug 451932, bug 449266, bug 446997.
> 
> Reported using DrKonqi

I went to the printer/scanner after the crash and not being able to print (error message said printer was busy) and saw on the display screen that a firmware update was needed. After firmware update, had several issues in printing, but finally resolved them and today Skanlite worked perfectly. I would say you can close the bug issue.
Comment 3 Kåre Särs 2022-08-10 19:05:27 UTC
Thanks for the update!
 :)

Regards,
  Kåre