Bug 342644 - Ksystemlog crashes when trying to load or reload a logfile
Summary: Ksystemlog crashes when trying to load or reload a logfile
Status: RESOLVED DUPLICATE of bug 342490
Alias: None
Product: KSystemLog
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Nicolas Ternisien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 23:26 UTC by Nick
Modified: 2015-01-17 18:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2015-01-08 23:26:28 UTC
Application: ksystemlog (0.4)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.16.0-28-generic x86_64
Distribution: Ubuntu 14.10

-- Information about the crash:
When I try to load or reload a logfile using the buttons at the top (Reload, System Log, Kernel Log, etc.) Ksystemlog just crashes. It's pretty much completely useless as I can't read any log files because of the crashing.

The crash can be reproduced every time.

-- Backtrace:
Application: KSystemlog (ksystemlog), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f400ef018c0 (LWP 8092))]

Thread 2 (Thread 0x7f3ffd7d4700 (LWP 8094)):
#0  0x00007f400c5902cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4008bd9ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4008bd9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f400d9dd04e in QEventDispatcherGlib::processEvents (this=0x7f3ff80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f400d9ae4f1 in QEventLoop::processEvents (this=this@entry=0x7f3ffd7d3ce0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f400d9ae805 in QEventLoop::exec (this=this@entry=0x7f3ffd7d3ce0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f400d8acc39 in QThread::exec (this=this@entry=0x1f63d20) at thread/qthread.cpp:538
#7  0x00007f400d990033 in QInotifyFileSystemWatcherEngine::run (this=0x1f63d20) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f400d8af39f in QThreadPrivate::start (arg=0x1f63d20) at thread/qthread_unix.cpp:349
#9  0x00007f40094c70a5 in start_thread (arg=0x7f3ffd7d4700) at pthread_create.c:309
#10 0x00007f400c59a77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f400ef018c0 (LWP 8092)):
[KCrash Handler]
#5  childIndex (column=0, row=34429968, this=0x31) at ../../include/QtGui/private/../../../src/gui/itemviews/qstandarditemmodel_p.h:85
#6  QStandardItem::child (this=<optimized out>, row=34429968, column=0) at itemviews/qstandarditemmodel.cpp:1700
#7  0x00007f400d2c7362 in itemFromIndex (index=..., this=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qstandarditemmodel_p.h:162
#8  QStandardItemModel::data (this=<optimized out>, index=..., role=0) at itemviews/qstandarditemmodel.cpp:2653
#9  0x00007f400d10a981 in QComboBoxPrivate::itemText (this=this@entry=0x1eef7c0, index=...) at widgets/qcombobox.cpp:1287
#10 0x00007f400d10df5f in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x1eef7c0, index=...) at widgets/qcombobox.cpp:1279
#11 0x00007f400d9c3a7a in QMetaObject::activate (sender=sender@entry=0x1f01ff0, m=m@entry=0x7f400dd13860 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffe1ac2fe0) at kernel/qobject.cpp:3567
#12 0x00007f400da0d404 in QAbstractItemModel::rowsInserted (this=this@entry=0x1f01ff0, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#13 0x00007f400d9a9062 in QAbstractItemModel::endInsertRows (this=0x1f01ff0) at kernel/qabstractitemmodel.cpp:2433
#14 0x00007f400d2c8a75 in QStandardItemModelPrivate::rowsInserted (this=<optimized out>, parent=parent@entry=0x1efdc70, row=row@entry=0, count=count@entry=1) at itemviews/qstandarditemmodel.cpp:558
#15 0x00007f400d2c97bf in QStandardItemPrivate::insertRows (this=0x1f02010, row=row@entry=0, count=count@entry=1, items=...) at itemviews/qstandarditemmodel.cpp:433
#16 0x00007f400d2cb04c in QStandardItem::insertRow (this=<optimized out>, row=row@entry=0, items=...) at itemviews/qstandarditemmodel.cpp:1457
#17 0x00007f400d2cb0c3 in QStandardItemModel::insertRow (this=this@entry=0x1f01ff0, row=row@entry=0, items=...) at itemviews/qstandarditemmodel.cpp:2498
#18 0x00007f400d10f375 in insertRow (aitem=0x1e48d30, arow=<optimized out>, this=0x1f01ff0) at ../../include/QtGui/../../src/gui/itemviews/qstandarditemmodel.h:438
#19 QComboBox::insertItem (this=<optimized out>, index=0, icon=..., text=..., userData=...) at widgets/qcombobox.cpp:2145
#20 0x000000000042fcc0 in _start ()

Reproducible: Always

Steps to Reproduce:
1. Start Ksystemlog
2. Try to load the Kernel Log using the Kernel Log button at the top

Actual Results:  
Ksystemlog crashes

Expected Results:  
Kernel log is loaded
Comment 1 ayuelkenbeck 2015-01-17 13:45:29 UTC
If you have the ability to build from source, please try the patch posted on https://bugs.kde.org/show_bug.cgi?id=342490 and report back.
Comment 2 Nick 2015-01-17 18:33:12 UTC
Looks like that patch did the trick. No more crashing when (re)loading logs. Thanks
Comment 3 Nick 2015-01-17 18:37:01 UTC

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