audacious crashed while attempting to sort 3000 songs by artist

Bug #197027 reported by Aerdan
6
Affects Status Importance Assigned to Milestone
audacious (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: audacious

Audacious crashes while attempting to sort a playlist with about 3000 entries by artist.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Fri Feb 29 09:42:22 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/audacious
NonfreeKernelModules: nvidia
Package: audacious 1.4.6-2ubuntu1
PackageArchitecture: i386
ProcCmdline: audacious
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: audacious
Stacktrace:
 #0 0xb76e672d in strncasecmp () from /lib/tls/i686/cmov/libc.so.6
 #1 0x08067925 in ?? ()
 #2 0x00000000 in ?? ()
StacktraceTop:
 strncasecmp () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
 ?? ()
Title: audacious crashed with SIGSEGV in strncasecmp()
Uname: Linux 2.6.24-10-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video
SegvAnalysis:
 Segfault happened at: 0xb76e672d <strncasecmp+61>: movzbl (%eax),%eax
 PC (0xb76e672d) ok
 source "(%eax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA

Tags: apport-crash
Revision history for this message
Aerdan (kiyoshi-aman) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strncasecmp () from /lib/tls/i686/cmov/libc.so.6
str_has_prefix_nocase (str=0x0, prefix=0x80ae979 "the ") at strings.c:131
playlist_compare_artist (a=0xad1e34e8, b=0xad1e34c8) at playlist.c:2121
g_list_sort_real (list=<value optimized out>,
g_list_sort_real (list=0xa46b8c0, compare_func=0x8061030 <playlist_compare_artist>,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in audacious:
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

Looks like playlist_compare_artist() was missing some asserts... this adds them and should eliminate the crash.

Bryce Harrington (bryce)
Changed in audacious:
status: New → In Progress
Kees Cook (kees)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package audacious - 2.1-1ubuntu3

---------------
audacious (2.1-1ubuntu3) lucid; urgency=low

  * Add 101_ui_vis_pixmap_nullptr.patch: Check return value of
    gdk_pixmap_new() before dereferencing it.
    (LP: #292020)
  * Add 102_playlist_compare_path_assert.patch: Check input parameters
    for NULL values before dereferencing them.
    (LP: #197027)
  * Add 103_playlist_get_length.patch: Check for NULL playlist before
    dereferencing it.
    (LP: #268747)
  * Add 104_fix-playlist-eof-hook.diff: Trigger hook for reaching the
    end of the playlist.
    (LP: #499700)
  * Add 105_custom_uri.patch: Don't try looking up incomplete "file://"
    URI in mowgli.
    (LP: #273908)
 -- Bryce Harrington <email address hidden> Tue, 06 Apr 2010 20:55:59 -0700

Changed in audacious (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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