Bug 110552

Summary: 'enable proxy' button crashes konqueror
Product: [Unmaintained] kdeaddons Reporter: Richard Clayton <richard_clayton>
Component: khtmlsettings-pluginAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: cfeck, dront78, kde, logixoul, mail4ilia, oli.poepperl
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Clayton 2005-08-11 04:15:34 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3.5-5 
OS:                Linux

Proxy access is needed for certain sites via my LAN. manual config of my proxy works fine (settings-configure konqueror-proxy) and once details are inputted browsing via proxy is possible.
To quicken this process I want to use the 'enable proxy' button. Pressing this button closes the instance of konqueror that is open but not other instances.

This problem is reproducible everytime over several days and reboots. I have a similar button added to firefox with the same proxy, works fine.
 
A crash handler report is generated and I have included it below :)

signal 11 crash

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1096025760 (LWP 10893)]
[KCrash handler]
#7  0x40efdeff in QGArray::QGArray () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x40831c65 in KConfigBase::readEntryUtf8 ()
   from /opt/kde3/lib/libkdecore.so.4
#9  0x40836d83 in KConfigBase::readNumEntry ()
   from /opt/kde3/lib/libkdecore.so.4
#10 0x444f4c5a in SettingsPlugin::toggleProxy ()
   from /opt/kde3/lib/kde3/libkhtmlsettingsplugin.so
#11 0x444f5cea in SettingsPlugin::qt_invoke ()
   from /opt/kde3/lib/kde3/libkhtmlsettingsplugin.so
#12 0x40c3ae7e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40c3b626 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x404f23b9 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#15 0x4060599a in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#16 0x40605e3e in KToggleAction::slotActivated ()
   from /opt/kde3/lib/libkdeui.so.4
#17 0x404efb9d in KAction::slotButtonClicked ()
   from /opt/kde3/lib/libkdeui.so.4
#18 0x40605160 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#19 0x406057d4 in KToggleAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#20 0x40c3ae7e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40573e15 in KToolBarButton::buttonClicked ()
   from /opt/kde3/lib/libkdeui.so.4
#22 0x40575090 in KToolBarButton::mouseReleaseEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#23 0x40c713e5 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40bd7d5f in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40bda266 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x408626b1 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#27 0x40b7528e in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40b74146 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40b84c38 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40befe51 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40befc96 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40bd994f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x41819ccc in kdemain () from /opt/kde3/lib/libkdeinit_konqueror.so
#34 0x40018754 in kdeinitmain () from /opt/kde3/lib/kde3/konqueror.so
#35 0x0804e872 in ?? ()
#36 0x00000002 in ?? ()
#37 0x080ce708 in ?? ()
#38 0x00000001 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000006 in ?? ()
#43 0xbfffe9fc in ?? ()
#44 0xbfffea00 in ?? ()
#45 0xbfffea04 in ?? ()
#46 0xbfffea08 in ?? ()
#47 0xbfffea0c in ?? ()
#48 0x0120037f in ?? ()
#49 0x005d0000 in ?? ()
#50 0x411089c7 in FcValueEqual () from /usr/lib/libfontconfig.so.1
#51 0x0804ef7c in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000001 in ?? ()
#54 0x080cebd0 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x080cebd4 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0x00000000 in ?? ()
#64 0x080cebd4 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00000000 in ?? ()
#67 0x080cebc3 in ?? ()
#68 0x00000001 in ?? ()
#69 0x00000000 in ?? ()
#70 0x080cebb6 in ?? ()
#71 0x080cebac in ?? ()
#72 0x00000002 in ?? ()
#73 0x080ceba8 in ?? ()
#74 0x00000008 in ?? ()
#75 0x00002a8c in ?? ()
#76 0x00000004 in ?? ()
#77 0x00000004 in ?? ()
#78 0x0000000a in ?? ()
#79 0x00000055 in ?? ()
#80 0x080524e0 in vtable for QCString ()
#81 0x0805b548 in ?? ()
#82 0x00000000 in ?? ()
#83 0x00000000 in ?? ()
#84 0x080524e0 in vtable for QCString ()
#85 0x0805b538 in ?? ()
#86 0x80cd0000 in ?? ()
#87 0x00000001 in ?? ()
#88 0xbfffeeb8 in ?? ()
#89 0xbfffeda0 in ?? ()
#90 0xbfffee20 in ?? ()
#91 0x00000000 in ?? ()
#92 0xbfffed20 in ?? ()
#93 0xbfffeda0 in ?? ()
#94 0xbfffeeb8 in ?? ()
#95 0x0804f539 in ?? ()
#96 0x0000000a in ?? ()
#97 0xbfffee20 in ?? ()
#98 0xbfffeda0 in ?? ()
#99 0xbfffed20 in ?? ()
#100 0x00000000 in ?? ()
#101 0x0000001e in ?? ()
#102 0xbfffee40 in ?? ()
#103 0x41487115 in _int_free () from /lib/tls/libc.so.6


Enjoy

......
Comment 1 Thiago Macieira 2005-08-13 03:42:16 UTC
What "enable proxy" button?
Comment 2 Tommi Tervo 2005-09-02 14:52:51 UTC
*** Bug 111657 has been marked as a duplicate of this bug. ***
Comment 3 Tommi Tervo 2005-09-22 10:43:22 UTC
*** Bug 113029 has been marked as a duplicate of this bug. ***
Comment 4 Thiago Macieira 2005-09-22 12:58:15 UTC
I cannot reproduce bug 113029. Can anyone reproduce this with KDE 3.5 beta 1?
Comment 5 Tommi Tervo 2005-09-22 13:44:26 UTC
svn r460545, crashes immediatly after I press that enable proxy button.

#4  0x04120e39 in QGArray::QGArray$base ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x00d277b3 in QMemArray (this=0xbff2feb0, a=@0x2c) at qmemarray.h:60
#6  0x00d275c7 in QCString (this=0xbff2feb0, s=@0x2c) at qcstring.h:147
#7  0x003590a5 in KEntryKey (this=0xbff2feb0, _group=@0x2c, _key=@0xbff2fea0)
    at kconfigdata.h:74
#8  0x00e67351 in KConfigBase::readEntryUtf8 (this=0x0, 
    pKey=0x78a18a1 "SavedProxyType") at kconfigbase.cpp:321
#9  0x00e68740 in KConfigBase::readNumEntry (this=0x0, 
    pKey=0x78a18a1 "SavedProxyType", nDefault=1) at kconfigbase.cpp:586
#10 0x0789f6e4 in SettingsPlugin::toggleProxy (this=0x8da0f50)
    at settingsplugin.cpp:262
#11 0x0789fdc2 in SettingsPlugin::qt_invoke (this=0x8da0f50, _id=7, 
    _o=0xbff30070) at settingsplugin.moc:106
#12 0x03e79450 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x03e79b2a in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x008b2734 in KAction::activated (this=0x8da3930) at kaction.moc:176
#15 0x008b1d69 in KAction::slotActivated (this=0x8da3930) at kaction.cpp:1102
#16 0x008b98b5 in KToggleAction::slotActivated (this=0x8da3930)
    at kactionclasses.cpp:236
#17 0x008b208a in KAction::slotButtonClicked (this=0x8da3930, state=LeftButton)
    at kaction.cpp:1147
#18 0x008b2bc3 in KAction::qt_invoke (this=0x8da3930, _id=17, _o=0xbff30220)
    at kaction.moc:220
#19 0x008c4673 in KToggleAction::qt_invoke (this=0x8da3930, _id=17, 
    _o=0xbff30220) at kactionclasses.moc:110
#20 0x03e79450 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x00954a84 in KToolBarButton::buttonClicked (this=0x8d44aa8, t0=-138, 
    t1=LeftButton) at ktoolbarbutton.moc:154
#22 0x00953437 in KToolBarButton::mouseReleaseEvent (this=0x8d44aa8, 
    e=0xbff30700) at ktoolbarbutton.cpp:479
#23 0x03eaf3aa in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x00954397 in KToolBarButton::event (this=0x8d44aa8, e=0xbff30700)
    at ktoolbarbutton.cpp:651


==28012== Invalid read of size 4
==28012==    at 0x4120E39: QGArray::QGArray(QGArray const&) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x1B9CC5C6: QCString::QCString(QCString const&) (qcstring.h:147)
==28012==    by 0x1BD390A4: KEntryKey::KEntryKey(QCString const&, QCString const&) (kconfigdata.h:74)
==28012==    by 0x1C31B350: KConfigBase::readEntryUtf8(char const*) const (kconfigbase.cpp:321)
==28012==    by 0x1C31C73F: KConfigBase::readNumEntry(char const*, int) const (kconfigbase.cpp:586)
==28012==    by 0x1D9E06E3: SettingsPlugin::toggleProxy() (settingsplugin.cpp:262)
==28012==    by 0x1D9E0DC1: SettingsPlugin::qt_invoke(int, QUObject*) (settingsplugin.moc:106)
==28012==    by 0x3E7944F: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3E79B29: QObject::activate_signal(int) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x1C02B733: KAction::activated() (kaction.moc:176)
==28012==    by 0x1C02AD68: KAction::slotActivated() (kaction.cpp:1102)
==28012==    by 0x1C0328B4: KToggleAction::slotActivated() (kactionclasses.cpp:236)
==28012==    by 0x1C02B089: KAction::slotButtonClicked(int, Qt::ButtonState) (kaction.cpp:1147)
==28012==    by 0x1C02BBC2: KAction::qt_invoke(int, QUObject*) (kaction.moc:220)
==28012==    by 0x1C03D672: KToggleAction::qt_invoke(int, QUObject*) (kactionclasses.moc:110)
==28012==    by 0x3E7944F: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x1C0CDA83: KToolBarButton::buttonClicked(int, Qt::ButtonState) (ktoolbarbutton.moc:154)
==28012==    by 0x1C0CC436: KToolBarButton::mouseReleaseEvent(QMouseEvent*) (ktoolbarbutton.cpp:479)
==28012==    by 0x3EAF3A9: QWidget::event(QEvent*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x1C0CD396: KToolBarButton::event(QEvent*) (ktoolbarbutton.cpp:651)
==28012==    by 0x3E1A8F8: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3E1AB38: QApplication::notify(QObject*, QEvent*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x1C2FD5FF: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:550)
==28012==    by 0x3DB9A2D: QETWidget::translateMouseEvent(_XEvent const*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3DB82C7: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3DCA6D5: QEventLoop::processEvents(unsigned) (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3E2FF24: QEventLoop::enterLoop() (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3E2FE7D: QEventLoop::exec() (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x3E19AFA: QApplication::exec() (in /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.3)
==28012==    by 0x1B96CF9A: kdemain (konq_main.cc:206)
==28012==    by 0x8048659: main (konqueror.la.cc:2)
==28012==  Address 0x30 is not stack'd, malloc'd or (recently) free'd
Comment 6 Thiago Macieira 2005-10-15 02:03:46 UTC
*** Bug 114416 has been marked as a duplicate of this bug. ***
Comment 7 Stefan Monov 2005-10-15 06:46:19 UTC
Bug 114416 has been marked as a duplicate of this bug. I believe that this was done by mistake. In 114416, the crash is triggered by a hotkey. Here, the crash is triggered by a button. So I'm asking - does "button" as used here mean a toolbar button or a hotkey? If it means a toolbar button, then the two are separate bugs.
Comment 8 Thiago Macieira 2005-10-15 19:37:25 UTC
The crash is not triggered by the fact that it is a shortcut or if it is a button on the toolbar. The act of enabling the proxy crashes Konqueror, so it's the same bug.
Comment 9 Stefan Monov 2005-10-15 22:43:06 UTC
Then why in Bug 114416 it *never* crashes when the proxy is toggled via the "Configure Konqueror..." dialog?
Comment 10 Elan Ruusamäe 2005-12-30 19:45:55 UTC
i've have bind F12 key to the "disable proxy" feature, crashes here with 3.5.0
Comment 11 Stefan Monov 2006-01-23 13:45:56 UTC
My Konqueror 3.5, built from SUSE Linux 10.0 RPMs still crashes.
Comment 12 jpg 2006-12-06 13:29:23 UTC
New precision about this bug

If I (des)activate the proxy by the shortcut first, Konqueror crashes immediatly.

Each time, I (des)activate the proxy by the menu, everything goes well.

If I (des)activate the proxy at least one time by the menu, then the shortcut does not crash Konqueror anymore for the session.


I use KDE 3.5.5.
Comment 13 Tommi Tervo 2008-01-07 10:02:42 UTC
*** Bug 154963 has been marked as a duplicate of this bug. ***
Comment 14 Nicolas L. 2010-08-15 11:53:13 UTC
do you still experience this bug under kde 4.4 or 4.5 ?
Comment 15 jpg 2010-08-31 12:05:40 UTC
The functionality does not exist anymore in konqueror/kde 4.4.5 (Debian 
testing updated today) or am I wrong ?



Le dimanche 15 août 2010 11:53:17, Nicolas Lécureuil a écrit :
> https://bugs.kde.org/show_bug.cgi?id=110552
> 
> 
> Nicolas Lécureuil <nlecureuil@mandriva.com> changed:
> 
>            What    |Removed                     |Added
> ------------------------------------------------------------------------
> ---- CC|                            |nlecureuil@mandriva.com
> 
> 
> 
> 
> --- Comment #14 from Nicolas Lécureuil <nlecureuil mandriva com> 
> 2010-08-15 11:53:13 --- do you still experience this bug under kde 4.4
> or 4.5 ?
Comment 16 Christoph Feck 2011-06-26 14:28:53 UTC
This crash is from the KDE 3 version, which is no longer maintained. If you are experience crashes with the KDE 4 version, please attach an updated backtrace or report a new bug.