Bug 494533 - Assert in DolphinTabPage::restoreState
Summary: Assert in DolphinTabPage::restoreState
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 472653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-11 13:45 UTC by Giovanni
Modified: 2024-11-09 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni 2024-10-11 13:45:09 UTC
Application: dolphin (24.11.70)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.2
Frameworks Version: 6.7.0
Operating System: Linux 6.10.12-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 40 (Forty)"
DrKonqi: 6.2.0 [CoredumpBackend]

-- Information about the crash:
Dolphin crash at the startup in the line 321 of the function restoreState in dolphintabpage.cpp. The assert of the variable remain always false and the main tab is never opened. This bug is made using the original source code retrieved at https://github.com/KDE/dolphin?ysclid=m24s17lmv1321228587. Launched from console shows this messages:

Broken filename passed to function
Broken filename passed to function
Broken filename passed to function
ASSERT: "m_splitViewEnabled" in file /home/giovanni/Progetti/dolphin-master/src/dolphintabpage.cpp, line 321
KCrash: Application 'dolphin' crashing... crashRecursionCounter = 2
Annullato (core dump creato)

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted

[New LWP 21709]
[New LWP 21719]
[New LWP 21718]
[New LWP 21714]
[New LWP 21715]
[New LWP 21716]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/giovanni/Progetti/dolphin-master/build/bin/dolphin'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f9b038a8664 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f9afd5b5b40 (LWP 21709))]
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:533: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x7f9afd5b5b40 (LWP 21709))]

Thread 6 (Thread 0x7f9aee0006c0 (LWP 21716)):
#0  0x00007f9b0391c87d in poll () at /lib64/libc.so.6
#1  0x00007f9b02d75df5 in QtWaylandClient::EventThread::run() () at /lib64/libQt6WaylandClient.so.6
#2  0x00007f9b0415473c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#3  0x00007f9b038a66d7 in start_thread () at /lib64/libc.so.6
#4  0x00007f9b0392a60c in clone3 () at /lib64/libc.so.6

Thread 5 (Thread 0x7f9aeea006c0 (LWP 21715)):
#0  0x00007f9b038a2da9 in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f9b038a57f9 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f9b04160ffb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt6Core.so.6
#3  0x00007f9b02d75d8e in QtWaylandClient::EventThread::run() () at /lib64/libQt6WaylandClient.so.6
#4  0x00007f9b0415473c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#5  0x00007f9b038a66d7 in start_thread () at /lib64/libc.so.6
#6  0x00007f9b0392a60c in clone3 () at /lib64/libc.so.6

Thread 4 (Thread 0x7f9aef8006c0 (LWP 21714)):
#0  0x00007f9b0391c87d in poll () at /lib64/libc.so.6
#1  0x00007f9b015bbc34 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f9b0155b383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f9b042851a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#4  0x00007f9b03fa3bc3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#5  0x00007f9b040b7f4f in QThread::exec() () at /lib64/libQt6Core.so.6
#6  0x00007f9b05b0ae41 in QDBusConnectionManager::run() () at /lib64/libQt6DBus.so.6
#7  0x00007f9b0415473c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#8  0x00007f9b038a66d7 in start_thread () at /lib64/libc.so.6
#9  0x00007f9b0392a60c in clone3 () at /lib64/libc.so.6

Thread 3 (Thread 0x7f9aed6006c0 (LWP 21718)):
#0  0x00007f9b038a2da9 in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f9b038a57f9 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f9ae58a893d in cnd_wait () at /usr/lib64/dri/nouveau_dri.so
#3  0x00007f9ae588570b in util_queue_thread_func () at /usr/lib64/dri/nouveau_dri.so
#4  0x00007f9ae58a886c in impl_thrd_routine () at /usr/lib64/dri/nouveau_dri.so
#5  0x00007f9b038a66d7 in start_thread () at /lib64/libc.so.6
#6  0x00007f9b0392a60c in clone3 () at /lib64/libc.so.6

Thread 2 (Thread 0x7f9aeca006c0 (LWP 21719)):
#0  0x00007f9b0391c87d in poll () at /lib64/libc.so.6
#1  0x00007f9b015bbc34 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f9b0155b383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f9b042851a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#4  0x00007f9b03fa3bc3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#5  0x00007f9b040b7f4f in QThread::exec() () at /lib64/libQt6Core.so.6
#6  0x00007f9b0415473c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#7  0x00007f9b038a66d7 in start_thread () at /lib64/libc.so.6
#8  0x00007f9b0392a60c in clone3 () at /lib64/libc.so.6

Thread 1 (Thread 0x7f9afd5b5b40 (LWP 21709)):
[KCrash Handler]
#4  0x00007f9b038a8664 in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x00007f9b0384fc4e in raise () at /lib64/libc.so.6
#6  0x00007f9b03837902 in abort () at /lib64/libc.so.6
#7  0x00007f9b03ecb631 in qAbort() () at /lib64/libQt6Core.so.6
#8  0x00007f9b03f19e27 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () at /lib64/libQt6Core.so.6
#9  0x00007f9b03ecc4d3 in QMessageLogger::fatal(char const*, ...) const () at /lib64/libQt6Core.so.6
#10 0x00007f9b03ecb587 in qt_assert(char const*, char const*, int) () at /lib64/libQt6Core.so.6
#11 0x00000000004a23d9 in DolphinTabPage::restoreState (this=0x26f27fd0, state=...) at /home/giovanni/Progetti/dolphin-master/src/dolphintabpage.cpp:321
#12 0x00000000004a6ed9 in DolphinTabWidget::readProperties (this=0x26cb13b0, group=...) at /home/giovanni/Progetti/dolphin-master/src/dolphintabwidget.cpp:90
#13 0x000000000044bbaf in DolphinMainWindow::readProperties (this=0x26a60330, group=...) at /home/giovanni/Progetti/dolphin-master/src/dolphinmainwindow.cpp:787
#14 0x00007f9b06937bb8 in KMainWindow::readPropertiesInternal(KConfig*, int) () at /lib64/libKF6XmlGui.so.6
#15 0x00007f9b0693256a in KMainWindow::restore(int, bool) () at /lib64/libKF6XmlGui.so.6
#16 0x000000000043d9a7 in main (argc=1, argv=0x7fff04470e28) at /home/giovanni/Progetti/dolphin-master/src/main.cpp:248

Reported using DrKonqi
Comment 1 TraceyC 2024-10-17 20:01:53 UTC
*** Bug 472653 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2024-10-25 15:35:46 UTC
It'll be this:
        Q_ASSERT(m_splitViewEnabled);


Can you upload your ~/.config/dolphinrc
If you need a quick fix you can delete that file and it'll work again
Comment 3 Bug Janitor Service 2024-11-09 03:46:49 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!