Bug 172743 - Crash while updating favicons
Summary: Crash while updating favicons
Status: RESOLVED FIXED
Alias: None
Product: keditbookmarks
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-13 20:01 UTC by Jonathan Thomas
Modified: 2009-07-26 02:49 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 Jonathan Thomas 2008-10-13 20:01:30 UTC
Version:           4.1.2 (KDE 4.1.2) (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-5-generic

Originally reported at https://launchpad.net/bugs/281119

The user reported a crash while updating the favicons of newly-imported bookmarks from Firefox with the following backtrace:

Thread 1 (process 17972):
#0  0xb7f3d83f in KBookmarkModel::indexForBookmark (this=0x0, bk=@0xbff7e360)
    at /build/buildd/kdebase-4.1.2/apps/keditbookmarks/bookmarkmodel.cpp:236
No locals.
#1  0xb7f3d8f3 in KBookmarkModel::emitDataChanged (this=0x0, bk=@0xbff7e360)
    at /build/buildd/kdebase-4.1.2/apps/keditbookmarks/bookmarkmodel.cpp:241
	idx = {r = -1208809444, c = -1074273440, p = 0x8743b40, m = 0xb7f3d8cb}
#2  0xb7f32ef5 in FavIconsItr::setStatus (this=0x8743b38, status=@0xbff7e3d8)
    at /build/buildd/kdebase-4.1.2/apps/keditbookmarks/favicons.cpp:77
No locals.
#3  0xb7f33215 in FavIconsItr::doAction (this=0x8743b38)
    at /build/buildd/kdebase-4.1.2/apps/keditbookmarks/favicons.cpp:94
No locals.
#4  0xb7f30955 in BookmarkIterator::nextOne (this=0x8743b38)
    at /build/buildd/kdebase-4.1.2/apps/keditbookmarks/bookmarkiterator.cpp:68
	bk = {element = {<QDomNode> = {impl = 0x86af098}, <No data fields>}}
#5  0xb7f30a43 in BookmarkIterator::qt_metacall (this=0x8743b38, _c=QMetaObject::InvokeMetaMethod, _id=-1074273440, 
    _a=0xbff7e518) at /build/buildd/kdebase-4.1.2/obj-i486-linux-gnu/apps/keditbookmarks/bookmarkiterator.moc:73
No locals.
#6  0xb7f3393a in FavIconsItr::qt_metacall (this=0x8743b38, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbff7e518)
    at /build/buildd/kdebase-4.1.2/obj-i486-linux-gnu/apps/keditbookmarks/favicons.moc:60
No locals.
#7  0xb73aca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#8  0xb73ad7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb73b2db7 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb73b2edc in ?? () from /usr/lib/libQtCore.so.4
#11 0xb73a753f in QObject::event () from /usr/lib/libQtCore.so.4
#12 0xb69d58ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#13 0xb69dd76e in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0xb786672d in KApplication::notify (this=0xbff7ee14, receiver=0x895fc00, event=0xbff7e9ac)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
No locals.
#15 0xb7397e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#16 0xb73c5d81 in ?? () from /usr/lib/libQtCore.so.4
#17 0xb73c2520 in ?? () from /usr/lib/libQtCore.so.4
#18 0xb604d6f8 in IA__g_main_context_dispatch (context=0x857ae58) at /build/buildd/glib2.0-2.18.1/glib/gmain.c:2142
No locals.
#19 0xb6050da3 in g_main_context_iterate (context=0x857ae58, block=1, dispatch=1, self=0x8575130)
    at /build/buildd/glib2.0-2.18.1/glib/gmain.c:2776
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = 4
	allocated_nfds = <value optimized out>
	fds = (GPollFD *) 0x8902b38
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#20 0xb6050f61 in IA__g_main_context_iteration (context=0x857ae58, may_block=1)
    at /build/buildd/glib2.0-2.18.1/glib/gmain.c:2839
	retval = <value optimized out>
#21 0xb73c2478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#22 0xb6a6fee5 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb739652a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#24 0xb73966ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#25 0xb7398da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#26 0xb69d5767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#27 0xb7f19d49 in kdemain (argc=4, argv=0xbff7f154) at /build/buildd/kdebase-4.1.2/apps/keditbookmarks/main.cpp:203
	aboutData = {d = 0x856a8d0}
	options = {d = 0x8573500}
	args = (KCmdLineArgs *) 0x85744a8
	isGui = true
	browser = <value optimized out>
	app = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0xb717fd48, 
      stringdata = 0xb79ce280 "KApplication", data = 0xb79ce420, extradata = 0x0}}, static loadedByKdeinit = false, 
  static KApp = 0xbff7ee14, d = 0x859ec10}
	gotFilenameArg = true
	filename = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7693}, alloc = 0, 
    size = 0, data = 0xb747d9ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 230}, alloc = 0, size = 0, 
    data = 0xb747d9ce, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
    array = {0}}, d = 0x8574770, static codecForCStrings = 0x0}
	address = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7693}, alloc = 0, 
    size = 0, data = 0xb747d9ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 230}, alloc = 0, size = 0, 
    data = 0xb747d9ce, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
    array = {0}}, d = 0x86042e8, static codecForCStrings = 0x0}
	caption = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7693}, alloc = 0, 
    size = 0, data = 0xb747d9ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 230}, alloc = 0, size = 0, 
    data = 0xb747d9ce, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
    array = {0}}, d = 0xb747d9a8, static codecForCStrings = 0x0}
	dbusObjectName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7693}, 
    alloc = 0, size = 0, data = 0xb747d9ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
    capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 230}, alloc = 0, size = 0, 
    data = 0xb747d9ce, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
    array = {0}}, d = 0x8575158, static codecForCStrings = 0x0}
	readonly = <value optimized out>
#28 0x080485b2 in main (argc=-1208809444, argv=0xbff7e360)
    at /build/buildd/kdebase-4.1.2/obj-i486-linux-gnu/apps/keditbookmarks/keditbookmarks_dummy.cpp:3
No locals.
Comment 1 Jonathan Thomas 2009-01-30 15:10:58 UTC
I can reproduce this in KDE 4.2.0

Application: Bookmark Editor (keditbookmarks), signal SIGSEGV

Thread 1 (Thread 0xb5ca3700 (LWP 23231)):
[KCrash Handler]
#6  0xb80908ff in KBookmarkModel::indexForBookmark (this=0x0, bk=@0xbfae0490) at /build/buildd/kdebase-4.2.0/apps/keditbookmarks/bookmarkmodel.cpp:242
#7  0xb80909b3 in KBookmarkModel::emitDataChanged (this=0x0, bk=@0xbfae0490) at /build/buildd/kdebase-4.2.0/apps/keditbookmarks/bookmarkmodel.cpp:247
#8  0xb8085d65 in FavIconsItr::setStatus (this=0x861f148, status=@0xbfae0508) at /build/buildd/kdebase-4.2.0/apps/keditbookmarks/favicons.cpp:77
#9  0xb8086085 in FavIconsItr::doAction (this=0x861f148) at /build/buildd/kdebase-4.2.0/apps/keditbookmarks/favicons.cpp:94
#10 0xb8083955 in BookmarkIterator::nextOne (this=0x861f148) at /build/buildd/kdebase-4.2.0/apps/keditbookmarks/bookmarkiterator.cpp:68
#11 0xb8083a43 in BookmarkIterator::qt_metacall (this=0x861f148, _c=QMetaObject::InvokeMetaMethod, _id=-1079114608, _a=0xbfae0648)
    at /build/buildd/kdebase-4.2.0/obj-i486-linux-gnu/apps/keditbookmarks/bookmarkiterator.moc:73
#12 0xb80867aa in FavIconsItr::qt_metacall (this=0x861f148, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfae0648)
    at /build/buildd/kdebase-4.2.0/obj-i486-linux-gnu/apps/keditbookmarks/favicons.moc:60
#13 0xb70f5c10 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb70f6992 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb70fbf67 in ?? () from /usr/lib/libQtCore.so.4
#16 0xb70fc08c in ?? () from /usr/lib/libQtCore.so.4
#17 0xb70f06ef in QObject::event () from /usr/lib/libQtCore.so.4
#18 0xb67d187c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#19 0xb67d96fe in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0xb76820ad in KApplication::notify (this=0xbfae0f44, receiver=0x843d5f0, event=0xbfae0adc) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#21 0xb70e0ff1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#22 0xb710ef31 in ?? () from /usr/lib/libQtCore.so.4
#23 0xb710b6d0 in ?? () from /usr/lib/libQtCore.so.4
#24 0xb5fe3bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0xb5fe72a3 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0xb5fe7461 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0xb710b628 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#28 0xb686bee5 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb70df6ba in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#30 0xb70df87a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#31 0xb70e1f35 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#32 0xb67d16f7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#33 0xb806deb9 in kdemain (argc=6, argv=0xbfae1284) at /build/buildd/kdebase-4.2.0/apps/keditbookmarks/main.cpp:203
#34 0x080486a2 in main (argc=-1207420900, argv=0xbfae0490) at /build/buildd/kdebase-4.2.0/obj-i486-linux-gnu/apps/keditbookmarks/keditbookmarks_dummy.cpp:3
Comment 2 Jonathan Thomas 2009-07-26 02:49:59 UTC
Seems fixed in KDE 4.2.98.