Bug 236441 - kCacheGrind setfaults opening a large cachegrind file
Summary: kCacheGrind setfaults opening a large cachegrind file
Status: RESOLVED DUPLICATE of bug 232470
Alias: None
Product: kcachegrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 15:31 UTC by Richard J. Turner
Modified: 2010-05-05 16:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard J. Turner 2010-05-05 15:31:00 UTC
Application: kcachegrind (0.5.1kde)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic-pae i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Attempted to open a large cachegrind file (I later looked at the size: 2.5Gb). "Loading..." progress bar chugs along nicely for a while, then the app dies with a segfault.

The crash can be reproduced every time.

 -- Backtrace:
Application: KCachegrind (kcachegrind), signal: Segmentation fault
[KCrash Handler]
#5  FixPool::ensureSpace (this=0x8cacd70, size=16) at ../../../kcachegrind/libcore/pool.cpp:104
#6  0x0809ccae in FixPool::reserve (this=0x8cacd70, size=16) at ../../../kcachegrind/libcore/pool.cpp:73
#7  0x0809c6eb in FixCallCost (this=0xbffd72b8, part=0x8cb96a8, pool=0x8cacd70, functionSource=0x8eca320, line=219, addr=..., partCall=0x8eca4f8, callCount=..., s=...)
    at ../../../kcachegrind/libcore/fixcost.cpp:91
#8  0x0809b375 in CachegrindLoader::loadTraceInternal (this=0xbfde0630, part=0x8cb96a8) at ../../../kcachegrind/libcore/cachegrindloader.cpp:1162
#9  0x0809be6a in CachegrindLoader::loadTrace (this=0x8a4c6f8, p=0x8cb96a8) at ../../../kcachegrind/libcore/cachegrindloader.cpp:180
#10 0x0808df10 in TraceData::addPart (this=0x8cb1498, dir=..., name=...) at ../../../kcachegrind/libcore/tracedata.cpp:3380
#11 0x08093001 in TraceData::load (this=0x8cb1498, base=...) at ../../../kcachegrind/libcore/tracedata.cpp:3302
#12 0x08070041 in TopLevel::loadTrace (this=0x8a4a3f8, file=) at ../../../kcachegrind/kcachegrind/toplevel.cpp:946
#13 0x0807057e in TopLevel::loadTraceDelayed (this=0x8a4a3f8) at ../../../kcachegrind/kcachegrind/toplevel.cpp:1013
#14 0x0807176d in TopLevel::qt_metacall (this=0x8a4a3f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfde0a5c) at ./toplevel.moc:323
#15 0xb5f9bc9a in QMetaObject::metacall (object=0x8a4a3f8, cl=4294967224, idx=131, argv=0xbfde0a5c) at kernel/qmetaobject.cpp:237
#16 0xb5faa3d5 in QMetaObject::activate (sender=0x8b692f0, m=0xb60a9188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#17 0xb5fb1fe7 in QSingleShotTimer::timeout (this=0x8b692f0) at .moc/release-shared/qtimer.moc:82
#18 0xb5fb20fc in QSingleShotTimer::timerEvent (this=0x8b692f0) at kernel/qtimer.cpp:308
#19 0xb5fa7254 in QObject::event (this=0x8b692f0, e=0x0) at kernel/qobject.cpp:1212
#20 0xb64b64dc in QApplicationPrivate::notify_helper (this=0x8906008, receiver=0x8b692f0, e=0xbfde0f90) at kernel/qapplication.cpp:4300
#21 0xb64bd05e in QApplication::notify (this=0xbfde12f8, receiver=0x8b692f0, e=0xbfde0f90) at kernel/qapplication.cpp:3704
#22 0xb6fdcf2a in KApplication::notify (this=0xbfde12f8, receiver=0x8b692f0, event=0xbfde0f90) at ../../kdeui/kernel/kapplication.cpp:302
#23 0xb5f96a3b in QCoreApplication::notifyInternal (this=0xbfde12f8, receiver=0x8b692f0, event=0xbfde0f90) at kernel/qcoreapplication.cpp:704
#24 0xb5fc5d66 in QCoreApplication::sendEvent (this=0x8909234) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x8909234) at kernel/qeventdispatcher_unix.cpp:603
#26 0xb5fc28e4 in timerSourceDispatch (source=0x8909200) at kernel/qeventdispatcher_glib.cpp:184
#27 0xb55fd5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0xb56012d8 in ?? () from /lib/libglib-2.0.so.0
#29 0xb56014b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0xb5fc25d5 in QEventDispatcherGlib::processEvents (this=0x88f19c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#31 0xb6576135 in QGuiEventDispatcherGlib::processEvents (this=0x88f19c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb5f95059 in QEventLoop::processEvents (this=0xbfde1254, flags=) at kernel/qeventloop.cpp:149
#33 0xb5f954aa in QEventLoop::exec (this=0xbfde1254, flags=...) at kernel/qeventloop.cpp:201
#34 0xb5f9969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0xb64b6577 in QApplication::exec () at kernel/qapplication.cpp:3579
#36 0x080626ab in main (argc=2, argv=0xbfde1444) at ../../../kcachegrind/kcachegrind/main.cpp:91

Reported using DrKonqi
Comment 1 Josef Weidendorfer 2010-05-05 16:58:21 UTC

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