Bug 331715

Summary: hotshot2calltree script crashes on load due to invalid version string
Product: [Developer tools] kcachegrind Reporter: Henry de Valence <hdevalence>
Component: generalAssignee: Josef Weidendorfer <josef.weidendorfer>
Status: RESOLVED FIXED    
Severity: crash CC: scarpino
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.13

Description Henry de Valence 2014-03-03 22:20:45 UTC
Description:

The hotshot2calltree script included in kdesdk-kcachegrind 4.12.2-1 crashes on launch due to an invalid version string.

Specifically, line 56 has:

version = "$Revision$"

and line 347 has:

versiontext = "%s version: %s" % ( progname, version.split()[1], )

which causes a crash because "$Revision$" hasn't been replaced with the actual version string.

Additional info:
* package version(s)

/usr/bin/hotshot2calltree is owned by kdesdk-kcachegrind 4.12.2-1

* config and/or log files etc.

None.

Steps to reproduce:

Run the program.

NOTE: reported downstream at https://bugs.archlinux.org/task/39130
Comment 1 Josef Weidendorfer 2014-03-03 23:37:00 UTC
Git commit beae8fbb974074c6e9b77b371cb479893b27a875 by Josef Weidendorfer.
Committed on 03/03/2014 at 23:31.
Pushed by weidendo into branch 'master'.

Fix hotshot2calltree: remove SVN keyword substitution

Replaced by cmake configuration file substitution feature

M  +11   -2    converters/CMakeLists.txt
R  +1    -1    converters/hotshot2calltree.cmake [from: converters/hotshot2calltree - 099% similarity]

http://commits.kde.org/kcachegrind/beae8fbb974074c6e9b77b371cb479893b27a875
Comment 2 Josef Weidendorfer 2014-03-03 23:40:12 UTC
Git commit 2858c560b2b5af8a9fa4bd9692a306b5edfe264f by Josef Weidendorfer.
Committed on 03/03/2014 at 23:31.
Pushed by weidendo into branch 'KDE/4.13'.

Fix hotshot2calltree: remove SVN keyword substitution

Replaced by cmake configuration file substitution feature

M  +11   -2    converters/CMakeLists.txt
R  +1    -1    converters/hotshot2calltree.cmake [from: converters/hotshot2calltree - 099% similarity]

http://commits.kde.org/kcachegrind/2858c560b2b5af8a9fa4bd9692a306b5edfe264f