Bug 444987 - silent crash while searching for scanners
Summary: silent crash while searching for scanners
Status: RESOLVED FIXED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 21.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-05 00:50 UTC by elypter
Modified: 2024-05-30 12:26 UTC (History)
5 users (show)

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 elypter 2021-11-05 00:50:38 UTC
SUMMARY

it just closes while searching for scanners.
when running in terminal i get this error message "Speicherzugriffsfehler (Speicherabzug geschrieben)"
xsane and simple-scan work

STEPS TO REPRODUCE
1. start skanlite


OBSERVED RESULT

crash

EXPECTED RESULT

find a scanner

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.16-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Memory: 7.1 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION

detected scanners by xsane:
printerscanner: lexmark mc3426ad, not supported by sane and using a proprietary java driver
webcam: hp true vision hd
Comment 1 Alexander Stippich 2022-01-10 20:35:39 UTC
Is this still an issue with Skanlite 21.12.1?
Comment 2 elypter 2022-02-05 17:55:47 UTC
(In reply to Alexander Stippich from comment #1)
> Is this still an issue with Skanlite 21.12.1?

i still get the same error. translated: memory access error(memory dump written)
Comment 3 Sergey 2022-03-05 22:13:13 UTC
Try to remove  .config/skanliterc
Comment 4 elypter 2022-04-13 10:03:01 UTC
it doesnt exist. search also doesnt find any skanliterc
Comment 5 Javier Llorente 2022-11-19 10:48:00 UTC
I am experiencing the same issue. Skanlite 22.08.3 crashes on startup (I don't get to see detecting scanners). If I delete ~/.local/share/skanlite/skanlitestaterc, it doesn't crash. Then I close it, run Skanlite again, and it crashes. 

Skanpage exhibits the same behaviour
XSane works fine.

openSUSE Tumbleweed 20221115
KDE Plasma 5.26.3
KDE Frameworks 5.100.0
Qt 5.15.7
Kernel 6.0.8-1-default (64 bits)
X11
Comment 6 Javier Llorente 2022-11-19 10:50:34 UTC
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
           PID: 4817 (skanlite)
           UID: 1000 (javier)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Sat 2022-11-19 11:30:02 CET (6min ago)
  Command Line: /usr/bin/skanlite
    Executable: /usr/bin/skanlite
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.skanlite-bd7a4920c5c34b23aa1f7b2fdb4eb6dd.scope
          Unit: user@1000.service
     User Unit: app-org.kde.skanlite-bd7a4920c5c34b23aa1f7b2fdb4eb6dd.scope
         Slice: user-1000.slice
     Owner UID: 1000 (javier)
       Boot ID: e12069056170424aadcf007204d95306
    Machine ID: a0848146a8854c519ce698d28901e824
      Hostname: akoya.suse
       Storage: /var/lib/systemd/coredump/core.skanlite.1000.e12069056170424aadcf007204d95306.4817.1668853802000000.zst (present)
     Disk Size: 3.3M
       Message: Process 4817 (skanlite) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id 66f278a98fb733cb08ba013d8d2aa08734c4f281
                Module libavahi-client.so.3 with build-id c3c7850abcad3b8d1e5129a7fc643a839d556be9
                Module libavahi-common.so.3 with build-id aa12e448b3bd313d96af7b460e8fa8b6f46fa051
                Module libsane-net.so.1 with build-id 7b6ea0887dd1101e2a61bed2ab73103c888ed545
                Module libwebp.so.7 with build-id a2a25f5c46f6c2ced3a380418800158f0f39fe83
                Module libwebpdemux.so.2 with build-id db8c59381693c8233a31cc9516915f06316fbbe2
                Module libwebpmux.so.3 with build-id c511b8bfe4d9ca394691cb2ed01190bfe18a29ca
                Module libqwebp.so with build-id 6ac9d0070ed072a9744b39de8d143be99997d612
                Module libqwbmp.so with build-id 29eb6d4476607d08e1565a379e3403bbef7b6313
                Module libjbig.so.2 with build-id 3564244980186a8ae62568fc506d90acc2a11f16
                Module libtiff.so.5 with build-id f7ca2508369092bd61ad60f19a9bf36f894129b1
                Module libqtiff.so with build-id 9bdc88198d3923c3e2677b46d8f81a43b29eefac
                Module libqsvg.so with build-id 468571f75dcf216915fb98363d938a481ed93e50
                Module libmng.so.2 with build-id 222475ab05961e0b3ea8d951ec9595d898b8cc4d
                Module libqmng.so with build-id bf332a1d59a2bfb7f4d9bbc21babc2f96d954c11
                Module libqjpeg.so with build-id cefd3695e93e4230911250790026a4dce00e5010
                Module libqico.so with build-id 9c44b1ae2a7aad8e78bf5c7491575bf80fe2fd47
                Module libqicns.so with build-id d3ef640860f0ac5fe9ee87fd19aab777e756049a
                Module libqgif.so with build-id 58f7e90139c488b81fbc3ef0f49c0d7f29c7a48c
                Module kimg_xcf.so with build-id 1db74149ca98812104fb014e2b65d5d6de7a292a
                Module kimg_tga.so with build-id 8b374973facceabe79f6db13401cd58da0249b88
                Module kimg_rgb.so with build-id 894ddec6313ef06092c50ff9bdb0333ef23969c3
                Module kimg_ras.so with build-id 5e7fbc20f1c7e8e5412bd91e7458afeb661a14f1
                Module kimg_psd.so with build-id b8415082eb21136bb0286fba48288c492c082b50
                Module kimg_pic.so with build-id 9f749faf3b0f6f4d1b1e9b840905e1684178c03b
                Module kimg_pcx.so with build-id 3720a3899d38dee30720c4d89e62a50bd417db3d
                Module kimg_ora.so with build-id 648aaa3f8c5afe645deb3f1129be5ecdeeb34c90
                Module kimg_kra.so with build-id 01aad61baee79f565fb498df1699aac35978c0af
                Module liblcms2.so.2 with build-id c558dc39f782290b85e7a3e3e1a344dfda48e23e
                Module libbrotlienc.so.1 with build-id b5442b30fc4b2f53cce362eb305906db1807b5a8
                Module libhwy.so.1 with build-id f41d3ba14a721eb82c04771a97a68413953500cb
                Module libjxl_threads.so.0.7 with build-id 6c70b34e45ef7b58c3de20701eaaf7688c153625
                Module libjxl.so.0.7 with build-id 039055d647c60aa05e0a75c5466f5879cd7d3de0
                Module kimg_jxl.so with build-id 435598390cbb2fb1e2a8a69bc47f70df51a1f2a7
                Module libnuma.so.1 with build-id bc3eb8df9ec9f6ceb791c5f2bacdd0d87009df6c
                Module libx265.so.199 with build-id fd1adc8f1bdbbca2d83acd4ef0ae97c2685a3a07
                Module libde265.so.0 with build-id 79c22b798346283b34e2193de6c0248c2a4f2577
                Module libheif.so.1 with build-id 52b56613d56eb7ee481adc1fe7a3541e6d0aad22
                Module kimg_heif.so with build-id 5f8e10535c79d42809c97fe1bb3fd0061d5fe378
                Module kimg_hdr.so with build-id 33044e2a5dbb74f258a3de331a446a3d8ae73a5c
                Module libIlmThread-3_1.so.30 with build-id 582f7e10d8396d1bb79f511b4d5c9a3f3fa308ab
                Module libIex-3_1.so.30 with build-id 95cb9348f5d763257603a4234c5ec503af18e12a
                Module libImath-3_1.so.29 with build-id da790a80d23bdb1169ebd96dc4de0748b26a42bb
                Module libOpenEXR-3_1.so.30 with build-id 518cd424d38a33d53f48c0a45c15499587f2ba73
                Module kimg_exr.so with build-id 66ed1dbd12f022a1033c3b3f48c0d40267ff6dc4
                Module libjpeg.so.8 with build-id b8615c1adbf79d2333be0f1f36a9625f2135972f
                Module libyuv.so.0 with build-id ff083672be79d10f344aae1570fc62c88ca3bf4b
                Module libaom.so.3 with build-id 180111e671a0e17d968f3a8d0a8e660e34d64940
                Module librav1e.so.0 with build-id b26b7ec7fdd8fdfefadf26a1ac69107920b22675
                Module libdav1d.so.6 with build-id 3862cccd1f592d4baebe8f626993b1dc6d99f7cd
                Module libavif.so.15 with build-id 5542cb32acf0ff71f8d43e0de6488c82d24e7bc5
                Module kimg_avif.so with build-id 175e7a10d6bc0123f216bfa8c8ecfd6959d33564
                Module kimg_ani.so with build-id 885066445670ad099bbfab5c52f17920d94ddf4d
                Module libKF5Style.so.5 with build-id 0788530f4550edeae299eec9ceb64d0c3824327b
                Module libbreezecommon5.so.5 with build-id b3e3132a14ce20cf007e973fe253dca52f54ed89
                Module libKF5Kirigami2.so.5 with build-id d2219e3e67c4c5186123c962b37adfc06894e4a0
                Module breeze.so with build-id 43cbbb7946dd41d1995d97a470e4ec1883efd329
                Module libdrm.so.2 with build-id b6fd553be553968d177845009c7e83120c7341d1
                Module librt.so.1 with build-id fd5f6e893e8e21aa5378de49719fd990b64183f0
                Module libpthread.so.0 with build-id cb845308a61321a8b76b8ac6196645ce971b81e5
                Module libdl.so.2 with build-id c5d94205c33a1ea6353f9a77d1c9f62642c0e733
                Module libXext.so.6 with build-id 57117d638842a43051ba9933b85bf7ca38e90b12
                Module libnvidia-glcore.so.515.76 with build-id adb7541feaf87c8fbb8f48f94f6687c535eee896
                Module libnvidia-tls.so.515.76 with build-id 847efa72cb24f3c4549ceeeb4069ceacddd66edc
                Module libnvidia-glsi.so.515.76 with build-id de812882230b57607da4c9bce827ec499adf787c
                Module libGLX_nvidia.so.0 with build-id 61cb04ead88a143f88d9b515e0245cc6dcc85087
                Module libxcb-glx.so.0 with build-id 180796b41e12c62dce56436951571c44297a3633
                Module libqxcb-glx-integration.so with build-id 951d6c4a1712c6052091d6005d19f489261565ec
                Module libcomposeplatforminputcontextplugin.so with build-id 63e35009b3c5bad2f297d56884bfc058b458f861
                Module libibusplatforminputcontextplugin.so with build-id d8dbd1b3c80ee24baf5bf20c8bb9de44e683264c
                Module libogg.so.0 with build-id 53e6da0a3e4be0cdd2732c959eae16faa0a7567c
                Module libvorbis.so.0 with build-id f11046b0d77a18d855d3bab918715b7c301af776
                Module libltdl.so.7 with build-id cee2689ca931743c3f65629e199cf62f4ba76cb6
                Module libvorbisfile.so.3 with build-id 4de528ad35b562b09227c3b047a198b6e361eb4c
                Module libQt5QmlModels.so.5 with build-id 5e4f78a003fbb45c71fd056c089a34f628668cfe
                Module libQt5QuickTemplates2.so.5 with build-id 12af6cd2def7abdecc6269a80c6f80b666cb17dc
                Module libQt5Qml.so.5 with build-id 838756ab22f51b57b03c055090d0fa2d739cbeb7
                Module libdbusmenu-qt5.so.2 with build-id e8640f9c1370323cc01664b4e335b33bfaf56869
                Module libcanberra.so.0 with build-id 038747d9d8aa8f44c9213cd1add55ca0864f1641
                Module libKF5Bookmarks.so.5 with build-id 0cf83e18379603639e187599e95f59bd5a1c8736
                Module libQt5Quick.so.5 with build-id d1fc4b8583198093183d980075423dd8819dcbe4
                Module libQt5QuickControls2.so.5 with build-id 5a2de395c38af23d50aff3719ca318b98845631f
                Module libKF5Notifications.so.5 with build-id ff79c0618e43eb45b66c2970603a609b42b6430f
                Module libKF5KIOFileWidgets.so.5 with build-id 921adcefcf6c58136953177237d8fed041d48520
                Module KDEPlasmaPlatformTheme.so with build-id ada3957be2c8f2dc38c16f440b1b1375a480dada
                Module libXfixes.so.3 with build-id 7fab62fe47852c54abf2a972d985eae06856293c
                Module libXrender.so.1 with build-id f714c4b71e7c1fcd77aad263e97c2769170854f5
                Module libXcursor.so.1 with build-id 04de2ae173dbb26b675358abdd568f6c518310bf
                Module libuuid.so.1 with build-id 89859b8a2ae07d4dec8ed8a55a88c213bc637ec2
                Module libxcb-util.so.1 with build-id 10d01dfe019ad1761650e24085ab10dc0805fc78
                Module libxkbcommon-x11.so.0 with build-id 8fda15a8cf8d09d26ea1f1d9d94256335488c493
                Module libICE.so.6 with build-id a858cea1931d81bb282125b069227c492af63bd6
                Module libSM.so.6 with build-id e8ad27e5501271682bb0cac5bf75a7dff93814ef
                Module libxcb-xinput.so.0 with build-id f092736e90dece149f2a61b243ce4afb38d43e42
                Module libxcb-xkb.so.1 with build-id 3c5366a1fb04ad946685a02f16a06695d2f8ec65
                Module libxcb-xinerama.so.0 with build-id e0ddae43501d7d3cf1f84c7a6ce2e3ffd443601f
                Module libxcb-xfixes.so.0 with build-id 2a599649c4529913579a05da73da9a970cd65431
                Module libxcb-sync.so.1 with build-id 5566eeb3aca77f2adddae4a1763faa00de079383
                Module libxcb-shape.so.0 with build-id 8b884d810750c152564d4cdccc0a19092509adbd
                Module libxcb-render.so.0 with build-id f42da2eae35249300d3c0fb708602168d677b167
                Module libxcb-render-util.so.0 with build-id 14b2de5b67e4ae7e50089efe6bfa3201b6744f34
                Module libxcb-randr.so.0 with build-id a5f7d8d20d57509009e19c8426eb14c98e7e6f37
                Module libxcb-shm.so.0 with build-id 8029bd603c22b0801711b2eb27156493f08ba2f7
                Module libxcb-image.so.0 with build-id 7400ca3245133d884b03cf6eac6f04f7b0945036
                Module libxcb-icccm.so.4 with build-id 451e0568cd744dc89991a41675b62b2212d9f087
                Module libX11-xcb.so.1 with build-id b19f01b370b62346b020eb08a0e07aa83fc7aa98
                Module libQt5XcbQpa.so.5 with build-id 2a53c6876a0020ed871d53285ee3317b25853319
                Module libqxcb.so with build-id bb5bfb22fe4ba4c4fa908db538a4e488e218399b
                Module libbrotlicommon.so.1 with build-id adb8daec1addd6fccbb834dc09c6e9282d7abde6
                Module libexpat.so.1 with build-id e66307edec222d990a19fc447ff32f5636d92527
                Module libgpg-error.so.0 with build-id b0a1f2c9a7ee8635a3fa8ab0f9bf4f5f85d789ac
                Module libbrotlidec.so.1 with build-id 2c703abb5002dfd22b9eb86361576c35c0630aad
                Module libXau.so.6 with build-id 037f4d4a0551b84985781a69303c902fd0467dc5
                Module libusbmuxd-2.0.so.6 with build-id 2e0dc01ace2510332764c56804e3e4ad195f7740
                Module libimobiledevice-glue-1.0.so.0 with build-id be290da5f684b7cc0c3973b38da058b4d2cfb005
                Module libffi.so.8 with build-id c558e5e66ceb0241ca1a91b54b25dcf78e345644
                Module libxkbcommon.so.0 with build-id dc6847daaa692b6d32e078d7ef0f753a6d0827a7
                Module libfontconfig.so.1 with build-id 3ad5b8cc34b31250457b1dc2155297bdc888a387
                Module libwayland-cursor.so.0 with build-id 3c59e8439beb8492a0488e2b0b565b9fb0b79889
                Module libbz2.so.1 with build-id 9c87904fc676eaa15fe2e5dc5dc6843bd3eca834
                Module libxml2.so.2 with build-id 792a4cc47994d6beb8aa800a46e9bd9e98c37f48
                Module libusb-1.0.so.0 with build-id 9e2fd9d80188a3b5dd5cb241e5d32c351db91d31
                Module libpcre2-8.so.0 with build-id 17925aea3c556e532db80b000dc37241719a22e4
                Module libicudata.so.72 with build-id f73aa05d5e4b28c655e17be223718491ca95d277
                Module liblz4.so.1 with build-id ddcf3dd722b950a0f21469ae9008f69bcf0a94ef
                Module liblzma.so.5 with build-id 35b6e77e716cedc9505cdbcecb1251b0d29f95f3
                Module libgcrypt.so.20 with build-id 972bd1b003b540ee6996a4e754df4b062ddc04ce
                Module libcap.so.2 with build-id 6e9e68e909634c194ed9087f3184318426910775
                Module libgraphite2.so.3 with build-id 75b4f2347d033f57b01386eb09d168f683378a63
                Module libfreetype.so.6 with build-id aa09e646f65263bdda0f08780874e2484976617f
                Module libGLdispatch.so.0 with build-id f45c1f2afd00b94045a3eb528c0a5781cd78f557
                Module libGLX.so.0 with build-id 16e59cbf204edbe71a1c1d8a3ee4c273a43fb4cd
                Module libselinux.so.1 with build-id ebf91167b514e58ea9ec85ee4c2d2e406909ccac
                Module libblkid.so.1 with build-id dc6587db40194e1954e77acb77eec09e47172ba7
                Module libxcb-keysyms.so.1 with build-id 2d3e3985b3258bf6d940aed1941e137015cdf3d2
                Module libxcb.so.1 with build-id a80fad5d3e6d57688a6c8fe38eb4edb6c834274a
                Module libplist-2.0.so.3 with build-id 9d5fd09ddcdb553c703577e56fb812538f8824af
                Module libimobiledevice-1.0.so.6 with build-id 197c26e98bcbf30773f80305a38fc3004a9ae70b
                Module libudev.so.1 with build-id 809d9e4555037bbbcddfb0fe40f854b2d964d776
                Module libKF5DBusAddons.so.5 with build-id 3e33d5ccb2076917f8d28c0071168629e3badb56
                Module libX11.so.6 with build-id c6a4dbaa5a91543fe453d236a66bab58d34c60de
                Module libwayland-client.so.0 with build-id dc2ac727590f5727a0d94f81d49057dd0e45b45f
                Module libQt5WaylandClient.so.5 with build-id bafc2d5f63776db3db18ee10f03278d5613a3cc0
                Module libKF5Archive.so.5 with build-id fec868a99078334c8be244e0d5fe3a14cda36faf
                Module libQt5Svg.so.5 with build-id f81ab62d4254826726af701fabe068a2cb638da4
                Module libcrypto.so.1.1 with build-id f1eeb652ebadf52bdd99c28df82157fda1de3ddf
                Module libssl.so.1.1 with build-id 2cf12f1cf062bf1801e8467d1d0ea4a07ad3992c
                Module libproxy.so.1 with build-id 1edd38883d1229f5bf1a8be9e2001f173502087b
                Module libsane.so.1 with build-id e117351293ef2841b75bee3cb7cb0e1b8b3ece05
                Module libQt5TextToSpeech.so.5 with build-id cad6981bc7a07549bcdf57f61b2fdf684ca65db2
                Module libKF5SonnetCore.so.5 with build-id 7faa7e34c916b7d28592b59570c10df8145ea918
                Module libKF5SonnetUi.so.5 with build-id 02aec9ecd8c5fb1a394b79433fd8e50c896369a6
                Module libglib-2.0.so.0 with build-id a21b126d276168221e32d2839de8a9a2ecaea0da
                Module libzstd.so.1 with build-id 3528efe7b241dc95f90dc53e075e05c36bb88835
                Module libpcre2-16.so.0 with build-id 9f42c87a59d5845b0345527c794252b19092b8d5
                Module libicuuc.so.72 with build-id 8d62ca6cfefda206b9681b39bc98d80156c46ece
                Module libicui18n.so.72 with build-id 1c870f80d5c9ceedd8cd8f6d33d88de4ab650d68
                Module libdouble-conversion.so.3 with build-id c24bc63cebe2bf23b934ea85512c51a9ac34620c
                Module libsystemd.so.0 with build-id 3ec66822bd4cef51780a8c16ca469e160e683917
                Module libharfbuzz.so.0 with build-id 4e42dd0c9408aa2207327d7ba73516f1a87eed16
                Module libz.so.1 with build-id 55c983679e5bb495428706a551ef1a01b1387546
                Module libpng16.so.16 with build-id 569173e8dd495b3671435222836712b938383b42
                Module libGL.so.1 with build-id 7080e459b53b550bdb37615e26b4501193e2b3e0
                Module libdbus-1.so.3 with build-id fa21465ddbb861a73e9524b63ea4e32c3183966b
                Module libgcc_s.so.1 with build-id 4bcd90d20c67e13aeb470179e99c38227bab31db
                Module libQt5X11Extras.so.5 with build-id 96b892f1cc2c08beefb7d3c48947aa810f98b69e
                Module libmount.so.1 with build-id 92b54525839047b4d01bd60fcec8bdd590aafa49
                Module libacl.so.1 with build-id 5d2b59c2e33e960612d24e261a1281c03a76be02
                Module libKF5Crash.so.5 with build-id e10dd7a1bcb9ccd18149a50d60635b22291eeba2
                Module ld-linux-x86-64.so.2 with build-id 125cd969e5aa2a13a8285c489ac40e4b63ddc8ff
                Module libKF5AuthCore.so.5 with build-id f9193bdeec739c2ee4e33e79dc4290d032f408c3
                Module libKF5Codecs.so.5 with build-id 919ee3b55378411d94ec501eb7251b1ab181d264
                Module libKF5WindowSystem.so.5 with build-id 3d348c7fd72e90ab151c20a82261b6fc3bb1bf95
                Module libKF5Completion.so.5 with build-id 2f18e27d5599a68d0412e9da6eeb47b36f8e86d4
                Module libKF5Solid.so.5 with build-id 2c1d238a880acc1d0a966af4b8094e885fc7a6ba
                Module libKF5Service.so.5 with build-id c6ff29df4a0ab5c78cf8b7498d4e359e3b223c1d
                Module libKF5KIOGui.so.5 with build-id c819e202023fd64ecea69d0422a853547d93860e
                Module libQt5Xml.so.5 with build-id e56b7df728fb918952c9c34cfa42203f43eb5dc2
                Module libKF5ConfigGui.so.5 with build-id 05df16de6c426ff43a38f7cfcbe30e7addc8798a
                Module libKF5GuiAddons.so.5 with build-id 1d57d1e3a1055bc18c1a4292f7b1951d57dc5bed
                Module libKF5IconThemes.so.5 with build-id 537d2a589b9e57360f1dda80b2b86dcaea9b3199
                Module libKF5ItemViews.so.5 with build-id 96289ac143ec5689cca040f7faf29d9c14cbfe99
                Module libQt5PrintSupport.so.5 with build-id 4d56b129882b72178e14746045beb65dc263e455
                Module libQt5Network.so.5 with build-id 660b231d5eeeb9678cc88a1cc518cdd8fd014877
                Module libKF5GlobalAccel.so.5 with build-id f37e7992a9eb5cfbb32ed606ee21482481eaefcc
                Module libm.so.6 with build-id 8df60e2bdcdd169102fa26c4da78bfb70c713a0b
                Module libKSaneCore.so.1 with build-id 833335d095c7319f950b977840f004a7c77e7df9
                Module libKF5TextWidgets.so.5 with build-id 509b26be1e6248e5d2ca5aa44dfc474d7c398e97
                Module libKF5Wallet.so.5 with build-id f3ecd947ff90c5c0099a54dbefc91c08695acba9
                Module libc.so.6 with build-id 3f7f40d4302fa8a9568a057065c023bf137fceb7
                Module libstdc++.so.6 with build-id 19ac4e5a0001650351ce7d7f2f13d0c8d5206906
                Module libQt5Core.so.5 with build-id cd655b8a297c58ac2e6442f33212c4f4e79b44c5
                Module libQt5Gui.so.5 with build-id 608294fc17d1879316026b2260aaf903b18427ea
                Module libQt5Widgets.so.5 with build-id b10a5ec21411bfd047bd6b0700b0c9d9b29ddbf9
                Module libKF5WidgetsAddons.so.5 with build-id f937305b78c58afbf68b0c19afdc37b44629da31
                Module libQt5DBus.so.5 with build-id 0e9e328ac025ee41bded829ce02c30e4ca14a239
                Module libKF5ConfigCore.so.5 with build-id 14da5e5b58cdbfa5ac375aee33213ffa710e2b42
                Module libKF5I18n.so.5 with build-id c718b7b273fbcf1f4ac258fd4ccede84bdde65e9
                Module libKF5CoreAddons.so.5 with build-id ea95e5c6ac6fb90dee2fcd06ce697a04acfbad44
                Module libKF5JobWidgets.so.5 with build-id 35a11a630205efa2d5ef7bfee0292558a42cbb99
                Module libKF5KIOCore.so.5 with build-id 57f1eb790ec189ee640127f0c5aa7ca4b591050e
                Module libKF5ConfigWidgets.so.5 with build-id ed2eb950fc70e1380201bf99089d60a0d482fd17
                Module libKF5KIOWidgets.so.5 with build-id de375e4bb6786a5a84e6a697a415744c12c090d0
                Module libKF5XmlGui.so.5 with build-id fb4625b7374239a039a04d5662bbc2783c6e95e1
                Module libKF5Sane.so.5 with build-id c0657a6c3b59fb74b7043bb3a687a78e63d4c3c4
                Module skanlite with build-id aa4d01555366a6703cbb7e9c2981b880afdf1e90
                Stack trace of thread 4817:
                #0  0x00007fd511e957ec __pthread_kill_implementation (libc.so.6 + 0x907ec)
                #1  0x00007fd511e42816 raise (libc.so.6 + 0x3d816)
                #2  0x00007fd512246dae _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7dae)
                #3  0x00007fd511e428e0 __restore_rt (libc.so.6 + 0x3d8e0)
                #4  0x00007fd511f6ccfd __strlen_avx2 (libc.so.6 + 0x167cfd)
                #5  0x00007fd4ff2a43fa n/a (libsane-net.so.1 + 0x83fa)
                #6  0x00007fd4ff2a729d sane_net_control_option (libsane-net.so.1 + 0xb29d)
                #7  0x00007fd513a716d8 _ZN9KSaneCore16InterfacePrivate17loadDeviceOptionsEv (libKSaneCore.so.1 + 0x1a6d8)
                #8  0x00007fd51428368f _ZN10KSaneIface11KSaneWidget10openDeviceERK7QString (libKF5Sane.so.5 + 0x2b68f)
                #9  0x0000563439dbe55b main (skanlite + 0x1155b)
                #10 0x00007fd511e2c5b0 __libc_start_call_main (libc.so.6 + 0x275b0)
                #11 0x00007fd511e2c679 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27679)
                #12 0x0000563439dbf655 _start (skanlite + 0x12655)
                
                Stack trace of thread 4824:
                #0  0x00007fd511f0bb7f __poll (libc.so.6 + 0x106b7f)
                #1  0x00007fd4ff3e58fa n/a (libavahi-common.so.3 + 0x48fa)
                #2  0x00007fd4ff3e8371 avahi_simple_poll_run (libavahi-common.so.3 + 0x7371)
                #3  0x00007fd4ff3e8548 avahi_simple_poll_iterate (libavahi-common.so.3 + 0x7548)
                #4  0x00007fd4ff3e875d avahi_simple_poll_loop (libavahi-common.so.3 + 0x775d)
                #5  0x00007fd4ff3e87d7 n/a (libavahi-common.so.3 + 0x77d7)
                #6  0x00007fd511e9398d start_thread (libc.so.6 + 0x8e98d)
                #7  0x00007fd511f1a380 __clone3 (libc.so.6 + 0x115380)
                
                Stack trace of thread 4826:
                #0  0x00007fd511f0bb7f __poll (libc.so.6 + 0x106b7f)
                #1  0x00007fd512246108 n/a (libKF5Crash.so.5 + 0x7108)
                #2  0x00007fd512246d48 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x7d48)
                #3  0x00007fd511e428e0 __restore_rt (libc.so.6 + 0x3d8e0)
                #4  0x00007fd4ff2a5ff9 sane_net_get_devices (libsane-net.so.1 + 0x9ff9)
                #5  0x00007fd510f548e0 sane_dll_get_devices (libsane.so.1 + 0x98e0)
                #6  0x00007fd513a68473 _ZN9KSaneCore21FindSaneDevicesThread3runEv (libKSaneCore.so.1 + 0x11473)
                #7  0x00007fd5124f5e3d _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5e3d)
                #8  0x00007fd511e9398d start_thread (libc.so.6 + 0x8e98d)
                #9  0x00007fd511f1a380 __clone3 (libc.so.6 + 0x115380)
                
                Stack trace of thread 4820:
                #0  0x00007fd511f0bb7f __poll (libc.so.6 + 0x106b7f)
                #1  0x00007fd510d568ea n/a (libxcb.so.1 + 0xe8ea)
                #2  0x00007fd510d581cc xcb_wait_for_event (libxcb.so.1 + 0x101cc)
                #3  0x00007fd50dd19130 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x6b130)
                #4  0x00007fd5124f5e3d _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5e3d)
                #5  0x00007fd511e9398d start_thread (libc.so.6 + 0x8e98d)
                #6  0x00007fd511f1a380 __clone3 (libc.so.6 + 0x115380)
                
                Stack trace of thread 4819:
                #0  0x00007fd511f0bb7f __poll (libc.so.6 + 0x106b7f)
                #1  0x00007fd51126adbe n/a (libglib-2.0.so.0 + 0x58dbe)
                #2  0x00007fd51126aedc g_main_context_iteration (libglib-2.0.so.0 + 0x58edc)
                #3  0x00007fd512733b56 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x333b56)
                #4  0x00007fd5126dab9b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2dab9b)
                #5  0x00007fd5124f4c47 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf4c47)
                #6  0x00007fd513c5f277 n/a (libQt5DBus.so.5 + 0x1a277)
                #7  0x00007fd5124f5e3d _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xf5e3d)
                #8  0x00007fd511e9398d start_thread (libc.so.6 + 0x8e98d)
                #9  0x00007fd511f1a380 __clone3 (libc.so.6 + 0x115380)
                ELF object binary architecture: AMD x86-64
Comment 7 Javier Llorente 2022-11-19 10:55:02 UTC
Oops, sorry for the long comment.

Scanner: Brother DCP-7060D (net)
Comment 8 András Manţia 2024-05-28 08:42:39 UTC
Confirmed with a canon scanner connected over the network. Passing "-d net" explicitly makes skanlite to not crash. (skanpage still crashes though with that option).
skanlite 24.05.0, libsane 1.3.1.
Comment 9 András Manţia 2024-05-28 08:48:02 UTC
Thread 10 "KSaneCore::Find" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc0fff700 (LWP 24953)]
0x00007fffef615631 in sane_net_get_devices (device_list=0x7fffc0ffe930, local_only=<optimized out>) at net.c:1302
1302          for (num_devs = 0; reply.device_list[num_devs]; ++num_devs);
(gdb) bt
#0  0x00007fffef615631 in sane_net_get_devices (device_list=0x7fffc0ffe930, local_only=<optimized out>) at net.c:1302
#1  0x00007ffff44c95da in sane_dll_get_devices (device_list=0x7fffc0ffe990, local_only=0) at dll.c:1098
#2  0x00007ffff518c833 in KSaneCore::FindSaneDevicesThread::run (this=0x5555557146d0) at /usr/src/debug/ksanecore-24.05.0-kf.50.1.x86_64/src/finddevicesthread.cpp:80
#3  0x00007ffff624e7f9 in ?? () from /usr/lib64/libQt6Core.so.6
#4  0x00007ffff5d036ea in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff5c1a58f in clone () from /lib64/libc.so.6

As the bt is the same for skanlite and skanpage, it looks the problem is in KSaneCore.
Comment 10 Bug Janitor Service 2024-05-28 09:33:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/libraries/ksanecore/-/merge_requests/20
Comment 11 András Manţia 2024-05-30 12:26:28 UTC
Git commit ee34096fefa78887d102fa65f2492aa4cb215f37 by Andras Mantia, on behalf of Andras Mantia.
Committed on 30/05/2024 at 12:25.
Pushed by amantia into branch 'master'.

Don't crash scanner apps (skanlite, skanpage) when searching for scanners

This is triggered eg. with network scanners where scanning takes longer time.
As comment says: this defeats the idea of using a scanner thread,
but the proper fix would be more elaborate (ie. do the rest of initialization
only when the thread is finished).
Still makes sense to have this hotfix, especially as this is an old bug...
Related: bug 468053

M  +7    -0    src/interface_p.cpp

https://invent.kde.org/libraries/ksanecore/-/commit/ee34096fefa78887d102fa65f2492aa4cb215f37