Bug 345506 - Dolphin crahes when entering ~/. into the address bar
Summary: Dolphin crahes when entering ~/. into the address bar
Status: RESOLVED DUPLICATE of bug 342807
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-25 10:31 UTC by Kai Uwe Broulik
Modified: 2015-03-26 18:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2015-03-25 10:31:40 UTC
Application: dolphin (14.12.95)
 (Compiled from sources)
Qt Version: 5.4.1
Operating System: Linux 4.0.0-040000rc3-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I clicked the address bar, started typing "~/" and then when pressing the dot it crashed (I wanted to access my ~/.config folder).
It does not happen when I enter /home/kaiuwe/.config, it seems the tilde is to blame. It also does not happen on subdirectories, eg ~/foo/.bar works

This happens with the save file dialog as well, so should be assigned to its component.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f9dff487840 (LWP 11633))]

Thread 4 (Thread 0x7f9de8b89700 (LWP 11634)):
#0  0x00007f9dfee6e0cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9df2e21b72 in poll (__timeout=-1, __nfds=1, __fds=0x7f9de8b88c80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x755fd0, cond=cond@entry=0x756010, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:447
#3  0x00007f9df2e2364f in xcb_wait_for_event (c=0x755fd0) at ../../src/xcb_in.c:622
#4  0x00007f9deaaad049 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007f9df987fb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9df771a0a5 in start_thread (arg=0x7f9de8b89700) at pthread_create.c:309
#7  0x00007f9dfee7857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9de09a2700 (LWP 11635)):
#0  0x00007f9dfee6e0cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9df499eebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9df499efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9df9b16bfc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9df9abb3b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9df987ab44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9df987fb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9df771a0a5 in start_thread (arg=0x7f9de09a2700) at pthread_create.c:309
#8  0x00007f9dfee7857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9ddaa0d700 (LWP 11642)):
[KCrash Handler]
#6  0x00007f9dfedb4e37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f9dfedb6528 in __GI_abort () at abort.c:89
#8  0x00007f9dfedadce6 in __assert_fail_base (fmt=0x7f9de809cfeb "%s%s%s:%u: %s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n", assertion=assertion@entry=0x7f9dfce2c5ec "m_prepend.isEmpty()", file=file@entry=0x7f9dfce2c5a0 "/home/kaiuwe/Projekte/kf5/src/frameworks/kio/src/widgets/kurlcompletion.cpp", line=line@entry=280, function=function@entry=0x7f9dfce2cb60 <UserListThread::run()::__PRETTY_FUNCTION__> "virtual void UserListThread::run()") at assert.c:92
#9  0x00007f9dfedadd92 in __GI___assert_fail (assertion=0x7f9dfce2c5ec "m_prepend.isEmpty()", file=0x7f9dfce2c5a0 "/home/kaiuwe/Projekte/kf5/src/frameworks/kio/src/widgets/kurlcompletion.cpp", line=280, function=0x7f9dfce2cb60 <UserListThread::run()::__PRETTY_FUNCTION__> "virtual void UserListThread::run()") at assert.c:101
#10 0x00007f9dfcde6196 in UserListThread::run (this=0x7afa50) at /home/kaiuwe/Projekte/kf5/src/frameworks/kio/src/widgets/kurlcompletion.cpp:280
#11 0x00007f9df987fb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f9df771a0a5 in start_thread (arg=0x7f9ddaa0d700) at pthread_create.c:309
#13 0x00007f9dfee7857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9dff487840 (LWP 11633)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9df2e21db9 in _xcb_conn_wait (c=c@entry=0x755fd0, cond=cond@entry=0x7fff22f5dd00, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:415
#2  0x00007f9df2e233ff in wait_for_reply (c=c@entry=0x755fd0, request=1027, e=e@entry=0x0) at ../../src/xcb_in.c:490
#3  0x00007f9df2e23512 in xcb_wait_for_reply (c=0x755fd0, request=1027, e=0x0) at ../../src/xcb_in.c:520
#4  0x00007f9deaaa945a in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007f9deaac319e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#6  0x00007f9deaac340b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#7  0x00007f9dfa3d4ef0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f9dfa3d54d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f9dfa3f625f in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f9dfa40b298 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f9dfa52052b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f9dfbffc391 in KMainWindow::event (this=0x83ca80, ev=0x1973e70) at /home/kaiuwe/Projekte/kf5/src/frameworks/kxmlgui/src/kmainwindow.cpp:806
#13 0x00007f9dfc03e4e6 in KXmlGuiWindow::event (this=0x83ca80, ev=0x1973e70) at /home/kaiuwe/Projekte/kf5/src/frameworks/kxmlgui/src/kxmlguiwindow.cpp:118
#14 0x00007f9dfa3c7b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f9dfa3cd000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f9df9abdbfb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f9df9abfc6b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f9df9b167d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f9df499ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f9df499ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f9df499efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f9df9b16be7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f9df9abb3b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f9df9ac2ffc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f9dff1b4572 in kdemain (argc=1, argv=0x7fff22f5eb78) at /home/kaiuwe/Projekte/kf5/src/kde/applications/dolphin/src/main.cpp:159
#26 0x0000000000400858 in main (argc=1, argv=0x7fff22f5eb78) at /home/kaiuwe/Projekte/kf5/build/kde/applications/dolphin/src/dolphin_dummy.cpp:3

Possible duplicates by query: bug 280669.

Reported using DrKonqi
Comment 1 Emmanuel Pescosta 2015-03-26 18:46:01 UTC
Thanks for the bug report!

I can't reproduce it, which text completion mode are you using?

The problem happens in KUrlCompletion (precondition not met), so I'll reassign it to KIO.
Comment 2 Emmanuel Pescosta 2015-03-26 18:48:16 UTC

*** This bug has been marked as a duplicate of bug 342807 ***