Bug 189303 - Crash on import and opening with many feeds
Summary: Crash on import and opening with many feeds
Status: RESOLVED DUPLICATE of bug 191685
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 19:33 UTC by Michael Schuerig
Modified: 2009-05-14 21:59 UTC (History)
2 users (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 Michael Schuerig 2009-04-10 19:33:26 UTC
Version:           1.4.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I've just switched from KDE 3.5.10 to 4.2.2 and Akregator is not cooperating. Starting it straight away with the old config resulted in a crash. I've restarted from a clean configuration and then tried to import my old feeds.opml and Akregator crashed again. The file contains about 500 feeds to I tried to import them piecemeal, still upon having imported a certain number of feeds, the crashing starts again. I'm not sure, what the number is or if the feeds themselves have an influence.

The failure pattern is always the same. See below for the last few lines written to stdout and further down for the backtrace.

Akregator is clearly opening too many file descriptors, either because there's a loop going haywire or because it tries to do too many things at the same time. Lifting the ulimit of 1024 file descriptors only has it run into the 1024 limit select apparently imposes (on x86-Linux).

akregator(2821) Akregator::SubscriptionListModel::aboutToRemoveSubscription: 1205057644
akregator(2821) Akregator::SubscriptionListModel::subscriptionRemoved: 1205057644
akregator(2821) Akregator::SubscriptionListModel::aboutToRemoveSubscription: 1772014489
akregator(2821) Akregator::SubscriptionListModel::subscriptionRemoved: 1772014489
akregator(2821) Akregator::SubscriptionListModel::aboutToRemoveSubscription: 2094787986
akregator(2821) Akregator::SubscriptionListModel::subscriptionRemoved: 2094787986
akregator(2821) Akregator::SubscriptionListModel::aboutToRemoveSubscription: 1075778698
akregator(2821) Akregator::SubscriptionListModel::aboutToRemoveSubscription: 1075778698
akregator(2821) Akregator::SubscriptionListModel::subscriptionRemoved: 1075778698
michael@debby:~$ akregator(2821) Akregator::ExpireItemsCommand::Private::createDeleteJobs: Associated feed list was deleted, could not expire items

GLib-ERROR **: Cannot create pipe main loop wake-up: Too many open files

aborting...
KCrash: Application 'akregator' crashing...
sock_file=/home/michael/.kde/socket-debby/kdeinit4__0
akregator(2821) Akregator::ExpireItemsCommand::Private::createDeleteJobs: Associated feed list was deleted, could not expire items
akregator: Fatal IO error: client killed


Application: Akregator (akregator), signal SIGABRT
[Current thread is 0 (LWP 2821)]

Thread 2 (Thread 0xb166eb90 (LWP 3022)):
[KCrash Handler]
#6  0xb807d424 in __kernel_vsyscall ()
#7  0xb6b6c640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6b6e008 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb5c14884 in g_logv () from /usr/lib/libglib-2.0.so.0
#10 0xb5c148b6 in g_log () from /usr/lib/libglib-2.0.so.0
#11 0xb5c09b33 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb5c444c6 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x00000004 in ?? ()
#14 0xb5c49f90 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0xb6c804e5 in ?? () from /lib/i686/cmov/libc.so.6
#16 0xb5c86184 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x0a00b4a0 in ?? ()
#18 0xb166e2a8 in ?? ()
#19 0xb5c0b208 in g_main_context_new () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC

Thread 1 (Thread 0xb53eb920 (LWP 2821)):
#0  0xb807d424 in __kernel_vsyscall ()
#1  0xb5bc1fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6c32f2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb76f2542 in QWaitCondition::wait (this=0x9fb0df8, mutex=0x9fb0de4, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb76e6e9a in QThreadPoolPrivate::waitForDone (this=0x9fb0da0) at concurrent/qthreadpool.cpp:288
#5  0xb76e7363 in ~QThreadPool (this=0xa5bb2e0) at concurrent/qthreadpool.cpp:381
#6  0xb76e834a in ~QGlobalStaticDeleter (this=0xb78c62f8) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1561
#7  0xb6b6fb29 in exit () from /lib/i686/cmov/libc.so.6
#8  0xb6f36b8b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:584
#9  0xb7d2e52a in KApplication::xioErrhandler (this=0xbf998030, dpy=0x9538970) at ../../kdeui/kernel/kapplication.cpp:413
#10 0xb7d2e566 in kde_xio_errhandler (dpy=0x9538970) at ../../kdeui/kernel/kapplication.cpp:130
#11 0xb5e398b6 in _XIOError () from /usr/lib/libX11.so.6
#12 0xb5e41093 in ?? () from /usr/lib/libX11.so.6
#13 0x09538970 in ?? ()
#14 0x0000147f in ?? ()
#15 0xbf995a68 in ?? ()
#16 0xbf995a64 in ?? ()
#17 0x00000000 in ?? ()
Comment 1 Frank Osterfeld 2009-05-14 21:59:09 UTC

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