Bug 311944 - kate crashed when performing a session quick open after having just saved a new session [QUrl::operator==(), KActivities::ResourceInstance::setUri(), KateViewManager::createView()]
Summary: kate crashed when performing a session quick open after having just saved a n...
Status: RESOLVED DUPLICATE of bug 315649
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: VHI crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-19 17:03 UTC by Craig Magina
Modified: 2013-04-05 10:51 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (7.66 KB, text/plain)
2013-04-05 10:51 UTC, John Koch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Magina 2012-12-19 17:03:27 UTC
Application: kate (3.9.90)
KDE Platform Version: 4.9.90
Qt Version: 4.8.3
Operating System: Linux 3.7.0-7-generic x86_64
Distribution: Ubuntu Raring Ringtail (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I had a few files open, so I created a new session via the menu. After which I used the session quick open option to open a different session. I tried to reproduce this by re-opening kate and doing session quick opens between my two sessions, but it did not reproduce. I also tried to reproduce it by opening a few files and creating a new session before performing the session quick open, but it did not reproduce the crash.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fba50bb87c0 (LWP 4078))]

Thread 4 (Thread 0x7fba33f89700 (LWP 4146)):
#0  0x00007fba504a9b5d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fba4d65b13f in read (__nbytes=16, __buf=0x7fba33f88ba0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x1911ec0) at /build/buildd/glib2.0-2.34.3/./glib/gwakeup.c:212
#3  0x00007fba4d61e8f4 in g_main_context_check (context=context@entry=0x7fba2c0009a0, max_priority=2147483647, fds=fds@entry=0x7fba2c002bb0, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3129
#4  0x00007fba4d61ed02 in g_main_context_iterate (context=context@entry=0x7fba2c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3287
#5  0x00007fba4d61ee84 in g_main_context_iteration (context=0x7fba2c0009a0, may_block=1) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3351
#6  0x00007fba4e3e6c16 in QEventDispatcherGlib::processEvents (this=0x7fba2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fba4e3b72bf in QEventLoop::processEvents (this=this@entry=0x7fba33f88d90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fba4e3b7548 in QEventLoop::exec (this=0x7fba33f88d90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fba4e2b8b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fba4e3979af in QInotifyFileSystemWatcherEngine::run (this=0x2ae9b20) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fba4e2bbaec in QThreadPrivate::start (arg=0x2ae9b20) at thread/qthread_unix.cpp:338
#12 0x00007fba4daedf9f in start_thread (arg=0x7fba33f89700) at pthread_create.c:311
#13 0x00007fba504b70cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7fba33788700 (LWP 4150)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:168
#1  0x00007fba3e20ccd7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fba3e51a660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fba3e20cd09 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fba4daedf9f in start_thread (arg=0x7fba33788700) at pthread_create.c:311
#4  0x00007fba504b70cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7fba2b97f700 (LWP 4935)):
#0  0x00007fba504ab44d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fba4d61ed64 in g_main_context_poll (n_fds=1, fds=0x7fba20002bb0, timeout=-1, context=0x7fba200009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fba200009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3285
#3  0x00007fba4d61ee84 in g_main_context_iteration (context=0x7fba200009a0, may_block=1) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3351
#4  0x00007fba4e3e6c16 in QEventDispatcherGlib::processEvents (this=0x7fba200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fba4e3b72bf in QEventLoop::processEvents (this=this@entry=0x7fba2b97ed90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fba4e3b7548 in QEventLoop::exec (this=0x7fba2b97ed90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fba4e2b8b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fba4e3979af in QInotifyFileSystemWatcherEngine::run (this=0x30270d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fba4e2bbaec in QThreadPrivate::start (arg=0x30270d0) at thread/qthread_unix.cpp:338
#10 0x00007fba4daedf9f in start_thread (arg=0x7fba2b97f700) at pthread_create.c:311
#11 0x00007fba504b70cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7fba50bb87c0 (LWP 4078)):
[KCrash Handler]
#6  QUrl::operator== (this=0x30, url=...) at io/qurl.cpp:6132
#7  0x00007fba4a7bacd1 in KActivities::ResourceInstance::setUri(QUrl const&) () from /usr/lib/libkactivities.so.6
#8  0x00007fba4f019638 in createView (doc=<optimized out>, this=0x26fab30) at ../../../kate/app/kateviewmanager.cpp:418
#9  KateViewManager::createView (this=0x26fab30, doc=<optimized out>) at ../../../kate/app/kateviewmanager.cpp:387
#10 0x00007fba4f01e222 in KateViewSpace::restoreConfig (this=0x2cccb30, viewMan=0x26fab30, config=0x2769490, groupname=...) at ../../../kate/app/kateviewspace.cpp:256
#11 0x00007fba4f01bc5c in KateViewManager::restoreSplitter (this=this@entry=0x26fab30, configBase=0x2769490, group=..., parent=parent@entry=0x26fab30, viewConfGrp=...) at ../../../kate/app/kateviewmanager.cpp:972
#12 0x00007fba4f01c568 in KateViewManager::restoreViewConfiguration (this=0x26fab30, config=...) at ../../../kate/app/kateviewmanager.cpp:853
#13 0x00007fba4f00c8da in KateMainWindow::readProperties (this=0x1f29120, config=...) at ../../../kate/app/katemainwindow.cpp:911
#14 0x00007fba4f026c6c in KateSessionManager::activateSession (this=0x1c86140, session=..., closeLast=closeLast@entry=true, saveLast=saveLast@entry=true, loadNew=loadNew@entry=true) at ../../../kate/app/katesession.cpp:343
#15 0x00007fba4f02987c in KateSessionsAction::openSession (this=<optimized out>, action=<optimized out>) at ../../../kate/app/katesession.cpp:1006
#16 0x00007fba4e3cd43e in QObject::event (this=0x298d480, e=<optimized out>) at kernel/qobject.cpp:1195
#17 0x00007fba4f8d9cf1 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#18 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1172
#19 0x00007fba4eadab97 in KAction::event (this=<optimized out>, event=0x40588e0) at ../../kdeui/actions/kaction.cpp:131
#20 0x00007fba4f8dfe9c in QApplicationPrivate::notify_helper (this=this@entry=0x18fadb0, receiver=receiver@entry=0x298d480, e=e@entry=0x40588e0) at kernel/qapplication.cpp:4562
#21 0x00007fba4f8e430a in QApplication::notify (this=0x7fff0bad1800, receiver=0x298d480, e=0x40588e0) at kernel/qapplication.cpp:4423
#22 0x00007fba4ebb45b6 in KApplication::notify (this=0x7fff0bad1800, receiver=0x298d480, event=0x40588e0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fba4e3b856e in QCoreApplication::notifyInternal (this=0x7fff0bad1800, receiver=receiver@entry=0x298d480, event=event@entry=0x40588e0) at kernel/qcoreapplication.cpp:915
#24 0x00007fba4e3bc3f1 in sendEvent (event=0x40588e0, receiver=0x298d480) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x18ca670) at kernel/qcoreapplication.cpp:1539
#26 0x00007fba4e3e6a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=s@entry=0x1911a80) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007fba4d61ea95 in g_main_dispatch (context=0x1914d20) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:2715
#29 g_main_context_dispatch (context=context@entry=0x1914d20) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3219
#30 0x00007fba4d61edc8 in g_main_context_iterate (context=context@entry=0x1914d20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3290
#31 0x00007fba4d61ee84 in g_main_context_iteration (context=0x1914d20, may_block=1) at /build/buildd/glib2.0-2.34.3/./glib/gmain.c:3351
#32 0x00007fba4e3e6bf6 in QEventDispatcherGlib::processEvents (this=0x18cbb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fba4f984c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fba4e3b72bf in QEventLoop::processEvents (this=this@entry=0x7fff0bad13a0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fba4e3b7548 in QEventLoop::exec (this=0x7fff0bad13a0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fba4e3bc708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#37 0x00007fba507acd4d in kdemain (argc=3, argv=<optimized out>) at ../../../kate/app/katemain.cpp:380
#38 0x00007fba503e1c15 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fff0bad1988, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0bad1978) at libc-start.c:227
#39 0x0000000000400701 in _start ()

This bug may be a duplicate of or related to bug 308595.

Possible duplicates by query: bug 308595.

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-02-20 11:17:16 UTC
This seems to work now and was an issue of the betas. If you get this crash again with KDE >= 4.10.0, please report back in bug #308595.

*** This bug has been marked as a duplicate of bug 308595 ***
Comment 2 Dominik Haumann 2013-03-20 21:02:23 UTC

*** This bug has been marked as a duplicate of bug 315649 ***
Comment 3 John Koch 2013-04-05 10:51:33 UTC
Created attachment 78655 [details]
New crash information added by DrKonqi

kate (3.10.1) on KDE Platform 4.10.1 using Qt 4.8.2

- What I was doing when the application crashed: I just saved one session and  was opening a new one with Quick Selection

-- Backtrace (Reduced):
#6  QUrl::operator== (this=0x10, url=...) at io/qurl.cpp:6035
#7  0x00007f0714eab791 in KActivities::ResourceInstance::setUri(QUrl const&) () from /usr/lib/libkactivities.so.6
#8  0x00007f0719731b4b in createView (doc=<optimized out>, this=0x1e2d4b0) at ../../../kate/app/kateviewmanager.cpp:418
#9  KateViewManager::createView (this=0x1e2d4b0, doc=<optimized out>) at ../../../kate/app/kateviewmanager.cpp:387
#10 0x00007f0719736fa4 in KateViewSpace::restoreConfig (this=0x19fae60, viewMan=0x1e2d4b0, config=0x19193a0, groupname=...) at ../../../kate/app/kateviewspace.cpp:256