Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118226 - media-sound/gramofile-1.6 segfaults when recording or playing
Summary: media-sound/gramofile-1.6 segfaults when recording or playing
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 137756
Blocks:
  Show dependency tree
 
Reported: 2006-01-07 13:42 UTC by Volker Schroer
Modified: 2007-11-16 13:42 UTC (History)
2 users (show)

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


Attachments
Ebuild for changing some CFLAGS in gramofile (gramofile-1.6-r2.ebuild,1.32 KB, text/plain)
2006-01-07 13:53 UTC, Volker Schroer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Schroer 2006-01-07 13:42:50 UTC
When trying to record or play a soundfile with gramofile , gramofile doesn't do anything. The logfiles show a segmentation fault.

Steps to reproduce

1) Start gramofile
2) Select:
   Record audio to a sound file
   select the file and start recording

Actual results:

Gramofile returns to main menu at once
In the log you'll get for example:

Jan  7 17:40:19 tux64 brec_gramo[5219]: segfault at ffffffffff9a0b5c rip 000000000040230a rsp 00007fffff99f5c0 error 4
Jan  7 17:41:16 tux64 brec_gramo[5222]: segfault at ffffffffff848b58 rip 000000000040230a rsp 00007fffff8472d0 error 4
Jan  7 17:47:07 tux64 brec_gramo[5277]: segfault at ffffffffff838b5c rip 00002aaaaad88c90 rsp 00007fffff836f28 error 4

Expected results

 a saved soundfile

Tested versions:
gramofile-1.6 and gramofile-1.6-r1
Comment 1 Volker Schroer 2006-01-07 13:51:19 UTC
This problem is caused by a missing call to basename if the macrovariable linux is not set

Solved this problem by adding the following line 

sed -i -e "s/CFLAGS = -Wall -O2 -DUSEBUFFLOCK -DREDHAT50 -DLP2CD -DVUMETER/CFLAGS \= -Wall `echo ${CFLAGS}
` -DUSEBUFFLOCK -DLP2CD -DVUMETER -Dlinux/" bplaysrc/Makefile

to the ebuild.

Additionally this line assures that the CFLAGS from make.conf are used.

A new ebuild is attached
Comment 2 Volker Schroer 2006-01-07 13:53:06 UTC
Created attachment 76473 [details]
Ebuild for changing some CFLAGS in gramofile
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 13:41:52 UTC
Please test w/ gramofile-1.6_p3 and reopen if you have issues with that one.