crash in file_unix isOnCifs if checked against btrfs(when overwriting files in btrfs on Dolphin)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kio-apt |
Fix Released
|
High
|
|||
kio (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
kio 5.110.0 unfortunately has a bug that it crashes if file_unix isOnCifs is called with a file that is on a btrfs filesystem
Upstream has already a fix:
https:/
https:/
This fix however is for kio 6
I attached a backport of the commit above.
The second patch would be a fix for the underlying btrfs issue (discussed here:
https:/
https:/
When applying this patch you see the mounted from / mounted to info in the properties dialog of a directory in dolphin (that else is empty, but at least dolphin does not crash)
Changed in kio-apt: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
Application: okular (23.08.0)
Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.2-1-clear x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.7 [KCrashBackend]
-- Information about the crash:
Steps to reproduce:
1. Open PDF file (saved from exporting a docx from Word if this is relevant)
2. Open typewriter annotation, make some text.
3. Save
The saving crashes it.
The crash can be reproduced every time.
-- Backtrace: ssage: std::unique_ ptr<char []> = {get() = 0x0} :QString( QString const&) (other=<error reading variable: Cannot access memory at address 0x8>, this=0x55e38737 d980, this=<optimized out>, other=<optimized out>) at /usr/include/ qt/QtCore/ qstring. h:1093 :mountType( ) const (this=0x0) at /usr/src/ debug/kio/ kio-5.110. 0/src/core/ kmountpoint. cpp:411 qt/QtCore/ qshareddata. h:161 :copy(QUrl const&, QUrl const&, int, QFlags< KIO::JobFlag> ) (this=0x55e379f 75b70, srcUrl=..., destUrl=<optimized out>, _mode=-1, _flags=...) at /usr/src/ debug/kio/ kio-5.110. 0/src/ioslaves/ file/file_ unix.cpp: 743 :dispatch( int, QByteArray const&) (this=0x55e379f 75b80, command=<optimized out>, data=...) at /usr/src/ debug/kio/ kio-5.110. 0/src/core/ slavebase. cpp:1364 :dispatchLoop( ) (this=0x55e379f 75b80) at /usr/src/ debug/kio/ kio-5.110. 0/src/core/ slavebase. cpp:342 ad::run( ) (this=0x55e3ded 98300) at /usr/src/ debug/kio/ kio-5.110. 0/src/core/ workerthread. cpp:62 <optimized out>) at thread/ qthread_ unix.cpp: 350 ::terminate_ on_exception< QThreadPrivate: :start( void*): :<lambda( )> > (t=<optimized out>) at thread/ qthread_ unix.cpp: 287 :start( void*) (arg=0x55e3ded9 8300) at thread/ qthread_ unix.cpp: 310 create. c:444 unix/sysv/ linux/x86_ 64/clone3. S:78
Application: Okular (okular), signal: Segmentation fault
Content of s_kcrashErrorMe
[KCrash Handler]
#6 QString:
#7 KMountPoint:
#8 0x000055e3b494a87d in isOnCifsMount (filePath=...) at /usr/include/
#9 FileProtocol:
#10 0x000055e3db31c8db in KIO::SlaveBase:
#11 0x000055e3db31520e in KIO::SlaveBase:
#12 0x000055e3db395e87 in KIO::WorkerThre
#13 0x000055e3d98f35da in operator() (__closure=
#14 (anonymous namespace)
#15 QThreadPrivate:
#16 0x000055e3d908c9eb in start_thread (arg=<optimized out>) at pthread_
#17 0x000055e3d9110dfc in clone3 () at ../sysdeps/
Thread 11 (Thread 0x55e3c4eb86c0 (LWP 6334) "okular:sh5"): abstimed_ wait_common (futex_ word=futex_ word@entry= 0x55e3dc1122b8, expected= expected@ entry=0, clockid= clockid@ entry=0, abstime= abstime@ entry=0x0, private= private@ entry=0, cancel= cancel@ entry=true) at futex-internal.c:87 futex_abstimed_ wait_cancelable 64 (futex_ word=futex_ word@entry= 0x55e3dc1122b8, expected= expected@ entry=0, clockid= clockid@ entry=0, abstime= abstime@ entry=0x0, private= private@ entry=0) at futex-internal. c:139 cond_wait_ common (abstime=0x0, clockid=0, mutex=0x55e3dc1 12268, cond=0x55e3dc11 2290) at pthread_ cond_wait. c:503 cond_wait (cond=0x55e3dc1 12290, mutex=0x55e3dc1 12268) at pthread_ cond_wait. c:618 23.1.7/ src/c11/ impl/threads_ posix.c: 135 thread_ func() () at ../mesa- 23.1.7/ src/util/ u_queue. c:290
#1 __futex_
#2 0x000055e3d908952f in __GI___
#3 0x000055e3d908bd40 in __pthread_
#4 ___pthread_
#5 0x000055e3cc2c794c in cnd_wait () at ../mesa-
#6 util_queue_
#7 0x000055e3cc31485c in imp...