[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2022-09-26 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=432891

Andrey  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #8 from Andrey  ---
Can we reproduce it with just a big archive, regardless amount of files within?
Then it might be related with BUG 445527

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2022-09-26 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=432891

Andrey  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=445527
 CC||butir...@gmail.com

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2022-09-25 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=432891

Elvis Angelaccio  changed:

   What|Removed |Added

   Keywords||wayland

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2022-09-16 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=432891

Patrick Silva  changed:

   What|Removed |Added

Version|unspecified |22.08.1
   Platform|Neon|Archlinux

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-11-12 Thread R David Dunphy
https://bugs.kde.org/show_bug.cgi?id=432891

R David Dunphy  changed:

   What|Removed |Added

 CC||rdd.dun...@gmail.com

--- Comment #7 from R David Dunphy  ---
I experience this opening a .tar.gz file on X11, too. In my case, the archive
only contains a handful of files, but some of those are several hundred MB in
size, so I think it's the size of the archive rather than the number of files
that is relevant.

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-10-25 Thread Nagy Tibor
https://bugs.kde.org/show_bug.cgi?id=432891

--- Comment #6 from Nagy Tibor  ---
>This stack trace shows either the liblzma or libarchive caused the crash not
>Ark directly,
>Can you attach a file you reproduce the crash with ?

Sorry but I cannot attach that archive for reasons. However this crash is not
specific that archive, any sufficiently large archive reproduces it.
(sufficiently large = 3000+ files, couple hundred megabytes compressed) You can
create your test archive by compressing random git folders with all the build
artifacts in them.

I also noticed there's a trick to trigger the crash. You have to wait until the
"Loading archive" progressbar pauses for a brief moment at the beginning of the
process. The larger your archive the easier it gets to notice this pause.
That's the exact moment when closing the window triggers the crash.

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-10-25 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=432891

Méven Car  changed:

   What|Removed |Added

 CC||meve...@gmail.com

--- Comment #5 from Méven Car  ---
(In reply to Nagy Tibor from comment #4)
> >can you also reproduce this if you run a Plasma X11 session instead of a 
> >Plasma Wayland session?
> 
> I can reproduce this around 9 out of 10 times on X11 with .tar.xz archives.
> 
> SOFTWARE/OS VERSIONS
> Operating System: KDE neon 5.23
> KDE Plasma Version: 5.23.1
> KDE Frameworks Version: 5.87.0
> Qt Version: 5.15.3
> Kernel Version: 5.11.0-38-generic (64-bit)
> Graphics Platform: X11
> 
> BACKTRACE
> Application: Ark (ark), signal: Segmentation fault
> Thread 4 (Thread 0x7f4062e43700 (LWP 9822)):
> [KCrash Handler]
> #4  0x7f407a8469ff in dict_put (byte=150 '\226', dict= pointer>) at ../../../../src/liblzma/lz/lz_decoder.h:192
> #5  lzma_decode (coder_ptr=0x7f404c04d350, dictptr=0x7f404c04c290,
> in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"..., in_pos=0x7f4062e429c8,
> in_size=62611) at ../../../../src/liblzma/lzma/lzma_decoder.c:485
> #6  0x7f407a84ac59 in lzma2_decode (coder_ptr=0x7f404c003a00,
> dict=0x7f404c04c290, in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"...,
> in_pos=0x7f4062e429c8, in_size=62611) at
> ../../../../src/liblzma/lzma/lzma2_decoder.c:170
> #7  0x7f407a841ea5 in decode_buffer (coder=0x7f404c04c290,
> in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"..., in_pos=0x7f4062e429c8,
> in_size=62611, out=0x7f404c03bc00 " c\025L@\177", out_pos=0x7f4062e429d0,
> out_size=65536) at ../../../../src/liblzma/lz/lz_decoder.c:89
> #8  0x7f407a83c7c0 in block_decode (coder_ptr=0x7f404c003c00,
> allocator=, in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"...,
> in_pos=0x7f4062e429c8, in_size=62611, out=0x7f404c03bc00 " c\025L@\177",
> out_pos=0x7f4062e429d0, out_size=65536, action=LZMA_RUN) at
> ../../../../src/liblzma/common/block_decoder.c:89
> #9  0x7f407a83e533 in stream_decode (coder_ptr=0x7f404c04bc80,
> allocator=0x0, in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"...,
> in_pos=0x7f4062e429c8, in_size=62611, out=0x7f404c03bc00 " c\025L@\177",
> out_pos=0x7f4062e429d0, out_size=65536, action=LZMA_RUN) at
> ../../../../src/liblzma/common/stream_decoder.c:254
> #10 0x7f407a835a4c in lzma_code (strm=0x7f404c03bb40, action= out>) at ../../../../src/liblzma/common/common.c:283
> #11 0x7f406c127601 in ?? () from
> /usr/lib/x86_64-linux-gnu/libarchive.so.13
> #12 0x7f406c11c4be in __archive_read_filter_consume () from
> /usr/lib/x86_64-linux-gnu/libarchive.so.13
> #13 0x7f406c147c7a in ?? () from
> /usr/lib/x86_64-linux-gnu/libarchive.so.13
> #14 0x7f406c11ba11 in archive_read_data_skip () from
> /usr/lib/x86_64-linux-gnu/libarchive.so.13
> #15 0x7f406c1ea60d in ?? () from
> /usr/lib/x86_64-linux-gnu/qt5/plugins/kerfuffle/kerfuffle_libarchive.so
> #16 0x7f407e3238e8 in Kerfuffle::LoadJob::doWork() () from
> /usr/lib/x86_64-linux-gnu/libkerfuffle.so.21
> #17 0x7f407c81c42c in QThreadPrivate::start (arg=0x55f138df9820) at
> thread/qthread_unix.cpp:329
> #18 0x7f407b804609 in start_thread (arg=) at
> pthread_create.c:477
> #19 0x7f407c49c293 in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

This stack trace shows either the liblzma or libarchive caused the crash not
Ark directly,
Can you attach a file you reproduce the crash with ?

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-10-24 Thread Nagy Tibor
https://bugs.kde.org/show_bug.cgi?id=432891

Nagy Tibor  changed:

   What|Removed |Added

 CC||xnagyti...@gmail.com

--- Comment #4 from Nagy Tibor  ---
>can you also reproduce this if you run a Plasma X11 session instead of a 
>Plasma Wayland session?

I can reproduce this around 9 out of 10 times on X11 with .tar.xz archives.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: X11

BACKTRACE
Application: Ark (ark), signal: Segmentation fault
Thread 4 (Thread 0x7f4062e43700 (LWP 9822)):
[KCrash Handler]
#4  0x7f407a8469ff in dict_put (byte=150 '\226', dict=)
at ../../../../src/liblzma/lz/lz_decoder.h:192
#5  lzma_decode (coder_ptr=0x7f404c04d350, dictptr=0x7f404c04c290,
in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"..., in_pos=0x7f4062e429c8,
in_size=62611) at ../../../../src/liblzma/lzma/lzma_decoder.c:485
#6  0x7f407a84ac59 in lzma2_decode (coder_ptr=0x7f404c003a00,
dict=0x7f404c04c290, in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"...,
in_pos=0x7f4062e429c8, in_size=62611) at
../../../../src/liblzma/lzma/lzma2_decoder.c:170
#7  0x7f407a841ea5 in decode_buffer (coder=0x7f404c04c290,
in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"..., in_pos=0x7f4062e429c8,
in_size=62611, out=0x7f404c03bc00 " c\025L@\177", out_pos=0x7f4062e429d0,
out_size=65536) at ../../../../src/liblzma/lz/lz_decoder.c:89
#8  0x7f407a83c7c0 in block_decode (coder_ptr=0x7f404c003c00,
allocator=, in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"...,
in_pos=0x7f4062e429c8, in_size=62611, out=0x7f404c03bc00 " c\025L@\177",
out_pos=0x7f4062e429d0, out_size=65536, action=LZMA_RUN) at
../../../../src/liblzma/common/block_decoder.c:89
#9  0x7f407a83e533 in stream_decode (coder_ptr=0x7f404c04bc80,
allocator=0x0, in=0x7f404c02c51d "[GIGANTIC_BUFFER_DUMP]"...,
in_pos=0x7f4062e429c8, in_size=62611, out=0x7f404c03bc00 " c\025L@\177",
out_pos=0x7f4062e429d0, out_size=65536, action=LZMA_RUN) at
../../../../src/liblzma/common/stream_decoder.c:254
#10 0x7f407a835a4c in lzma_code (strm=0x7f404c03bb40, action=) at ../../../../src/liblzma/common/common.c:283
#11 0x7f406c127601 in ?? () from /usr/lib/x86_64-linux-gnu/libarchive.so.13
#12 0x7f406c11c4be in __archive_read_filter_consume () from
/usr/lib/x86_64-linux-gnu/libarchive.so.13
#13 0x7f406c147c7a in ?? () from /usr/lib/x86_64-linux-gnu/libarchive.so.13
#14 0x7f406c11ba11 in archive_read_data_skip () from
/usr/lib/x86_64-linux-gnu/libarchive.so.13
#15 0x7f406c1ea60d in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/kerfuffle/kerfuffle_libarchive.so
#16 0x7f407e3238e8 in Kerfuffle::LoadJob::doWork() () from
/usr/lib/x86_64-linux-gnu/libkerfuffle.so.21
#17 0x7f407c81c42c in QThreadPrivate::start (arg=0x55f138df9820) at
thread/qthread_unix.cpp:329
#18 0x7f407b804609 in start_thread (arg=) at
pthread_create.c:477
#19 0x7f407c49c293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-02-17 Thread Tony
https://bugs.kde.org/show_bug.cgi?id=432891

--- Comment #3 from Tony  ---
Created attachment 135783
  --> https://bugs.kde.org/attachment.cgi?id=135783&action=edit
New crash information added by DrKonqi

ark (21.03.70) using Qt 5.15.2

- What I was doing when the application crashed:

Yep this keep happening but only on wayland.

One thing to notice, in my case it only happens with uncompressed tar and zip
archives.
Compressed 7z and tar files (.tar.Z) don't trigger it, i tried using different
algos for the compression (lz4, lzma/2, zstd, lrzip, bzip2) all was ok.

I used the sources of xanmod kernel which has ~70k files in it according to
"find $pwd -type f | wc -l" and the one thing that consistently triggered
410092.

-- Backtrace (Reduced):
#4  QtWaylandClient::QWaylandWindow::decoration (this=0x0) at
qwaylandwindow.cpp:854
#5  0x7fc86b6ad715 in
QtWaylandClient::QWaylandShmBackingStore::windowDecoration
(this=this@entry=0x56231686e460) at qwaylandshmbackingstore.cpp:363
#6  0x7fc86b6ae166 in QtWaylandClient::QWaylandShmBackingStore::resize
(this=this@entry=0x56231686e460, size=...) at qwaylandshmbackingstore.cpp:309
#7  0x7fc86b6ae29d in QtWaylandClient::QWaylandShmBackingStore::ensureSize
(this=this@entry=0x56231686e460) at qwaylandshmbackingstore.cpp:206
#8  0x7fc86b6ae2c9 in QtWaylandClient::QWaylandShmBackingStore::beginPaint
(this=this@entry=0x56231686e460, region=...) at qwaylandshmbackingstore.cpp:181

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-02-17 Thread Tony
https://bugs.kde.org/show_bug.cgi?id=432891

Tony  changed:

   What|Removed |Added

 CC||jodr...@live.com

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

[ark] [Bug 432891] Wayland: Ark crashes when closed while loading an archive containing thousands of files

2021-02-13 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=432891

Albert Astals Cid  changed:

   What|Removed |Added

Summary|Ark crashes when closed |Wayland: Ark crashes when
   |while loading an archive|closed while loading an
   |containing thousands of |archive containing
   |files   |thousands of files
 CC||aleix...@kde.org,
   ||meven@enioka.com,
   ||vlad.zahorod...@kde.org

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