Bug 209792 - akregator: infinity loop at start
Summary: akregator: infinity loop at start
Status: RESOLVED DUPLICATE of bug 209798
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-07 20:18 UTC by Alex Savin
Modified: 2009-10-07 20:41 UTC (History)
0 users

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 Alex Savin 2009-10-07 20:18:49 UTC
Application that crashed: akregator
Version of the application: 1.5.1
KDE Version: 4.3.2 (KDE 4.3.2) "release 5"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.29-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"

What I was doing when the application crashed:
this can reproduce only in my user profile,
then i try debug it, I found:

/usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/column.cpp

void c4_ColOfInts::SetAccessWidth(int bits_) {
  d4_assert((bits_ &(bits_ - 1)) == 0);

  int l2bp1 = 0; // "log2 bits plus one" needed to represent value
  while (bits_) {
    ++l2bp1;
    bits_ >>= 1;
  }

this code do infinity loop, with bits_ == -1 (i see it in debugger)

 -- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault
[KCrash Handler]
#6  c4_Differ::BaseOfDiff (this=0x0, id_=1879048103) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/include/mk4.inl:849
#7  0xb2b9a8cf in c4_Column::SetupSegments (this=0x81d449c) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/column.cpp:219
#8  0xb2b9b038 in c4_ColIter::Next (this=0xbfffd648) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/column.inl:57
#9  0xb2b9b0b9 in c4_Column::FetchBytes (this=0x81d449c, pos_=0, len_=9, buffer_=@0xbfffd69c, forceCopy_=true) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/column.cpp:715
#10 0xb2ba5ef9 in c4_FormatV::SetupAllSubviews (this=0x81d4490) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/format.cpp:952
#11 0xb2ba6370 in c4_FormatV::Get (this=0x81d4490, index_=0, length_=@0xbfffd718) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/format.cpp:1027
#12 0xb2ba7f55 in c4_Handler::GetBytes (this=0x81d4490, index_=0, buf_=@0xbfffd78c, copySmall_=false) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/handler.cpp:53
#13 0xb2bb64bb in c4_Sequence::Get (this=0x825c178, index_=0, propId_=7, buf_=@0xbfffd78c) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/viewx.cpp:319
#14 0xb2bb773f in c4_ViewRef::operator c4_View (this=0xbfffd7cc) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/include/mk4.inl:421
#15 0xb2bb09c0 in c4_Storage::Description (this=0x8153ab0, name_=0x81b4caa "archiveHash") at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/store.cpp:342
#16 0xb2bb1598 in c4_Storage::GetAs (this=0x8153ab0, description_=0xb2bc15de "archiveHash[_H:I,_R:I]") at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/metakit/src/store.cpp:261
#17 0xb2bbec5e in Akregator::Backend::StorageMK4Impl::open (this=0x82273a0, autoCommit=true) at /usr/src/debug/kdepim-4.3.2/akregator/plugins/mk4storage/storagemk4impl.cpp:136
#18 0xb2c7297c in Part (this=0x81ac030, parentWidget=0x80777d0, parent=0x80777d0) at /usr/src/debug/kdepim-4.3.2/akregator/src/akregator_part.cpp:208
#19 0xb2c759b5 in QObject* KPluginFactory::createPartInstance<Akregator::Part>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/akregatorpart.so
#20 0xb6d292ff in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#21 0x080506b3 in Akregator::MainWindow::loadPart (this=0x80777d0) at /usr/include/kpluginfactory.h:491
#22 0x08050a10 in Akregator::MainWindow::readProperties (this=0x80777d0, config=@0xbfffdbd4) at /usr/src/debug/kdepim-4.3.2/akregator/src/mainwindow.cpp:152
#23 0x08051315 in Akregator::MainWindow::autoReadProperties (this=0x80777d0) at /usr/src/debug/kdepim-4.3.2/akregator/src/mainwindow.cpp:266
#24 0x0805163a in MainWindow (this=0x80777d0, parent=0x0, f={i = -1073750636}) at /usr/src/debug/kdepim-4.3.2/akregator/src/mainwindow.cpp:89
#25 0x0804f0c5 in Akregator::Application::newInstance (this=0xbfffe904) at /usr/src/debug/kdepim-4.3.2/akregator/src/main.cpp:58
#26 0xb6fce826 in ?? () from /usr/lib/libkdeui.so.5
#27 0xb6fce8ce in ?? () from /usr/lib/libkdeui.so.5
#28 0xb6af7873 in QDBusConnectionPrivate::deliverCall (this=0x8075db8, object=0x8119798, msg=@0x80879a0, metaTypes=@0xbfffe0c8, slotIdx=4) at qdbusintegrator.cpp:891
#29 0xb6af8832 in QDBusConnectionPrivate::activateCall (this=0x8075db8, object=0x8119798, flags=337, msg=@0x80879a0) at qdbusintegrator.cpp:796
#30 0xb6af8da1 in QDBusConnectionPrivate::activateObject (this=0x8075db8, node=@0x808798c, msg=@0x80879a0, pathStartPos=16) at qdbusintegrator.cpp:1370
#31 0xb6af929a in QDBusActivateObjectEvent::placeMetaCall (this=0x8087960) at qdbusintegrator.cpp:1464
#32 0xb69ec970 in QObject::event (this=0xbfffe904, e=0x8087960) at kernel/qobject.cpp:1111
#33 0xb69dbafb in QCoreApplication::event (this=0xbfffe904, e=0x8087960) at kernel/qcoreapplication.cpp:1434
#34 0xb5eb80d9 in QApplication::event (this=0xbfffe904, e=0x8087960) at kernel/qapplication.cpp:2317
#35 0xb5eb27bc in QApplicationPrivate::notify_helper (this=0x8086c18, receiver=0xbfffe904, e=0x8087960) at kernel/qapplication.cpp:4056
#36 0xb5ebaaae in QApplication::notify (this=0xbfffe904, receiver=0xbfffe904, e=0x8087960) at kernel/qapplication.cpp:3603
#37 0xb6fc737d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0xb69dc16b in QCoreApplication::notifyInternal (this=0xbfffe904, receiver=0xbfffe904, event=0x8087960) at kernel/qcoreapplication.cpp:610
#39 0xb69dcdb5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x805b480) at kernel/qcoreapplication.h:213
#40 0xb69dcfad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#41 0xb6a07c8f in postEventSourceDispatch (s=0x807cf10) at kernel/qcoreapplication.h:218
#42 0xb4b309c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb4b34083 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb4b34241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb6a078d8 in QEventDispatcherGlib::processEvents (this=0x805b1d0, flags={i = -1073747976}) at kernel/qeventdispatcher_glib.cpp:327
#46 0xb5f52ca5 in QGuiEventDispatcherGlib::processEvents (this=0x805b1d0, flags={i = -1073747928}) at kernel/qguieventdispatcher_glib.cpp:202
#47 0xb69da78a in QEventLoop::processEvents (this=0xbfffe8a0, flags={i = -1073747864}) at kernel/qeventloop.cpp:149
#48 0xb69dabd2 in QEventLoop::exec (this=0xbfffe8a0, flags={i = -1073747800}) at kernel/qeventloop.cpp:201
#49 0xb69dd079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#50 0xb5eb2637 in QApplication::exec () at kernel/qapplication.cpp:3525
#51 0x0804fa99 in main (argc=136262064, argv=0x4) at /usr/src/debug/kdepim-4.3.2/akregator/src/main.cpp:103

Reported using DrKonqi
Comment 1 Alex Savin 2009-10-07 20:26:48 UTC
0	c4_ColOfInts::SetAccessWidth	column.cpp	1170	
1	c4_FormatX::Define	format.cpp	93	
2	c4_HandlerSeq::Prepare	handler.cpp	321	
3	c4_FormatV::SetupAllSubviews	format.cpp	963	
4	c4_FormatV::Get	format.cpp	1027	
5	c4_Handler::GetBytes	handler.cpp	53	
6	c4_Sequence::Get	viewx.cpp	319	
7	c4_ViewRef::operator c4_View	mk4.inl	421	
8	c4_Storage::Description	store.cpp	342	
9	c4_Storage::GetAs	store.cpp	261	
10	Akregator::Backend::StorageMK4Impl::open	storagemk4impl.cpp	136	
11	Part	akregator_part.cpp	208	
12	QObject* KPluginFactory::createPartInstance<Akregator::Part>(QWidget*, QObject*, QList<QVariant> const&)	/usr/lib/kde4/akregatorpart.so	0	
13	KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&)	/usr/lib/libkdecore.so.5	0	
14	Akregator::MainWindow::loadPart	kpluginfactory.h	491	
15	Akregator::MainWindow::readProperties	mainwindow.cpp	152	
16	Akregator::MainWindow::autoReadProperties	mainwindow.cpp	266	
17	MainWindow	mainwindow.cpp	89	
18	Akregator::Application::newInstance	main.cpp	58	
19	??	/usr/lib/libkdeui.so.5	0	
20	??	/usr/lib/libkdeui.so.5	0	
21	QDBusConnectionPrivate::deliverCall	qdbusintegrator.cpp	891	
22	QDBusConnectionPrivate::activateCall	qdbusintegrator.cpp	796	
23	QDBusConnectionPrivate::activateObject	qdbusintegrator.cpp	1370	
24	QDBusActivateObjectEvent::placeMetaCall	qdbusintegrator.cpp	1464	
25	QObject::event	qobject.cpp	1111	
26	QCoreApplication::event	qcoreapplication.cpp	1434	
27	QApplication::event	qapplication.cpp	2317	
28	QApplicationPrivate::notify_helper	qapplication.cpp	4056	
29	QApplication::notify	qapplication.cpp	3603	
30	KApplication::notify(QObject*, QEvent*)	/usr/lib/libkdeui.so.5	0	
31	QCoreApplication::notifyInternal	qcoreapplication.cpp	610	
32	QCoreApplicationPrivate::sendPostedEvents	qcoreapplication.h	213	
33	QCoreApplication::sendPostedEvents	qcoreapplication.cpp	1140	
34	postEventSourceDispatch	qcoreapplication.h	218	
35	g_main_context_dispatch	/usr/lib/libglib-2.0.so.0	0	
36	??	/usr/lib/libglib-2.0.so.0	0	
37	g_main_context_iteration	/usr/lib/libglib-2.0.so.0	0	
38	QEventDispatcherGlib::processEvents	qeventdispatcher_glib.cpp	327	
39	QGuiEventDispatcherGlib::processEvents	qguieventdispatcher_glib.cpp	202	
40	QEventLoop::processEvents	qeventloop.cpp	149	
41	QEventLoop::exec	qeventloop.cpp	201	
42	QCoreApplication::exec	qcoreapplication.cpp	888	
43	QApplication::exec	qapplication.cpp	3525	
44	main	main.cpp	103
Comment 2 Alex Savin 2009-10-07 20:41:57 UTC
see backtrace in bug:
https://bugs.kde.org/show_bug.cgi?id=209798
(because this can be incorrect)

*** This bug has been marked as a duplicate of bug 209798 ***