Bug 285504 - Crash when opening a Rprof.out file
Summary: Crash when opening a Rprof.out file
Status: RESOLVED WORKSFORME
Alias: None
Product: kcachegrind
Classification: Developer tools
Component: general (show other bugs)
Version: 0.6kde
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 19:45 UTC by Manuel López-Ibáñez
Modified: 2018-11-29 04:54 UTC (History)
0 users

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


Attachments
file that makes Kcachegrind to crash (gzipped) (50.80 KB, application/x-wiki)
2011-11-01 19:48 UTC, Manuel López-Ibáñez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel López-Ibáñez 2011-11-01 19:45:28 UTC
Application: kcachegrind (0.6kde)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-12-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
I tried to open an output file from R CMD Rprof (attached). Kcachegrind crashes when quitting.

1. Open the file
2. Close the application
3. Crash

The crash can be reproduced every time.

-- Backtrace:
Application: KCachegrind (kcachegrind), signal: Floating point exception
[Current thread is 1 (Thread 0xb4f99710 (LWP 2941))]

Thread 2 (Thread 0xb27a8b70 (LWP 2945)):
#0  0xb5373d41 in clock_gettime (clock_id=1, tp=0xb27a8000) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb5fdddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb60aa4f2 in updateCurrentTime (this=0xb1e00d2c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb1e00d2c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb60a8d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb27a80dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb60a8dcd in timerSourcePrepare (source=0xb1e00cf8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5558fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5559e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb555a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb60a9577 in QEventDispatcherGlib::processEvents (this=0x9c02ec8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb607b289 in QEventLoop::processEvents (this=0xb27a8290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb607b522 in QEventLoop::exec (this=0xb27a8290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5f852a0 in QThread::exec (this=0x9ea28c0) at thread/qthread.cpp:492
#14 0xb605cfdb in QInotifyFileSystemWatcherEngine::run (this=0x9ea28c0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5f87da2 in QThreadPrivate::start (arg=0x9ea28c0) at thread/qthread_unix.cpp:320
#16 0xb5731e99 in start_thread (arg=0xb27a8b70) at pthread_create.c:304
#17 0xb5d6873e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4f99710 (LWP 2941)):
[KCrash Handler]
#7  0x080d32fe in TabView::saveLayout (this=0x9d58a18, prefix=..., postfix=...) at ../../../kcachegrind/libviews/tabview.cpp:898
#8  0x080b4be4 in MultiView::saveLayout (this=0x9c0eff0, prefix=..., postfix=...) at ../../../kcachegrind/libviews/multiview.cpp:219
#9  0x08063945 in TopLevel::saveCurrentState (this=0x9bc2750, postfix=...) at ../../../kcachegrind/kcachegrind/toplevel.cpp:209
#10 0x0806cd55 in TopLevel::queryExit (this=0x9bc2750) at ../../../kcachegrind/kcachegrind/toplevel.cpp:1884
#11 0xb71e0b77 in KMainWindow::closeEvent (this=0x9bc2750, e=0xbfbfe488) at ../../kdeui/widgets/kmainwindow.cpp:604
#12 0xb66282a0 in QWidget::event (this=0x9bc2750, event=0xbfbfe488) at kernel/qwidget.cpp:8417
#13 0xb6a39527 in QMainWindow::event (this=0x9bc2750, event=0xbfbfe488) at widgets/qmainwindow.cpp:1480
#14 0xb71df1ec in KMainWindow::event (this=0x9bc2750, ev=0xbfbfe488) at ../../kdeui/widgets/kmainwindow.cpp:1100
#15 0xb721fa8f in KXmlGuiWindow::event (this=0x9bc2750, ev=0xbfbfe488) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#16 0xb65cfd24 in QApplicationPrivate::notify_helper (this=0x9ab04f0, receiver=0x9bc2750, e=0xbfbfe488) at kernel/qapplication.cpp:4462
#17 0xb65d497b in QApplication::notify (this=0xbfbfec18, receiver=0x9bc2750, e=0xbfbfe488) at kernel/qapplication.cpp:4427
#18 0xb710432a in KApplication::notify (this=0xbfbfec18, receiver=0x9bc2750, event=0xbfbfe488) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb607c0bb in QCoreApplication::notifyInternal (this=0xbfbfec18, receiver=0x9bc2750, event=0xbfbfe488) at kernel/qcoreapplication.cpp:731
#20 0xb6622c3c in sendEvent (this=0x9bc5198, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QWidgetPrivate::close_helper (this=0x9bc5198, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7825
#22 0xb665c7eb in translateCloseEvent (this=0xbfbfec18, w=0x9bc2750, event=0xbfbfe8ac, passive_only=false) at kernel/qapplication_x11.cpp:5661
#23 QApplication::x11ClientMessage (this=0xbfbfec18, w=0x9bc2750, event=0xbfbfe8ac, passive_only=false) at kernel/qapplication_x11.cpp:3139
#24 0xb665a060 in QApplication::x11ProcessEvent (this=0xbfbfec18, event=0xbfbfe8ac) at kernel/qapplication_x11.cpp:3819
#25 0xb66865f4 in x11EventSourceDispatch (s=0x9ab3ae8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0xb5559aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb555a270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb555a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb60a953c in QEventDispatcherGlib::processEvents (this=0x9aae6b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#30 0xb66861e5 in QGuiEventDispatcherGlib::processEvents (this=0x9aae6b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0xb607b289 in QEventLoop::processEvents (this=0xbfbfeb74, flags=...) at kernel/qeventloop.cpp:149
#32 0xb607b522 in QEventLoop::exec (this=0xbfbfeb74, flags=...) at kernel/qeventloop.cpp:201
#33 0xb607fecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0xb65cd8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#35 0x08060fca in main (argc=) at ../../../kcachegrind/kcachegrind/main.cpp:91

Reported using DrKonqi
Comment 1 Manuel López-Ibáñez 2011-11-01 19:48:03 UTC
Created attachment 65128 [details]
file that makes Kcachegrind to crash (gzipped)

You need to gunzip it.
Comment 2 Manuel López-Ibáñez 2011-11-01 19:49:16 UTC
I know Kcachegrind cannot handle this file, but I guess it shouldn't crash either. Anyway, not very critical.
Comment 3 Andrew Crouthamel 2018-10-29 22:38:38 UTC
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!
Comment 4 Bug Janitor Service 2018-11-13 14:35:21 UTC
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!
Comment 5 Bug Janitor Service 2018-11-29 04:54:30 UTC
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!