https://bugs.kde.org/show_bug.cgi?id=433546

--- Comment #6 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
@Alber: are you on Wayland? I can reproduce the crash from a wayland session,
but not if I run `ark --platform xcb`.

Also, my backtrace is somewhat different:

==26376== Invalid read of size 4
==26376==    at 0x4891CD4: Kerfuffle::Archive::isValid() const
(archive_kerfuffle.cpp:376)
==26376==    by 0x489D7AC: Kerfuffle::Job::onFinished(bool) (jobs.cpp:212)
==26376==    by 0x489E305: Kerfuffle::LoadJob::onFinished(bool) (jobs.cpp:294)
==26376==    by 0x48A2AB7: Kerfuffle::LoadJob::doWork()::$_1::operator()()
const (jobs.cpp:277)
==26376==    by 0x48A2A55: QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void,
Kerfuffle::LoadJob::doWork()::$_1>::call(Kerfuffle::LoadJob::doWork()::$_1&,
void**) (qobjectdefs_impl.h:146)
==26376==    by 0x48A2A20: void
QtPrivate::Functor<Kerfuffle::LoadJob::doWork()::$_1,
0>::call<QtPrivate::List<>, void>(Kerfuffle::LoadJob::doWork()::$_1&, void*,
void**) (qobjectdefs_impl.h:256)
==26376==    by 0x48A29CB:
QtPrivate::QFunctorSlotObject<Kerfuffle::LoadJob::doWork()::$_1, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (qobjectdefs_impl.h:443)
==26376==    by 0x674B531: QObject::event(QEvent*) (in
/usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x5861751: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.2)
==26376==    by 0x671EA29: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(in /usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x6721522: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (in /usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x6778053: ??? (in /usr/lib/libQt5Core.so.5.15.2)
==26376==  Address 0x220bb800 is 48 bytes inside a block of size 80 free'd
==26376==    at 0x483FEAB: operator delete(void*) (vg_replace_malloc.c:584)
==26376==    by 0x4892697: Kerfuffle::Archive::~Archive()
(archive_kerfuffle.cpp:203)
==26376==    by 0x67490BD: QObjectPrivate::deleteChildren() (in
/usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x6753F24: QObject::~QObject() (in
/usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x21465FEE: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x2146601B: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x67490BD: QObjectPrivate::deleteChildren() (in
/usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x6753F24: QObject::~QObject() (in
/usr/lib/libQt5Core.so.5.15.2)
==26376==    by 0x2143E817: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x2143E862: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x2143E8FB: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x124E27: MainWindow::~MainWindow() (mainwindow.cpp:76)
==26376==  Block was alloc'd at
==26376==    at 0x483EDEF: operator new(unsigned long)
(vg_replace_malloc.c:342)
==26376==    by 0x4891C0A: Kerfuffle::Archive::create(QString const&,
Kerfuffle::Plugin*, QObject*) (archive_kerfuffle.cpp:102)
==26376==    by 0x4891266: Kerfuffle::Archive::create(QString const&, QString
const&, QObject*) (archive_kerfuffle.cpp:65)
==26376==    by 0x4891F24: Kerfuffle::Archive::load(QString const&, QString
const&, QObject*) (archive_kerfuffle.cpp:136)
==26376==    by 0x21469CBB: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x21443C58: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x21445B99: ??? (in /home/elvis/install/lib/plugins/arkpart.so)
==26376==    by 0x4A4F314: ??? (in /usr/lib/libKF5Parts.so.5.80.0)
==26376==    by 0x4A500E3: KParts::ReadOnlyPart::openUrl(QUrl const&) (in
/usr/lib/libKF5Parts.so.5.80.0)
==26376==    by 0x125446: MainWindow::openUrl(QUrl const&) (mainwindow.cpp:232)
==26376==    by 0x12B0C8: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<QUrl const&>, void, void (MainWindow::*)(QUrl
const&)>::call(void (MainWindow::*)(QUrl const&), MainWindow*, void**)
(qobjectdefs_impl.h:152)
==26376==    by 0x12B027: void QtPrivate::FunctionPointer<void
(MainWindow::*)(QUrl const&)>::call<QtPrivate::List<QUrl const&>, void>(void
(MainWindow::*)(QUrl const&), MainWindow*, void**) (qobjectdefs_impl.h:185)

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

Reply via email to