[Bug 2039765] Re: crash in file_unix isOnCifs if checked against btrfs(when overwriting files in btrfs on Dolphin)

2023-12-05 Thread Buo-ren, Lin
The upstream bug report of the crash on file overwriting is:
https://bugs.kde.org/show_bug.cgi?id=474451

** Bug watch added: KDE Bug Tracking System #474451
   https://bugs.kde.org/show_bug.cgi?id=474451

** Also affects: kio-apt via
   https://bugs.kde.org/show_bug.cgi?id=474451
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kio in Ubuntu.
https://bugs.launchpad.net/bugs/2039765

Title:
  crash in file_unix isOnCifs if checked against btrfs(when overwriting
  files in btrfs on Dolphin)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kio-apt/+bug/2039765/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 2039765] Re: crash in file_unix isOnCifs if checked against btrfs(when overwriting files in btrfs on Dolphin)

2023-12-05 Thread Buo-ren, Lin
I have attempted to escalate this bug on the Ubuntu Community Hub:
https://discourse.ubuntu.com/t/overwriting-files-on-the-btrfs-file-
system-on-kubuntu-23-10-crash/40822

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kio in Ubuntu.
https://bugs.launchpad.net/bugs/2039765

Title:
  crash in file_unix isOnCifs if checked against btrfs(when overwriting
  files in btrfs on Dolphin)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kio-apt/+bug/2039765/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 2039765] Re: crash in file_unix isOnCifs if checked against btrfs(when overwriting files in btrfs on Dolphin)

2023-12-05 Thread Bug Watch Updater
Launchpad has imported 26 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=474451.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2023-09-12T13:03:55+00:00 Ultralux97 wrote:

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:
Application: Okular (okular), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr = {get() = 0x0}
[KCrash Handler]
#6  QString::QString(QString const&) (other=, this=0x55e38737d980, this=, 
other=) at /usr/include/qt/QtCore/qstring.h:1093
#7  KMountPoint::mountType() const (this=0x0) at 
/usr/src/debug/kio/kio-5.110.0/src/core/kmountpoint.cpp:411
#8  0x55e3b494a87d in isOnCifsMount (filePath=...) at 
/usr/include/qt/QtCore/qshareddata.h:161
#9  FileProtocol::copy(QUrl const&, QUrl const&, int, QFlags) 
(this=0x55e379f75b70, srcUrl=..., destUrl=, _mode=-1, 
_flags=...) at 
/usr/src/debug/kio/kio-5.110.0/src/ioslaves/file/file_unix.cpp:743
#10 0x55e3db31c8db in KIO::SlaveBase::dispatch(int, QByteArray const&) 
(this=0x55e379f75b80, command=, data=...) at 
/usr/src/debug/kio/kio-5.110.0/src/core/slavebase.cpp:1364
#11 0x55e3db31520e in KIO::SlaveBase::dispatchLoop() (this=0x55e379f75b80) 
at /usr/src/debug/kio/kio-5.110.0/src/core/slavebase.cpp:342
#12 0x55e3db395e87 in KIO::WorkerThread::run() (this=0x55e3ded98300) at 
/usr/src/debug/kio/kio-5.110.0/src/core/workerthread.cpp:62
#13 0x55e3d98f35da in operator() (__closure=) at 
thread/qthread_unix.cpp:350
#14 (anonymous 
namespace)::terminate_on_exception > 
(t=) at thread/qthread_unix.cpp:287
#15 QThreadPrivate::start(void*) (arg=0x55e3ded98300) at 
thread/qthread_unix.cpp:310
#16 0x55e3d908c9eb in start_thread (arg=) at 
pthread_create.c:444
#17 0x55e3d9110dfc in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 11 (Thread 0x55e3c4eb86c0 (LWP 6334) "okular:sh5"):
#1  __futex_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
#2  0x55e3d908952f in __GI___futex_abstimed_wait_cancelable64 
(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
#3  0x55e3d908bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, 
mutex=0x55e3dc112268, cond=0x55e3dc112290) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e3dc112290, mutex=0x55e3dc112268) at 
pthread_cond_wait.c:618
#5  0x55e3cc2c794c in cnd_wait () at 
../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x55e3cc31485c in impl_thrd_routine() () at 
../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x55e3d908c9eb in start_thread (arg=) at 
pthread_create.c:444
#9  0x55e3d9110dfc in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x55e3c56b96c0 (LWP 6333) "okular:sh4"):
#1  __futex_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
#2  0x55e3d908952f in __GI___futex_abstimed_wait_cancelable64 
(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
#3  0x55e3d908bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, 
mutex=0x55e3dc112268, cond=0x55e3dc112290) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e3dc112290, mutex=0x55e3dc112268) at 
pthread_cond_wait.c:618
#5  0x55e3cc2c794c in cnd_wait () at 
../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x55e3cc31485c in impl_thrd_routine() () at 
../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x55e3d908c9eb in start_thread (arg=) at 
pthread_create.c:444
#9  0x55e3d9110dfc in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x55e3c5eba6c0 (LWP 6332) "okular:sh3"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55e3d

[Bug 2039765] Re: crash in file_unix isOnCifs if checked against btrfs(when overwriting files in btrfs on Dolphin)

2023-12-10 Thread Buo-ren, Lin
I can verify that after applying the bug-474451.patch patch this bug is
no longer reproduced.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kio in Ubuntu.
https://bugs.launchpad.net/bugs/2039765

Title:
  crash in file_unix isOnCifs if checked against btrfs(when overwriting
  files in btrfs on Dolphin)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kio-apt/+bug/2039765/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 2039765] Re: crash in file_unix isOnCifs if checked against btrfs(when overwriting files in btrfs on Dolphin)

2023-12-10 Thread Buo-ren, Lin
Another crash triggered in a slightly different scenario(overwrite
multiple files and directories vs. overwrite single file) seems resolved
by applying the kmountpoint-btrfs.patch patch.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kio in Ubuntu.
https://bugs.launchpad.net/bugs/2039765

Title:
  crash in file_unix isOnCifs if checked against btrfs(when overwriting
  files in btrfs on Dolphin)

To manage notifications about this bug go to:
https://bugs.launchpad.net/kio-apt/+bug/2039765/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs