Summary: | Crash after closing after saving as | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Jaime Torres <jtamate> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED MOVED | ||
Severity: | crash | CC: | aacid |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 24.12.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/150964/events/af9780c835e04bf8bcf1ea56665e4eb2/ |
Description
Jaime Torres
2025-03-20 13:48:46 UTC
Can you reproduce this? I don't see how something can crash in setHistoryClean Can you valgrind it? XDG Desktop portal takes up to 5 seconds to open or close the Choose file dialog. I can reproduce it. Tried two times with the same Valgrind log. After the save as dialog is accepted and hides, I just close okular (I have to tell kwin to not close okular). Same error with kwrite. It's not an okular problem. ==291811== at 0x484EC7C: realloc (vg_replace_malloc.c:1801) ==291811== by 0x66A3EE7: QArrayData::reallocateUnaligned(QArrayData*, void*, long long, long long, QArrayData::AllocationOption) (qarraydata.cpp:244) ==291811== by 0x664ABF2: UnknownInlinedFun (qarraydata.h:155) ==291811== by 0x664ABF2: UnknownInlinedFun (qarraydataops.h:275) ==291811== by 0x664ABF2: QByteArray::reallocData(long long, QArrayData::AllocationOption) (qbytearray.cpp:1989) ==291811== by 0x651FB2E: QByteArray::reserve(long long) (qbytearray.h:641) ==291811== by 0x677A521: UnknownInlinedFun (qstringconverter.h:192) ==291811== by 0x677A521: QSettingsPrivate::iniEscapedString(QString const&, QByteArray&) (qsettings.cpp:653) ==291811== by 0x685A06E: UnknownInlinedFun (qsettings.cpp:692) ==291811== by 0x685A06E: QConfFileSettingsPrivate::writeIniFile(QIODevice&, QMap<QSettingsKey, QVariant> const&) [clone .isra.0] (qsettings.cpp:1856) ==291811== by 0x6781D61: QConfFileSettingsPrivate::syncConfFile(QConfFile*) (qsettings.cpp:1481) ==291811== by 0x6781FD9: QConfFileSettingsPrivate::sync() (qsettings.cpp:1304) ==291811== by 0x677BC18: UnknownInlinedFun (qsettings.cpp:1310) ==291811== by 0x677BC18: QSettings::~QSettings() (qsettings.cpp:2739) ==291811== by 0x556B041: QFileDialogPrivate::saveSettings() (qfiledialog.cpp:2811) ==291811== by 0x555D7AE: .LTHUNK1.lto_priv.6 (qfiledialog.cpp:378) ==291811== by 0x5568CED: UnknownInlinedFun (qfiledialog.cpp:386) ==291811== by 0x5568CED: UnknownInlinedFun (qdialog_p.h:109) ==291811== by 0x5568CED: QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QList<QString> const&) (qfiledialog.cpp:2495) ==291811== by 0x1AAFC75C: Okular::Part::slotSaveFileAs(bool) [clone .part.0] (part.cpp:2597) ==291811== by 0x1AAA9306: Okular::Part::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_part.cpp:709) ==291811== by 0x65FFFC0: void doActivate<false>(QObject*, int, void**) (qobject.cpp:4127) Right then maybe it's worth to create a bug against the portal? Opened as bug# 502305 |