audacious 2.3 crashed when playing audio file.

Bug #562713 reported by zhangsong023
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
audacious (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: audacious

10.04 with daily upgrade and 2.3-1ubuntu1.
After upgrade today, audacious crashed when playing audio file.

Reproduce:
1. Open audacious then play any audio file such as mp3 or wma.
2. audacious 2.3 crashed with the output "core dump".

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: audacious 2.3-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Apr 14 09:45:02 2010
ProcEnviron:
 LANGUAGE=zh_CN:zh:en_US:en
 PATH=(custom, user)
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
SourcePackage: audacious
---
Architecture: i386
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: nvidia
Package: audacious 2.3-1ubuntu1
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=zh_CN:zh:en_US:en
 PATH=(custom, user)
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-20-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare video

Revision history for this message
zhangsong023 (zhangsong023) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

I can play music without any problems. Please provide the crash log. Run "apport-collect 562713".

Changed in audacious (Ubuntu):
status: New → Incomplete
Revision history for this message
zhangsong023 (zhangsong023) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
zhangsong023 (zhangsong023) wrote :

I noticed that audaous would complain "Program received signal SIGILL, Illegal instruction."

It is certainly because the package compiled with some extension of specific CPU.

Revision history for this message
zhangsong023 (zhangsong023) wrote :

The backtrace:

#0 0x08056773 in ?? ()
#1 0x0807025e in ?? ()
#2 0x080702b5 in ?? ()
#3 0x0181d4d4 in ?? () from /usr/lib/audacious/General/skins.so
#4 0x080700be in ?? ()
#5 0x00189d5c in ?? () from /lib/libglib-2.0.so.0
#6 0x001895e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#7 0x0018d2d8 in ?? () from /lib/libglib-2.0.so.0
#8 0x0018d817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#9 0x0035e299 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x017ee58e in skins_init () from /usr/lib/audacious/General/skins.so
#11 0x08059759 in ?? ()
#12 0x009febd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#13 0x08053281 in ?? ()

Revision history for this message
Benjamin Drung (bdrung) wrote :

can you install the -dbg package and create the backtrace again?

What CPU do you have?

Revision history for this message
zhangsong023 (zhangsong023) wrote :

I know the reason now.
I checked the audacious source package with:
apt-get source audacious
and found the default options of the configure script option enabled the sse2 extension.
AMD athlon CPUs don't support that.

Here's the patch:

--- old/audacious-2.3/debian/rules 2010-04-14 20:06:15.373982571 +0800
+++ new/audacious-2.3/debian/rules 2010-04-14 20:05:36.321990605 +0800
@@ -6,7 +6,7 @@
 override_dh_auto_configure:
        ln -sf /usr/share/misc/config.sub .
        ln -sf /usr/share/misc/config.guess .
- dh_auto_configure -- --disable-rpath --enable-chardet
+ dh_auto_configure -- --disable-rpath --enable-chardet --disable-sse2

 override_dh_auto_clean:
        dh_auto_clean
zhangjinsong@ubuntu:~/audacious-2.3$

Revision history for this message
zhangsong023 (zhangsong023) wrote :

I am sorry, the last line is superfluous.

Changed in audacious (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

good catch. I will disable SSE2 on i386

Changed in audacious (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Benjamin Drung (bdrung)
Changed in audacious (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package audacious - 2.3-1ubuntu2

---------------
audacious (2.3-1ubuntu2) lucid; urgency=low

  * Disable SSE2 on i386 (LP: #562713).
 -- Benjamin Drung <email address hidden> Thu, 15 Apr 2010 01:55:05 +0200

Changed in audacious (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
zhangsong023 (zhangsong023) wrote :

Hi, the version of the package in the ubuntu repository is still 2.3-1ubuntu1, when would the package be upgraded to 2.3-1ubuntu2?

Thanks.

Revision history for this message
Benjamin Drung (bdrung) wrote :

You can see the build status here: https://launchpad.net/ubuntu/+source/audacious/2.3-1ubuntu2
Once the package is build, it can take one day until the package appears on your mirror.

Revision history for this message
zhangsong023 (zhangsong023) wrote :

Upgraded.
Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.