Bug 221126

Summary: audacity, fc6: immediate segmentation error in gdk library on running
Product: [Fedora] Fedora Reporter: simd
Component: audacityAssignee: Gérard Milmeister <gemi>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-13 18:39:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Log of trace output none

Description simd 2007-01-02 10:01:10 UTC
Description of problem:
After downloading audacity (pirut), on running it in FC6, was preseneted with a
dialog asking me to select a language (selected english). After pressing ok it
crashed with the following error:

Gdk-CRITICAL **: file gdkfont.c: line 337 (gdk_string_width): assertion `font !=
NULL' failed.
Segmentation fault

How reproducible:
Have uninstalled and re-installed. Have also tried the other version from livna.
Always the same.
? Missing dependency ?

All software on the system has been loaded directly using pirut, using fedora
core, updates, extras, and livna repositories.

Have seen another (German) user report exactly the same problem:
http://www.fedoraforum.de/viewtopic.php?p=50399&sid=f7c40f47731d54e247e2e8bc9603e56c

Comment 1 Gérard Milmeister 2007-01-02 12:13:35 UTC
Seems to be a missing font issue.
Please provide the output of:
rpm -qa | grep fonts


Comment 2 simd 2007-01-02 15:02:40 UTC
Yes, I've tried loading what I could find..
rpm -qa | grep fonts gives:

xorg-x11-fonts-ISO8859-1-100dpi-7.1-2
dejavu-fonts-2.11-1.fc6
xorg-x11-fonts-base-7.1-2
xorg-x11-fonts-misc-7.1-2
xorg-x11-fonts-truetype-7.1-2
urw-fonts-2.3-6.1.1
xorg-x11-fonts-75dpi-7.1-2
hunky-fonts-0.3.1-4.fc6
ghostscript-fonts-5.50-13.1.1
xorg-x11-fonts-ISO8859-1-75dpi-7.1-2
bitstream-vera-fonts-1.10-7
bitmap-fonts-0.3-5.1.1
msttcorefonts-2.0-1
xorg-x11-fonts-Type1-7.1-2
dejavu-lgc-fonts-2.10-1
xorg-x11-fonts-100dpi-7.1-2


Comment 3 Gérard Milmeister 2007-01-02 15:35:03 UTC
Fonts seem to be ok.
What is your LANG setting? Try to start audacity with "CFLAGS=C audacity".
There is a new build of audacity (1.2.6) on its way. Try again with the new version.
If everything fails, provide the output of "strace -f audacity".

Comment 4 simd 2007-01-02 17:01:54 UTC
LANG setting made no difference.
OK, will wait till the new build gets released.
Thx


Comment 5 simd 2007-01-04 21:06:43 UTC
Created attachment 144843 [details]
Log of trace output 

Output of the command:
strace -f audacity 2> Desktop/audacity.log

This was done following installation of the new audacity version today.
The program still crashes on first running with:

Gdk-CRITICAL **: file gdkfont.c: line 337 (gdk_string_width): assertion `font
!= NULL' failed.

Comment 6 simd 2007-01-04 21:17:59 UTC
Hope this helps! Looking at the trace output, I have the suspicion that the font
is a redherring - the program seems to have got into some sort of a loop...

Looking around, I have found this has happened to other users, eg:
http://slax.linux-live.org/forum/viewtopic.php?p=52629&sid=221843e76b553608bd12ca611bd56e63
(I tried this - it didn't work).

So I suspect there is a bug in audacity somewhere, or a build issue... 



Comment 7 Gérard Milmeister 2007-01-05 00:13:13 UTC
You can try to move the .gtkrc* files in your home directory out of the way
temporarily. You may run gdb with audacity-debuginfo installed, but I doubt this
will give any useful information. Otherwise you should report the bug upstream.
I cannot reproduce the bug on my machine...

Comment 8 simd 2007-01-07 16:15:38 UTC
Good news :-))
Have just updated to the new, new version (1.3.2 beta), and it RUNS!!!
Thx for the help.