Bug 314240 - Konqueror crashed on restoring session
Summary: Konqueror crashed on restoring session
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdewebkit (show other bugs)
Version: 4.9.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-01 09:45 UTC by kavol
Modified: 2013-05-16 23:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.43 KB, text/plain)
2013-02-01 09:49 UTC, kavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2013-02-01 09:45:01 UTC
Application: konqueror (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4
Operating System: Linux 3.7.4-204.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:

I've clicked into an interactive map (at chmi.cz) to open some info in a new window.

A dialogue appeared asking me about restoring previous session which wasn't closed appropritely. I was curious what should be restored, as I though there was no crash or whatever since last login (opening of Konqueror), so I've clicked that I wan't to restore the session ... Konqueror crashed right after that.

-- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f84c11a1880 (LWP 1439))]

Thread 5 (Thread 0x7f8498782700 (LWP 1441)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007f84ab7729bd in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f84ac15dd00 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x00007f84ab772ac9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f84bf7dbd15 in start_thread (arg=0x7f8498782700) at pthread_create.c:308
#4  0x00007f84bddfa46d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f8497e81700 (LWP 1442)):
#0  0x00007f84bddf198d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f84ba332d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f84900029c0, timeout=9999, context=0x7f84900009a0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f84900009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007f84ba332e44 in g_main_context_iteration (context=0x7f84900009a0, may_block=1) at gmain.c:3351
#4  0x00007f84bfb960f6 in QEventDispatcherGlib::processEvents (this=0x7f84900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f84bfb667df in QEventLoop::processEvents (this=this@entry=0x7f8497e80d00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f84bfb66a68 in QEventLoop::exec (this=0x7f8497e80d00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f84bfa68950 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f84bfa6b92c in QThreadPrivate::start (arg=0x1516fa0) at thread/qthread_unix.cpp:338
#9  0x00007f84bf7dbd15 in start_thread (arg=0x7f8497e81700) at pthread_create.c:308
#10 0x00007f84bddfa46d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f84414b0700 (LWP 2033)):
#0  0x00007f84bddf198d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f84ba332d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f84300031b0, timeout=-1, context=0x7f8430001510) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f8430001510, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00007f84ba332e44 in g_main_context_iteration (context=0x7f8430001510, may_block=1) at gmain.c:3351
#4  0x00007f84bfb960d6 in QEventDispatcherGlib::processEvents (this=0x7f8430003f10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f84bfb667df in QEventLoop::processEvents (this=this@entry=0x7f84414afcd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f84bfb66a68 in QEventLoop::exec (this=0x7f84414afcd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f84bfa68950 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f84aef7996e in KIO::NameLookUpThread::run (this=0x250ba30) at /usr/src/debug/kdelibs-4.9.5/kio/kio/hostinfo.cpp:226
#9  0x00007f84bfa6b92c in QThreadPrivate::start (arg=0x250ba30) at thread/qthread_unix.cpp:338
#10 0x00007f84bf7dbd15 in start_thread (arg=0x7f84414b0700) at pthread_create.c:308
#11 0x00007f84bddfa46d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f8445a69700 (LWP 19381)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f84bfa6bde7 in wait (time=30000, this=0x7f8430001390) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f8430001308, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f84bfa5f66f in QThreadPoolThread::run (this=0x7f8430003bb0) at concurrent/qthreadpool.cpp:141
#4  0x00007f84bfa6b92c in QThreadPrivate::start (arg=0x7f8430003bb0) at thread/qthread_unix.cpp:338
#5  0x00007f84bf7dbd15 in start_thread (arg=0x7f8445a69700) at pthread_create.c:308
#6  0x00007f84bddfa46d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f84c11a1880 (LWP 1439)):
[KCrash Handler]
#6  get (this=<error reading variable: Cannot access memory at address 0x789>) at ../JavaScriptCore/wtf/RefPtr.h:60
#7  document (this=<error reading variable: Cannot access memory at address 0x789>) at page/Frame.h:305
#8  WebCore::Editor::canCopy (this=0x789) at editing/Editor.cpp:238
#9  0x00007f84aaecc3e4 in QWebPagePrivate::handleClipboard (this=<optimized out>, ev=0x7fff61da31c0, button=<optimized out>) at Api/qwebpage.cpp:768
#10 0x00007f84aaecc54d in QWebPagePrivate::mouseReleaseEvent<QMouseEvent> (this=0x18ae640, ev=0x7fff61da31c0) at Api/qwebpage.cpp:798
#11 0x00007f84aaed26a6 in QWebPage::event (this=<optimized out>, ev=0x7fff61da31c0) at Api/qwebpage.cpp:3061
#12 0x00007f84aaed4c38 in QWebView::mouseReleaseEvent (this=<optimized out>, ev=0x7fff61da31c0) at Api/qwebview.cpp:1028
#13 0x00007f84a908c873 in KWebView::mouseReleaseEvent (this=0x18c3e10, event=0x7fff61da31c0) at /usr/src/debug/kdelibs-4.9.5/kdewebkit/kwebview.cpp:80
#14 0x00007f84bed4bf49 in QWidget::event (this=0x18c3e10, event=0x7fff61da31c0) at kernel/qwidget.cpp:8375
#15 0x00007f84aaed5127 in QWebView::event (this=0x18c3e10, e=0x7fff61da31c0) at Api/qwebview.cpp:865
#16 0x00007f84becfc5cc in QApplicationPrivate::notify_helper (this=this@entry=0xedbba0, receiver=receiver@entry=0x18c3e10, e=e@entry=0x7fff61da31c0) at kernel/qapplication.cpp:4562
#17 0x00007f84bed012ab in QApplication::notify (this=<optimized out>, receiver=0x18c3e10, e=0x7fff61da31c0) at kernel/qapplication.cpp:4105
#18 0x00007f84c0b93916 in KApplication::notify (this=0x7fff61da4000, receiver=0x18c3e10, event=0x7fff61da31c0) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#19 0x00007f84bfb67a8e in QCoreApplication::notifyInternal (this=0x7fff61da4000, receiver=0x18c3e10, event=0x7fff61da31c0) at kernel/qcoreapplication.cpp:946
#20 0x00007f84becfd40b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 QApplicationPrivate::sendMouseEvent (receiver=0x18c3e10, event=0x7fff61da31c0, alienWidget=0x0, nativeWidget=0x18c3e10, buttonDown=0x7f84bf7d0268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#22 0x00007f84bed77b74 in QETWidget::translateMouseEvent (this=this@entry=0x18c3e10, event=event@entry=0x7fff61da3930) at kernel/qapplication_x11.cpp:4537
#23 0x00007f84bed76901 in QApplication::x11ProcessEvent (this=0x7fff61da4000, event=0x7fff61da3930) at kernel/qapplication_x11.cpp:3660
#24 0x00007f84bed9ca5c in x11EventSourceDispatch (s=s@entry=0xede410, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#25 0x00007f84ba332a55 in g_main_dispatch (context=0xedd100) at gmain.c:2715
#26 g_main_context_dispatch (context=context@entry=0xedd100) at gmain.c:3219
#27 0x00007f84ba332d88 in g_main_context_iterate (context=context@entry=0xedd100, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#28 0x00007f84ba332e44 in g_main_context_iteration (context=0xedd100, may_block=1) at gmain.c:3351
#29 0x00007f84bfb960d6 in QEventDispatcherGlib::processEvents (this=0xe0f7f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f84bed9c73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#31 0x00007f84bfb667df in QEventLoop::processEvents (this=this@entry=0x7fff61da3d00, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f84bfb66a68 in QEventLoop::exec (this=0x7fff61da3d00, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f84bfb6b858 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x00007f84a2688812 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.9.5/konqueror/src/konqmain.cpp:227
#35 0x000000000040822a in launch (argc=argc@entry=2, _name=_name@entry=0xebdd18 "/usr/bin/konqueror", args=0xebdd34 "", args@entry=0xebdd2b "--silent", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0xebdd3c "", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0xebdd44 "kvolny.usersys.redhat.com;1359706901;984945;1045_TIME464113") at /usr/src/debug/kdelibs-4.9.5/kinit/kinit.cpp:726
#36 0x00000000004090bb in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/kinit/kinit.cpp:1218
#37 0x0000000000409700 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.9.5/kinit/kinit.cpp:1411
#38 0x0000000000405307 in main (argc=4, argv=<optimized out>, envp=0x7fff61da4f40) at /usr/src/debug/kdelibs-4.9.5/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 kavol 2013-02-01 09:49:04 UTC
Created attachment 76857 [details]
New crash information added by DrKonqi

konqueror (4.9.5) on KDE Platform 4.9.5 using Qt 4.8.4

- What I was doing when the application crashed:

this seems reproducible ...

1. make Konqueror crash, so that it wants to restore the session on next run
2. run Konqueror
3. choose to "ask later" when it wants to restore the session
4. go to http://portal.chmi.cz/portal/dt?portal_lang=cs&menu=JSPTabContainer/P1_0_Home
5. click some dot in the map that opens a new window
6. Konqueror asks about restoring session - answer to restore
KABOOM!

-- Backtrace (Reduced):
#6  get (this=<error reading variable: Cannot access memory at address 0x819>) at ../JavaScriptCore/wtf/RefPtr.h:60
#7  document (this=<error reading variable: Cannot access memory at address 0x819>) at page/Frame.h:305
#8  WebCore::Editor::canCopy (this=0x819) at editing/Editor.cpp:238
#9  0x00007f84aaecc3e4 in QWebPagePrivate::handleClipboard (this=<optimized out>, ev=0x7fff61da31c0, button=<optimized out>) at Api/qwebpage.cpp:768
#10 0x00007f84aaecc54d in QWebPagePrivate::mouseReleaseEvent<QMouseEvent> (this=0x16c21e0, ev=0x7fff61da31c0) at Api/qwebpage.cpp:798
Comment 2 Dawit Alemayehu 2013-05-16 23:28:59 UTC
Cannot reproduce. The crash is inside QtWebKit as well ; so if you are using the latest version (qtwebkit 2.3), I suggest you report this upstream to QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs