Bug 238131 - konqueror crash during session restore
Summary: konqueror crash during session restore
Status: RESOLVED WORKSFORME
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 07:49 UTC by Ritesh Raj Sarraf
Modified: 2010-05-23 01:00 UTC (History)
1 user (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 Ritesh Raj Sarraf 2010-05-19 07:49:42 UTC
Application: konqueror (4.4.3 (KDE 4.4.3))
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
I had a big list of tabs open in konqueror and I rebooted my machine without closing konqueror because I wanted to retain my tabs after reboot.

After reboot, konqueror prompted me to "Restore Session" and when I said 'Yes', it crashed.

The crash can be reproduced every time.

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f01daf22750 (LWP 4604))]

Thread 2 (Thread 0x7f01c4e57910 (LWP 4619)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f01c5d63606 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f01c6d27220) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#2  0x00007f01c5d63649 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f01c6d352ec) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#3  0x00007f01d3fa873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f01da7c669d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f01daf22750 (LWP 4604)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0xe774d0, number=..., base=10, ok=0x7fff567ad02f, group_sep_mode=QLocalePrivate::FailOnGroupSeparators)
    at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString (this=0xe774d0, number=..., base=10, ok=0x7fff567ad02f, group_sep_mode=QLocalePrivate::FailOnGroupSeparators) at ../../include/QtCore/../../src/corelib/tools/qstring.h:715
#7  QLocalePrivate::stringToLongLong (this=0xe774d0, number=..., base=10, ok=0x7fff567ad02f, group_sep_mode=QLocalePrivate::FailOnGroupSeparators) at tools/qlocale.cpp:4391
#8  0x00007f01d84f8afc in QString::toLongLong (this=0x19578b0, ok=0x0, base=10) at tools/qstring.cpp:5327
#9  0x00007f01d84f8b99 in QString::toInt (this=0xe774d0, ok=0x19578b0, base=10) at tools/qstring.cpp:5465
#10 0x00007f01c6f74cab in KWebKitPart::openUrl(KUrl const&) () from /usr/lib/libkwebkit.so.1
#11 0x00007f01c6f7f566 in WebKitBrowserExtension::restoreState(QDataStream&) () from /usr/lib/libkwebkit.so.1
#12 0x00007f01daa99d2f in KonqView::restoreHistory (this=0x1909160) at ../../../../apps/konqueror/src/konqview.cpp:858
#13 0x00007f01daa9a37b in KonqView::loadHistoryConfig (this=0x1909160, config=<value optimized out>, prefix=...) at ../../../../apps/konqueror/src/konqview.cpp:1394
#14 0x00007f01daaa2110 in KonqViewManager::loadItem (this=0x1167920, cfg=..., parent=<value optimized out>, name=<value optimized out>, defaultURL=<value optimized out>, 
    openUrl=<value optimized out>, forcedUrl=..., openAfterCurrentPage=<value optimized out>, pos=-1) at ../../../../apps/konqueror/src/konqviewmanager.cpp:1229
#15 0x00007f01daaa18d5 in KonqViewManager::loadItem (this=0x1167920, cfg=..., parent=<value optimized out>, name=<value optimized out>, defaultURL=<value optimized out>, 
    openUrl=<value optimized out>, forcedUrl=..., openAfterCurrentPage=false, pos=-1) at ../../../../apps/konqueror/src/konqviewmanager.cpp:1322
#16 0x00007f01daaa1565 in KonqViewManager::loadItem (this=0x1167920, cfg=..., parent=<value optimized out>, name=<value optimized out>, defaultURL=<value optimized out>, 
    openUrl=<value optimized out>, forcedUrl=..., openAfterCurrentPage=false, pos=-1) at ../../../../apps/konqueror/src/konqviewmanager.cpp:1296
#17 0x00007f01daaa2eb3 in KonqViewManager::loadRootItem (this=0x1167920, cfg=..., parent=<value optimized out>, defaultURL=..., openUrl=true, forcedUrl=..., openAfterCurrentPage=101, pos=-1)
    at ../../../../apps/konqueror/src/konqviewmanager.cpp:1139
#18 0x00007f01daaa4d69 in KonqViewManager::openSavedWindow (configGroup=...) at ../../../../apps/konqueror/src/konqviewmanager.cpp:362
#19 0x00007f01daafedaa in KonqSessionManager::restoreSession (this=<value optimized out>, sessionFilePath=<value optimized out>, openTabsInsideCurrentWindow=false, parent=0x0)
    at ../../../../apps/konqueror/src/konqsessionmanager.cpp:298
#20 0x00007f01daafee95 in KonqSessionManager::restoreSessions (this=0xf9a8b0, sessionFilePathsList=<value optimized out>, openTabsInsideCurrentWindow=<value optimized out>, parent=0x0)
    at ../../../../apps/konqueror/src/konqsessionmanager.cpp:261
#21 0x00007f01dab01e0b in KonqSessionManager::askUserToRestoreAutosavedAbandonedSessions (this=<value optimized out>) at ../../../../apps/konqueror/src/konqsessionmanager.cpp:353
#22 0x00007f01daaa6f90 in KonqMisc::createBrowserWindowFromProfile (_path=<value optimized out>, filename=<value optimized out>, url=<value optimized out>, args=<value optimized out>, 
    browserArgs=..., forbidUseHTML=false, filesToSelect=..., tempFile=false, openUrl=true, show=true) at ../../../../apps/konqueror/src/konqmisc.cpp:123
#23 0x00007f01dab14031 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:205
#24 0x00007f01da719abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff567b0398) at libc-start.c:222
#25 0x0000000000400699 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2010-05-22 15:54:30 UTC
(In reply to comment #0)
> Application: konqueror (4.4.3 (KDE 4.4.3))
> KDE Platform Version: 4.4.3 (KDE 4.4.3)
> Qt Version: 4.6.2
> Operating System: Linux 2.6.32-5-amd64 x86_64
> Distribution: Debian GNU/Linux testing (squeeze)
> 
> -- Information about the crash:
> I had a big list of tabs open in konqueror and I rebooted my machine without
> closing konqueror because I wanted to retain my tabs after reboot.

How many is a "big list of tabs" ? 5, 10, 15 ?

> After reboot, konqueror prompted me to "Restore Session" and when I said 'Yes',
> it crashed.
> 
> The crash can be reproduced every time.

I am unable to duplicate this, but then again I am on the current version of kwebkitpart from trunk...
Comment 2 Ritesh Raj Sarraf 2010-05-22 18:22:44 UTC
It was around 15 - 20 tabs.

Asking konqueror to not restore and forget it, later the bug was not reproducible. So, basically, at this moment I cannot reproduce the bug.

If the backtrace is of not much use, please feel free to close it.
Comment 3 Dawit Alemayehu 2010-05-23 01:00:45 UTC
(In reply to comment #2)
> It was around 15 - 20 tabs.
> 
> Asking konqueror to not restore and forget it, later the bug was not
> reproducible. So, basically, at this moment I cannot reproduce the bug.
> 
> If the backtrace is of not much use, please feel free to close it.

Ok. Feel free to reopen the ticket if the problem persists again...