cmus crashes due to "segmentation fault" while building a library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| cmus (Ubuntu) |
Medium
|
Johannes W |
Bug Description
Binary package hint: cmus
Sysem: Ubuntu 10.04.1 LTS
cmus 2.2.0-4ubuntu3
Expected:
cmus builds a library
What happened instead:
cmus crashed and reported a "segmentation fault"
dmesg reported:
"cmus[15930]: segfault at 0 ip 00d94ef7 sp b65f05a0 error 4 in flac.so[
Alessio Treglia (quadrispro) wrote : | #1 |
Changed in cmus (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Released |
Thrilway (dan-milway) wrote : | #2 |
I've upgraded to Maverick and the issue persists
Changed in cmus (Ubuntu): | |
status: | Fix Released → New |
What version of cmus are you using?
Thrilway (dan-milway) wrote : Re: [Bug 635231] Re: cmus crashes due to "segmentation fault" while building a library | #4 |
cmus 2.3.3-2build1
On Fri, Oct 15, 2010 at 12:36 PM, Gregory Petrosyan <
<email address hidden>> wrote:
> What version of cmus are you using?
>
> --
> cmus crashes due to "segmentation fault" while building a library
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “cmus” package in Ubuntu: New
>
> Bug description:
> Binary package hint: cmus
>
> Sysem: Ubuntu 10.04.1 LTS
> cmus 2.2.0-4ubuntu3
>
> Expected:
> cmus builds a library
>
> What happened instead:
> cmus crashed and reported a "segmentation fault"
>
> dmesg reported:
> "cmus[15930]: segfault at 0 ip 00d94ef7 sp b65f05a0 error 4 in
> flac.so[
>
> To unsubscribe from this bug, go to:
> https:/
>
On Fri, Oct 15, 2010 at 11:03 PM, Thrilway <email address hidden> wrote:
> cmus 2.3.3-2build1
Thanks!
Can you please build a debug version of cmus from source
(http://
-dev packages from the Ubuntu repository to do it:
./configure DEBUG=2
make
sudo make install
After this, can you run it under GDB in order to get stacktrace? Also,
~/cmus-debug.txt can contain helpful information.
Or, if that sounds like a lot of work, can you please find a guilty
.flac file (using binary search) and send it to me, so that I can
reproduce the problem?
Gregory
Thrilway (dan-milway) wrote : | #6 |
Here's the stacktrace.
Dan
On Fri, Oct 15, 2010 at 5:43 PM, Gregory Petrosyan <
<email address hidden>> wrote:
> On Fri, Oct 15, 2010 at 11:03 PM, Thrilway <email address hidden>
> wrote:
> > cmus 2.3.3-2build1
>
> Thanks!
>
> Can you please build a debug version of cmus from source
> (http://
> -dev packages from the Ubuntu repository to do it:
>
> ./configure DEBUG=2
> make
> sudo make install
>
> After this, can you run it under GDB in order to get stacktrace? Also,
> ~/cmus-debug.txt can contain helpful information.
>
> Or, if that sounds like a lot of work, can you please find a guilty
> .flac file (using binary search) and send it to me, so that I can
> reproduce the problem?
>
> Gregory
>
> --
> cmus crashes due to "segmentation fault" while building a library
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “cmus” package in Ubuntu: New
>
> Bug description:
> Binary package hint: cmus
>
> Sysem: Ubuntu 10.04.1 LTS
> cmus 2.2.0-4ubuntu3
>
> Expected:
> cmus builds a library
>
> What happened instead:
> cmus crashed and reported a "segmentation fault"
>
> dmesg reported:
> "cmus[15930]: segfault at 0 ip 00d94ef7 sp b65f05a0 error 4 in
> flac.so[
>
> To unsubscribe from this bug, go to:
> https:/
>
Do other players handle this file well?
From stacktrace, it looks like cmus assumes that the file has more channels than it actually does, and this leads to segfault when accessing non-existing buffer.
Thrilway (dan-milway) wrote : | #8 |
Rhythmbox adds it to the library and plays it without issue.
neither vlc or xine could play it.
On Sun, Oct 17, 2010 at 2:48 PM, Gregory Petrosyan <
<email address hidden>> wrote:
> Do other players handle this file well?
>
> >From stacktrace, it looks like cmus assumes that the file has more
> channels than it actually does, and this leads to segfault when
> accessing non-existing buffer.
>
> --
> cmus crashes due to "segmentation fault" while building a library
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “cmus” package in Ubuntu: New
>
> Bug description:
> Binary package hint: cmus
>
> Sysem: Ubuntu 10.04.1 LTS
> cmus 2.2.0-4ubuntu3
>
> Expected:
> cmus builds a library
>
> What happened instead:
> cmus crashed and reported a "segmentation fault"
>
> dmesg reported:
> "cmus[15930]: segfault at 0 ip 00d94ef7 sp b65f05a0 error 4 in
> flac.so[
>
> To unsubscribe from this bug, go to:
> https:/
>
Changed in cmus (Ubuntu): | |
assignee: | nobody → Johannes W (jmuc) |
Changed in cmus (Ubuntu): | |
status: | New → Confirmed |
Johannes W (jmuc) wrote : | #9 |
I sent a patch to cmus-devel (attached), so hopefully the bug can be closed soon. Thanks for reporting!
tags: | added: patch |
Johannes W (jmuc) wrote : | #10 |
I'm closing the bug since it is fixed in the latest development version of Ubuntu - Oneiric Ocelot:
https:/
For older versions of Ubuntu, you can use the package from my PPA:
https:/
Changed in cmus (Ubuntu): | |
status: | Confirmed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug seems fixed in the latest development version of Ubuntu - Maverick Meerkat.
Please re-open if not so.