[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2022-09-08 Thread Tony
https://bugs.kde.org/show_bug.cgi?id=410092

Tony  changed:

   What|Removed |Added

 CC|jodr...@live.com|

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2022-09-04 Thread Unknown
https://bugs.kde.org/show_bug.cgi?id=410092

.  changed:

   What|Removed |Added

 CC|dev.rindeal+bugs.kde.org@gm |
   |ail.com |

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2022-01-12 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=410092

Fushan Wen  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=446531

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2021-02-13 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=410092

Patrick Silva  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #9 from Patrick Silva  ---
ops, I think my crash is a different issue. At least the steps to reproduce are
different, see bug 432891. Sorry for noise.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2021-02-13 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=410092

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #8 from Patrick Silva  ---
I can reproduce this crash on Arch Linux running Ark 20.12.2 and on neon
unstable
using a .tar file containing +2k jpg files. But the crash does not occur
consistently. Below you can see the backtrace generated on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Graphics Platform: Wayland

Application: Ark (ark), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f257a9ca380
(LWP 3870))]
[New LWP 3871]
[New LWP 3872]
[New LWP 3873]
[New LWP 3874]
[New LWP 3875]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x7f257e4f3aff in __GI___poll (fds=fds@entry=0x7ffd0beae0e8,
nfds=nfds@entry=1, timeout=timeout@entry=1000) at
../sysdeps/unix/sysv/linux/poll.c:29

Thread 6 (Thread 0x7f2574919700 (LWP 3875)):
#0  0x7f257e4f3aff in __GI___poll (fds=0x7f255c005240, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f257d03b18e in g_main_context_poll (priority=,
n_fds=1, fds=0x7f255c005240, timeout=, context=0x7f255c000c20)
at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f255c000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=) at
../../../glib/gmain.c:4042
#3  0x7f257d03b2c3 in g_main_context_iteration (context=0x7f255c000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x7f257eabefbb in QEventDispatcherGlib::processEvents
(this=0x7f255c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x7f257ea631ab in QEventLoop::exec (this=this@entry=0x7f2574918cb0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x7f257e87da12 in QThread::exec (this=this@entry=0x7f257df36d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x7f257deb2f4b in QDBusConnectionManager::run (this=0x7f257df36d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x7f257e87ebac in QThreadPrivate::start (arg=0x7f257df36d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:329
#9  0x7f257d95c609 in start_thread (arg=) at
pthread_create.c:477
#10 0x7f257e500293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f2576a74700 (LWP 3874)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x56476783e2c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56476783e278,
cond=0x56476783e2a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56476783e2a0, mutex=0x56476783e278) at
pthread_cond_wait.c:638
#3  0x7f2578971e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x7f2578971a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x7f257d95c609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7f257e500293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2577275700 (LWP 3873)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x56476783e2c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56476783e278,
cond=0x56476783e2a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56476783e2a0, mutex=0x56476783e278) at
pthread_cond_wait.c:638
#3  0x7f2578971e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x7f2578971a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x7f257d95c609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7f257e500293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2577a76700 (LWP 3872)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x56476783e2c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56476783e278,
cond=0x56476783e2a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56476783e2a0, mutex=0x56476783e278) at
pthread_cond_wait.c:638
#3  0x7f2578971e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x7f2578971a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x7f257d95c609 in start_thread (arg=) at
pthread_create.c:477
#6  0x7f257e500293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2021-01-05 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=410092

Elvis Angelaccio  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/util
   ||ities/ark/commit/a41e69b30c
   ||c07dd758849f8685d322150459e
   ||4f1
   Version Fixed In||20.12.2
 Status|CONFIRMED   |RESOLVED

--- Comment #7 from Elvis Angelaccio  ---
Git commit a41e69b30cc07dd758849f8685d322150459e4f1 by Elvis Angelaccio.
Committed on 05/01/2021 at 21:03.
Pushed by elvisangelaccio into branch 'release/20.12'.

Fix crash after closing the window while loading a TAR archive

A first problem was in LibarchivePlugin::list() not checking
isInterruptionRequested() after the while loop. It was wrongly calling
emitCorruptArchive() instead of aborting as requested.

But according to the stacktrace, the actual crash seemed to be caused by
the for() loop over qAsConst(m_jobs):

#0  0x75f6a023 in QHashData::nextNode(QHashData::Node*) () from
/usr/lib/libQt5Core.so.5
#1  0x7fffe1dcb2ec in QHash::const_iterator::operator++ (this=0x7fffc4d0) at
/usr/include/qt/QtCore/qhash.h:426
#2  0x7fffe1dcadac in QSet::const_iterator::operator++
(this=0x7fffc4d0) at /usr/include/qt/QtCore/qset.h:174
#3  0x7fffe1dca17e in JobTracker::~JobTracker (this=0x55c319c0) at
../part/jobtracker.cpp:41

Porting to QSetIterator fixes the crash.
FIXED-IN: 20.12.2

M  +3-1part/jobtracker.cpp
M  +4-0plugins/libarchive/libarchiveplugin.cpp

https://invent.kde.org/utilities/ark/commit/a41e69b30cc07dd758849f8685d322150459e4f1

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2021-01-05 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=410092

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||dev.rindeal+bugs.kde.org@gm
   ||ail.com

--- Comment #6 from Elvis Angelaccio  ---
*** Bug 418676 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2021-01-05 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=410092

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||ddramb...@gmail.com

--- Comment #5 from Elvis Angelaccio  ---
*** Bug 414149 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2020-12-01 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=410092

Justin Zobel  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||justin.zo...@gmail.com
 Status|REPORTED|CONFIRMED

--- Comment #4 from Justin Zobel  ---
I'm able to replicate this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 410092] Ark crashes if you close it while decompressing a file.

2020-11-13 Thread Tony
https://bugs.kde.org/show_bug.cgi?id=410092

Tony  changed:

   What|Removed |Added

Summary|Ark crashes if you close it |Ark crashes if you close it
   |while it decompressing a|while decompressing a file.
   |file.   |

-- 
You are receiving this mail because:
You are watching all bug changes.