Bug 320500 - Konqueror crashes when toolbars was edited
Summary: Konqueror crashes when toolbars was edited
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.10.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-30 19:44 UTC by Brallan Aguilar
Modified: 2014-11-03 09:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.3


Attachments
New crash information added by DrKonqi (9.71 KB, text/plain)
2014-01-12 02:22 UTC, Brallan Aguilar
Details
New crash information added by DrKonqi (7.61 KB, text/plain)
2014-03-20 19:08 UTC, Brallan Aguilar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brallan Aguilar 2013-05-30 19:44:11 UTC
Application: konqueror (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.9.4-200.fc18.i686 i686
Distribution (Platform): Fedora RPMs

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

1. I remove location toolbar
2. Settings, Configure Toolbars
3. Toolbar: Main Toolbar <Konqueror>
4. I choose Location Bar from Available actions
5. I drop it after <Merge> in Current actions
6. I press Ctrl+M to hide Menu bar
7. Restart Konqueror
8. Location Bar desappeared
9. I tryied to add Location Bar again and Konqueror crashes

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb75c1780 (LWP 3153))]

Thread 4 (Thread 0xb5fabb40 (LWP 3154)):
#0  0xb7797424 in __kernel_vsyscall ()
#1  0x4749018c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:171
#2  0x44fd6f05 in WTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0x458086c0 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#3  0x44fd6f40 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x458086c0 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#4  0x4748caff in start_thread (arg=0xb5fabb40) at pthread_create.c:308
#5  0x473c30be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132

Thread 3 (Thread 0xb5612b40 (LWP 3156)):
#0  0x474acdad in __GI_clock_gettime (clock_id=1, tp=0xb5611fa8) at ../sysdeps/unix/clock_gettime.c:115
#1  0x47bd1cf6 in do_gettime (frac=0xb5611fa0, sec=0xb5611f98) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x47cbb5ff in QTimerInfoList::updateCurrentTime (this=0xb5612028) at kernel/qeventdispatcher_unix.cpp:354
#4  0xb4c02074 in ?? ()

Thread 2 (Thread 0xb4819b40 (LWP 3159)):
#0  0xb7797424 in __kernel_vsyscall ()
#1  0x4749018c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:171
#2  0x45006a44 in WTF::ThreadCondition::wait (this=0xb57067dc, mutex=...) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:379
#3  0x44d0c2c3 in JSC::BlockAllocator::blockFreeingThreadMain (this=0xb5706750) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#4  0x44fec8a5 in WTF::threadEntryPoint (contextData=0xb56ac988) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/Threading.cpp:69
#5  0x450065b3 in WTF::wtfThreadEntryPoint (param=0x8b8ce30) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#6  0x4748caff in start_thread (arg=0xb4819b40) at pthread_create.c:308
#7  0x473c30be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132

Thread 1 (Thread 0xb75c1780 (LWP 3153)):
[KCrash Handler]
#7  0x483f9474 in QComboBox::lineEdit (this=0x0) at widgets/qcombobox.cpp:1786
#8  0x45c2f121 in KonqMainWindow::slotLocationLabelActivated() () from /lib/libkdeinit4_konqueror.so
#9  0x45c507e4 in KonqMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib/libkdeinit4_konqueror.so
#10 0x47c9f24e in QMetaObject::activate (sender=0x8b88cf8, m=0x48937bf8 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfa11168) at kernel/qobject.cpp:3539
#11 0x47fb3fae in QAction::triggered (this=this@entry=0x8b88cf8, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x47fb424c in QAction::activate (this=0x8b88cf8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#13 0x484b79b1 in trigger (this=<optimized out>) at ../../src/gui/kernel/qaction.h:218
#14 QToolButton::nextCheckState (this=0x8d5b278) at widgets/qtoolbutton.cpp:1144
#15 0x483dfe7c in QAbstractButtonPrivate::click (this=this@entry=0x8f49380) at widgets/qabstractbutton.cpp:530
#16 0x483e0176 in QAbstractButton::mouseReleaseEvent (this=0x8d5b278, e=0xbfa118b4) at widgets/qabstractbutton.cpp:1123
#17 0x484b7a5e in QToolButton::mouseReleaseEvent (this=0x8d5b278, e=0xbfa118b4) at widgets/qtoolbutton.cpp:718
#18 0x48015455 in QWidget::event (this=0x8d5b278, event=0xbfa118b4) at kernel/qwidget.cpp:8375
#19 0x483df752 in QAbstractButton::event (this=0x8d5b278, e=0xbfa118b4) at widgets/qabstractbutton.cpp:1082
#20 0x484b91ae in QToolButton::event (this=0x8d5b278, event=0xbfa118b4) at widgets/qtoolbutton.cpp:1160
#21 0x47fbb06c in QApplicationPrivate::notify_helper (this=0x89a82f8, receiver=0x8d5b278, e=0xbfa118b4) at kernel/qapplication.cpp:4562
#22 0x47fc060b in QApplication::notify (this=0x89a82f8, receiver=0x8d5b278, e=0xbfa118b4) at kernel/qapplication.cpp:4105
#23 0x4ca99002 in KApplication::notify (this=0xbfa12104, receiver=0x8d5b278, event=0xbfa118b4) at /usr/src/debug/kdelibs-4.10.3/kdeui/kernel/kapplication.cpp:311
#24 0x47c8807e in QCoreApplication::notifyInternal (this=0xbfa12104, receiver=0x8d5b278, event=0xbfa118b4) at kernel/qcoreapplication.cpp:949
#25 0x47fbbef5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=0x8d5b278, event=0xbfa118b4, alienWidget=0x8d5b278, nativeWidget=0x8c4f570, buttonDown=0x48955274 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#27 0x48045235 in QETWidget::translateMouseEvent (this=0x8c4f570, event=0xbfa11cdc) at kernel/qapplication_x11.cpp:4537
#28 0x48043edb in QApplication::x11ProcessEvent (this=0xbfa12104, event=0xbfa11cdc) at kernel/qapplication_x11.cpp:3660
#29 0x4806da85 in x11EventSourceDispatch (s=0x89a2218, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#30 0x4766415b in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x47664500 in g_main_context_iterate.isra.22 () from /lib/libglib-2.0.so.0
#32 0x476645e2 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x47cbaac2 in QEventDispatcherGlib::processEvents (this=0x8988a30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x4806d70b in QGuiEventDispatcherGlib::processEvents (this=0x8988a30, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x47c86a6d in QEventLoop::processEvents (this=this@entry=0xbfa11fd8, flags=...) at kernel/qeventloop.cpp:149
#36 0x47c86d69 in QEventLoop::exec (this=0xbfa11fd8, flags=...) at kernel/qeventloop.cpp:204
#37 0x47c8c35b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#38 0x47fb8ee5 in QApplication::exec () at kernel/qapplication.cpp:3823
#39 0x45c73b1b in kdemain () from /lib/libkdeinit4_konqueror.so
#40 0x0804872c in main ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-06-17 01:11:54 UTC
> #8  0x45c2f121 in KonqMainWindow::slotLocationLabelActivated() () from /lib/libkdeinit4_konqueror.so
>#9  0x45c507e4 in KonqMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib/libkdeinit4_konqueror.so

Could you install debug symbols and try to provide a better backtrace ?
Comment 2 Dawit Alemayehu 2014-01-01 16:45:58 UTC
See comment#1
Comment 3 Brallan Aguilar 2014-01-12 02:22:19 UTC
Created attachment 84584 [details]
New crash information added by DrKonqi

konqueror (4.11.5) on KDE Platform 4.11.5 using Qt 4.8.5

It's a new backtrace I got. I'm using KDE 4.11.5

-- Backtrace (Reduced):
#7  0x4bccb984 in QComboBox::lineEdit (this=0x0) at widgets/qcombobox.cpp:1786
#8  0x41fe7f0b in KonqMainWindow::slotLocationLabelActivated (this=0x974c348) at /usr/src/debug/kde-baseapps-4.11.5/konqueror/src/konqmainwindow.cpp:5307
#9  0x4200bcdd in KonqMainWindow::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfffc7b4, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.5/i686-redhat-linux-gnu/konqueror/src/konqmainwindow.moc:375
[...]
#11 0x4b86ec2a in QAction::triggered (this=this@entry=0x983d390, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x4b870a84 in QAction::activate (this=0x983d390, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
Comment 4 Brallan Aguilar 2014-03-20 19:08:14 UTC
Created attachment 85653 [details]
New crash information added by DrKonqi

konqueror (4.12.3) on KDE Platform 4.12.3 using Qt 4.8.5

- What I was doing when the application crashed:

After restart Konqueror and the Location Bar desapeared, I did:
1. Settings, Configure Toolbars
2. I saw Location Bar in the right panel, and I change its possition (moved up in the list)
3. Press OK, and Konqueror crashed

-- Backtrace (Reduced):
#7  0x4efd6464 in QComboBox::lineEdit (this=0x0) at widgets/qcombobox.cpp:1786
#8  0x48abef0b in KonqMainWindow::slotLocationLabelActivated (this=0x84d61c8) at /usr/src/debug/kde-baseapps-4.12.3/konqueror/src/konqmainwindow.cpp:5307
#9  0x48ae2d6d in KonqMainWindow::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfd4e8b4, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.12.3/i686-redhat-linux-gnu/konqueror/src/konqmainwindow.moc:375
[...]
#11 0x4eb79bfa in QAction::triggered (this=this@entry=0x85b79d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x4eb7ba54 in QAction::activate (this=0x85b79d8, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
Comment 5 Dawit Alemayehu 2014-03-21 00:34:16 UTC
Thanks for the backtrace. I will try to reproduce this and see if I can fix it.
Comment 6 Dawit Alemayehu 2014-06-16 03:50:18 UTC
Git commit 1e171b4230886c7c3287d8de7df7f75444b1356c by Dawit Alemayehu.
Committed on 14/06/2014 at 21:44.
Pushed by adawit into branch 'KDE/4.13'.

Prevent any invalid access of URL bar edit widget.
FIXED-IN: 4.13.3
REVIEW: 118749

M  +32   -18   konqueror/src/konqmainwindow.cpp
M  +3    -0    konqueror/src/konqmainwindow.h

http://commits.kde.org/kde-baseapps/1e171b4230886c7c3287d8de7df7f75444b1356c