<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>212586</bug_id>
          
          <creation_ts>2009-11-01 02:51:32 +0000</creation_ts>
          <short_desc>Konqueror crashed on clicking Bookmarks-&gt;Add Bookmark</short_desc>
          <delta_ts>2011-05-30 09:48:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>bookmarks</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Guido Winkelmann">guido-kdebugs</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>853771</commentid>
    <comment_count>0</comment_count>
    <who name="Guido Winkelmann">guido-kdebugs</who>
    <bug_when>2009-11-01 02:51:32 +0000</bug_when>
    <thetext>Version:            (using KDE 4.3.2)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

Konqueror just crashed after clicking on Bookmarks-&gt;Add Bookmark.

This instance of Konqueror had a moderate number of windows and tabs open when the crash happened.

Backtrace:

Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  KonqView::url (this=0x0) at /var/tmp/portage/kde-base/konqueror-4.3.2/work/konqueror-4.3.2/konqueror/src/konqview.cpp:907
#6  0x00007f8e68be4224 in KonqExtendedBookmarkOwner::currentUrl (this=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/konqueror-4.3.2/work/konqueror-4.3.2/konqueror/src/konqmainwindow.cpp:4374
#7  0x00007f8e7393a877 in KBookmarkMenu::slotAddBookmark (this=0xab7bd00) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kio/bookmarks/kbookmarkmenu.cc:596
#8  0x00007f8e7393acf8 in KBookmarkMenu::qt_metacall (this=0xab7bd00, _c=InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fff49ff2390)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2_build/kio/kbookmarkmenu.moc:79
#9  0x00007f8e7498af05 in QMetaObject::activate (sender=0x6c8e6e0, from_signal_index=&lt;value optimized out&gt;, to_signal_index=6, argv=0xbad1a20) at kernel/qobject.cpp:3101
#10 0x00007f8e71e427a7 in QAction::triggered (this=0x7fff49ff2130, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#11 0x00007f8e71e43a04 in QAction::activate (this=0x6c8e6e0, event=&lt;value optimized out&gt;) at kernel/qaction.cpp:1160
#12 0x00007f8e721e39fc in QMenuPrivate::activateCausedStack (this=0x6c8ddf0, causedStack=..., action=0x6c8e6e0, action_e=Trigger, self=true) at widgets/qmenu.cpp:967
#13 0x00007f8e721e96cb in QMenuPrivate::activateAction (this=0x6c8ddf0, action=0x6c8e6e0, action_e=179813728, self=true) at widgets/qmenu.cpp:1060
#14 0x00007f8e72f07e51 in KMenu::mouseReleaseEvent (this=0xab7bd60, e=0x7fff49ff3020) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kdeui/widgets/kmenu.cpp:456
#15 0x00007f8e71e94ac0 in QWidget::event (this=0xab7bd60, event=0x7fff49ff3020) at kernel/qwidget.cpp:7549
#16 0x00007f8e721ead03 in QMenu::event (this=0xab7bd60, e=0x7fff49ff3020) at widgets/qmenu.cpp:2353
#17 0x00007f8e71e47b7d in QApplicationPrivate::notify_helper (this=0x6b1f70, receiver=0xab7bd60, e=0x7fff49ff3020) at kernel/qapplication.cpp:4056
#18 0x00007f8e71e50ba1 in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0xab7bd60, e=0x7fff49ff3020) at kernel/qapplication.cpp:3758
#19 0x00007f8e72e3860b in KApplication::notify (this=0x7fff49ff4fb0, receiver=0xab7bd60, event=0x7fff49ff3020)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#20 0x00007f8e74979023 in QCoreApplication::notifyInternal (this=0x7fff49ff4fb0, receiver=0xab7bd60, event=0x7fff49ff3020) at kernel/qcoreapplication.cpp:606
#21 0x00007f8e71e4fe68 in sendSpontaneousEvent (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#22 QApplicationPrivate::sendMouseEvent (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qapplication.cpp:2924
#23 0x00007f8e71eaa53b in QETWidget::translateMouseEvent (this=0xab7bd60, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4338
#24 0x00007f8e71ea8ea5 in QApplication::x11ProcessEvent (this=0x7fff49ff4fb0, event=0x7fff49ff4a10) at kernel/qapplication_x11.cpp:3545
#25 0x00007f8e71ecd894 in x11EventSourceDispatch (s=0x6b5c00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f8e708e26a0 in g_main_dispatch (context=&lt;value optimized out&gt;) at gmain.c:1824
#27 IA__g_main_context_dispatch (context=&lt;value optimized out&gt;) at gmain.c:2377
#28 0x00007f8e708e5d38 in g_main_context_iterate (context=0x6b4920, block=1, dispatch=1, self=&lt;value optimized out&gt;) at gmain.c:2455
#29 0x00007f8e708e5efc in IA__g_main_context_iteration (context=0x6b4920, may_block=1) at gmain.c:2518
#30 0x00007f8e7499dbef in QEventDispatcherGlib::processEvents (this=0x615850, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007f8e71ecd15f in QGuiEventDispatcherGlib::processEvents (this=0x7fff49ff2130, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f8e74977a22 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f8e74977bbc in QEventLoop::exec (this=0x7fff49ff4d40, flags=...) at kernel/qeventloop.cpp:197
#34 0x00007f8e74979bb4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x00007f8e68c35767 in kdemain (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/konqueror-4.3.2/work/konqueror-4.3.2/konqueror/src/konqmain.cpp:257
#36 0x0000000000407564 in launch (argc=2, _name=0x656de8 &quot;/usr/bin/konqueror&quot;, args=&lt;value optimized out&gt;, cwd=0x0, envc=0, envs=0x656e0c &quot;&quot;, reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x656e14 &quot;tolkien;1257032573;256616;8963_TIME10601111&quot;) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kinit/kinit.cpp:677
#37 0x0000000000407d50 in handle_launcher_request (sock=7, who=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kinit/kinit.cpp:1169
#38 0x00000000004082ae in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kinit/kinit.cpp:1362
#39 0x0000000000408dcd in main (argc=2, argv=0x7fff49ff65b8, envp=0x7fff49ff65d0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kinit/kinit.cpp:1793
Warning: the current language does not match this frame.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125135</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2011-05-30 09:48:17 +0000</bug_when>
    <thetext>Git commit ec4483ad920f248f00baf6b6451b5c020be80e73 by Martin Koller.
Committed on 30/05/2011 at 09:47.
Pushed by mkoller into branch &apos;master&apos;.

avoid 0-pointer deref

BUG: 212586

M  +2    -1    konqueror/src/konqmainwindow.cpp     

http://commits.kde.org/kde-baseapps/ec4483ad920f248f00baf6b6451b5c020be80e73</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>