| Summary: | Crash if I click System Log button | ||
|---|---|---|---|
| Product: | [Applications] KSystemLog | Reporter: | ali.sherif10 |
| Component: | general | Assignee: | Nicolas Ternisien <nicolas.ternisien> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | cpigat242, kernelmd |
| Priority: | NOR | ||
| Version First Reported In: | 0.4 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Adds file existance checking, when user tries to change log mode.
Copy of patch from Bug 342490 |
||
|
Description
ali.sherif10
2015-02-21 17:44:42 UTC
Confirmed Here is my backtrace (basically the same as above): Application: ksystemlog (0.4) KDE Platform Version: 4.14.1 Qt Version: 4.8.6 Operating System: Linux 3.16.0-31-generic x86_64 Distribution: Ubuntu 14.10 -- 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 0x7fb72b1328c0 (LWP 29715))] Thread 2 (Thread 0x7fb719520700 (LWP 29807)): #0 0x00007fb7287af84d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fb724df9ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fb724df9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fb729bfc04e in QEventDispatcherGlib::processEvents (this=0x7fb70c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #4 0x00007fb729bcd4f1 in QEventLoop::processEvents (this=this@entry=0x7fb71951fce0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007fb729bcd805 in QEventLoop::exec (this=this@entry=0x7fb71951fce0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007fb729acbc39 in QThread::exec (this=this@entry=0x154fd50) at thread/qthread.cpp:538 #7 0x00007fb729baf033 in QInotifyFileSystemWatcherEngine::run (this=0x154fd50) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007fb729ace39f in QThreadPrivate::start (arg=0x154fd50) at thread/qthread_unix.cpp:349 #9 0x00007fb7256e70a5 in start_thread (arg=0x7fb719520700) at pthread_create.c:309 #10 0x00007fb7287b9cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fb72b1328c0 (LWP 29715)): [KCrash Handler] #5 childIndex (column=0, row=27043776, this=0x31) at ../../include/QtGui/private/../../../src/gui/itemviews/qstandarditemmodel_p.h:85 #6 QStandardItem::child (this=<optimized out>, row=27043776, column=0) at itemviews/qstandarditemmodel.cpp:1700 #7 0x00007fb7294e6362 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 0x00007fb729329981 in QComboBoxPrivate::itemText (this=this@entry=0x13ee9b0, index=...) at widgets/qcombobox.cpp:1287 #10 0x00007fb72932cf5f in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x13ee9b0, index=...) at widgets/qcombobox.cpp:1279 #11 0x00007fb729be2a7a in QMetaObject::activate (sender=sender@entry=0x13ee820, m=m@entry=0x7fb729f32860 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fff813671d0) at kernel/qobject.cpp:3567 #12 0x00007fb729c2c404 in QAbstractItemModel::rowsInserted (this=this@entry=0x13ee820, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:196 #13 0x00007fb729bc8062 in QAbstractItemModel::endInsertRows (this=0x13ee820) at kernel/qabstractitemmodel.cpp:2433 #14 0x00007fb7294e7a75 in QStandardItemModelPrivate::rowsInserted (this=<optimized out>, parent=parent@entry=0x13eedf0, row=row@entry=0, count=count@entry=1) at itemviews/qstandarditemmodel.cpp:558 #15 0x00007fb7294e87bf in QStandardItemPrivate::insertRows (this=0x13eee10, row=row@entry=0, count=count@entry=1, items=...) at itemviews/qstandarditemmodel.cpp:433 #16 0x00007fb7294ea04c in QStandardItem::insertRow (this=<optimized out>, row=row@entry=0, items=...) at itemviews/qstandarditemmodel.cpp:1457 #17 0x00007fb7294ea0c3 in QStandardItemModel::insertRow (this=this@entry=0x13ee820, row=row@entry=0, items=...) at itemviews/qstandarditemmodel.cpp:2498 #18 0x00007fb72932e375 in insertRow (aitem=0x153bf80, arow=<optimized out>, this=0x13ee820) 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 () On new systems that can happen because of absence of /var/log/syslog. I have fixed this problem by adding check for log file availability in the "file_check.patch". However, this patch is useless as is, because of bug 342490 ("crashing when clicking refresh button"), which is fixed by the patch in designated topic. For convenience, I have also attached this patch to the topic ("refresh_fix.patch") Created attachment 91750 [details]
Adds file existance checking, when user tries to change log mode.
Created attachment 91751 [details] Copy of patch from Bug 342490 I think the bugs is fixed. Should I change its status to RESOLVED FIXED? It's fixed in Kubuntu 15.04. Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |