Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293057 - media-sound/timidity++-2.13.2-r11: crashes when changing dynamic library root (and fix)
Summary: media-sound/timidity++-2.13.2-r11: crashes when changing dynamic library root...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 16:21 UTC by Hendrik Iben
Modified: 2014-04-29 03:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix crash on changing library path (timidity++-2.13.2-dynamic_lib_root.patch,731 bytes, patch)
2009-11-13 16:23 UTC, Hendrik Iben
Details | Diff
ebuild using the patch (timidity++-2.13.2-r12.ebuild,5.25 KB, text/plain)
2009-11-13 16:23 UTC, Hendrik Iben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Iben 2009-11-13 16:21:37 UTC
This seems to be a long known bug but it seems only few people run into it.
(reference: http://osdir.com/ml/audio.timidity++.general/2006-03/msg00000.html)

TiMidity++ can load interfaces dynamical from a directory which can be changed via command line. If you try it, the application will crash because it tries to free memory that was never assigned (to the initial pathname).

To reproduce (crashes instantly):
timidity -d . --help

I recreated the patch described in above reference and put together an ebuild.
(attached)
Comment 1 Hendrik Iben 2009-11-13 16:23:15 UTC
Created attachment 210139 [details, diff]
patch to fix crash on changing library path
Comment 2 Hendrik Iben 2009-11-13 16:23:58 UTC
Created attachment 210141 [details]
ebuild using the patch
Comment 3 SpanKY gentoo-dev 2014-04-29 03:11:10 UTC
should be fixed in 2.14.0