[natty] easymp3gain crashed with SIGSEGV

Bug #797568 reported by Patryk "LeadMan" Benderz
This bug report is a duplicate of:  Bug #641849: Access violation on scroll. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
easymp3gain (Ubuntu)
Incomplete
Undecided
Matthias Klumpp

Bug Description

1)
patben@esp-patben-lin:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2)
root@esp-patben-lin:/var/crash# apt-cache policy easymp3gain*
easymp3gain-gtk:
  Zainstalowana: 0.5.0-4
  Kandydująca: 0.5.0-4
  Tabela wersji:
 *** 0.5.0-4 0
        500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

3)
I expect to add files to easymp3gain list

4)
This happens while adding folders recursively, and may, or may not occur on exactly the same set of files. If I try to add same set of files several times, then some of attempts succeeds. This error occurs ~50% of attempts.
I was only able to trigger Apport by using Drag and Drop method to add folders to easymp3gain. Otherwise, when using "File">"Add folders recursively" command of easymp3gain, I only got error window as in attachment.
If you need more info let me know.
I was wondering if this bug might be related to #610928 , but If that was true, than none of my attempts would succeed, wouldn't it?
Cheers, Patryk.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: easymp3gain-gtk 0.5.0-4
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Wed Jun 15 09:58:51 2011
ExecutablePath: /usr/bin/easymp3gain
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcCmdline: r0B6A5605VVOSIhQdKEu57/8AD/TWPjPxxr73LzfbNRS1jBHCLEgGAfqa8/8A2ofhM3inS18ReFtEE/iBJFF2ITte4jAxnB4LCm/DTW5vFOjSsfiha6A19cTTrYWyRi5jd3P33fg8Y6V0Fr8M/HFjcCa3+J2p3qs29vPYxkj225FW2pR2bM1eEr81rep8UaloOt6LM5vtH1GxaPKs09uyiP1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dzF3aI/LOKUIwFOWRFX5yBzgZNNFxbPI0azI0o/hXkiq9vBOzkhKjN6pBsUMW25JGM0oGQW28Dqf
ProcEnviron:

SegvAnalysis:
 Segfault happened at: 0x4a490c: mov (%rdi),%rbx
 PC (0x004a490c) ok
 source "(%rdi)" (0x63795554316d5873) not located in a known VMA region (needed readable region)!
 destination "%rbx" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: easymp3gain
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: easymp3gain crashed with SIGSEGV
UpgradeStatus: Upgraded to natty on 2011-05-27 (19 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse libvirtd lpadmin netdev plugdev sambashare tape video

Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote :
description: updated
visibility: private → public
Revision history for this message
Matthias Klumpp (ximion) wrote :

Hi! First of all: Thank you for this excellent bug report! This is exactly how it should be :)
So, regarding your bug, it is related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597260 , unfortunately this can't be fixed in Natty. (but it has already been fixed in Oneiric)

> I was wondering if this bug might be related to #610928 , but If that was true, than none of my attempts would succeed, wouldn't it?
You can't do anything with the Ubuntu packages, but you can easily try the Debian package. Just install "easymp3gain-gtk" manually from Debian ( http://packages.debian.org/sid/easymp3gain-gtk ), this should fix your problem. (If not, let me know)
Regards
   Matthias

Changed in easymp3gain (Ubuntu):
assignee: nobody → Matthias Klumpp (ximion)
status: New → Opinion
summary: - easymp3gain crashed with SIGSEGV
+ [natty] easymp3gain crashed with SIGSEGV
Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote : Re: [Bug 797568] Re: easymp3gain crashed with SIGSEGV

Dnia 2011-06-15, śro o godzinie 11:59 +0000, Matthias Klumpp pisze:
> Hi! First of all: Thank you for this excellent bug report! This is
> exactly how it should be :)
No problem, and thanks for appreciation.
[cut]
> try the Debian package. Just install "easymp3gain-gtk" manually from
> Debian ( http://packages.debian.org/sid/easymp3gain-gtk ), this should
> fix your problem. (If not, let me know)
I have installed:
patben@esp-patben-lin:~$ apt-cache policy easymp3gain*
easymp3gain-gtk:
  Zainstalowana: 0.5.0-6
  Kandydująca: 0.5.0-6
  Tabela wersji:
 *** 0.5.0-6 0
        100 /var/lib/dpkg/status
     0.5.0-4 0
        500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages

Unfortunately the problem still occurs. I think I was able to find one
3MB mp3 song, which generates error at each attempt. I can attach it, if
it is not against any rules here?
--
Patryk "LeadMan" Benderz
Linux Registered User #377521
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments

Email secured by Check Point

Revision history for this message
Matthias Klumpp (ximion) wrote :

Okay, reopening this bug.
You can send me the file, if you think it causes the error (attaching it is not a good idea): <email address hidden>
Please install the package "easymp3gain-gtk" and "easymp3gain-dbg" from my Testing PPA ( https://edge.launchpad.net/~ximion/+archive/tests/+packages , compiled for Oneiric but can be used with Natty too, you need to downgrade the Debian packages). Then run easyMp3Gain in GDB:
1) Install GDB
2) Type "gdb --args easymp3gain" in a terminal
3) Type "run" and enter
4) Let easymp3gain crash
5) Return to terminal and type "bt full"
6) Show all log messages
7) Type "q", enter
8) Attach the complete terminal log here :)

Changed in easymp3gain (Ubuntu):
status: Opinion → Incomplete
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 SYSTEM_LONGJMP$JMP_BUF$LONGINT ()
 fpc_raiseexception ()
 ?? ()
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in easymp3gain (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Apport retracing service (apport) wrote : Crash report cannot be processed

Thank you for your report!

However, processing it in order to get sufficient information for the
developers failed (it does not generate an useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:

libk5crypto3: installed version 1.8.3+dfsg-5ubuntu2.1, latest version: 1.8.3+dfsg-5ubuntu2
libkrb5-3: installed version 1.8.3+dfsg-5ubuntu2.1, latest version: 1.8.3+dfsg-5ubuntu2
libcups2: installed version 1.4.6-5ubuntu1.2, latest version: 1.4.6-5ubuntu1
tzdata: installed version 2011g-0ubuntu0.11.04, latest version: 2011g-0ubuntu0.10.10
libxi6: installed version 2:1.4.1-1ubuntu2.1, latest version: 2:1.4.1-1ubuntu2
libgssapi-krb5-2: installed version 1.8.3+dfsg-5ubuntu2.1, latest version: 1.8.3+dfsg-5ubuntu2
libkrb5support0: installed version 1.8.3+dfsg-5ubuntu2.1, latest version: 1.8.3+dfsg-5ubuntu2
perl-base: installed version 5.10.1-17ubuntu4.1, latest version: 5.10.1-17ubuntu4
libxi6-dbg: installed version 2:1.4.1-1ubuntu2.1, latest version: 2:1.4.1-1ubuntu2

Please upgrade your system to the latest package versions. If you still
encounter the crash, please file a new report.

Thank you for your understanding, and sorry for the inconvenience!

tags: removed: need-amd64-retrace
Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote : Re: [Bug 797568] Re: [natty] easymp3gain crashed with SIGSEGV

Dnia 2011-06-15, śro o godzinie 17:20 +0000, Matthias Klumpp pisze:
> Okay, reopening this bug.
> You can send me the file, if you think it causes the error (attaching
> it is not a good idea): <email address hidden>
Already sent. I have noticed it is in fact an OGG not an MP3, but anyway
if program gets wrong file - it should report a message - not an SIGSEV.

> Please install the package "easymp3gain-gtk" and "easymp3gain-dbg"
> from my Testing PPA
> ( https://edge.launchpad.net/~ximion/+archive/tests/+packages ,
> compiled for Oneiric but can be used with Natty too, you need to
> downgrade the Debian packages).
I'll do it as soon as build will succeed. Currently there is "Dependency
wait on lychee (virtual-64)"
[cut]

Email secured by Check Point

Revision history for this message
Matthias Klumpp (ximion) wrote :

Oh sorry.... The package should be ready now (in a few minutes).
Did you install vorbisgain?
btw: Looks like Apport is running amok...

Changed in easymp3gain (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote :

Hi again, first of all - sorry it took so long to respond.

> Oh sorry.... The package should be ready now (in a few minutes).
I have just installed, the package you have provided, but I was not able
to reproduce the bug with this version.

> Did you install vorbisgain?
yes.

> btw: Looks like Apport is running amok...
I don't grasp this... what is 'amok'?

Regarding that I was not able to reproduce this bug, I have un-installed
easymp3gain 0.5.0-6~o5 and installed stock 0.5.0-4. Unfortunately there
was no dbg package in repository, but i have run it in gdb and here is
terminal output:

patben@esp-patben-lin:~$ gdb --args easymp3gain
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/easymp3gain...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/easymp3gain
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeefe7700 (LWP 15867)]
[New Thread 0x7fffee7e6700 (LWP 15868)]
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6fadc1b in gdk_drawable_get_size () from /usr/lib/libgdk-x11-2.0.so.0
(gdb) bt full
#0 0x00007ffff6fadc1b in gdk_drawable_get_size () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#1 0x000000000063bfc9 in ?? ()
No symbol table info available.
#2 0x00007fffffffbb90 in ?? ()
No symbol table info available.
#3 0x000000000074bf0d in ?? ()
No symbol table info available.
#4 0x0000000000a902c0 in _$GTKPROC$_Ld191 ()
No symbol table info available.
#5 0x00007ffff6a7dfd7 in g_hash_table_lookup () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007ffff6a74c69 in g_quark_try_string () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0x00007ffff7fb5cd0 in ?? ()
No symbol table info available.
#8 0x00007fff0000009f in ?? ()
No symbol table info available.
#9 0x0000000000000269 in ?? ()
No symbol table info available.
#10 0x00007ffff7fb5610 in ?? ()
No symbol table info available.
#11 0x00007ffff7fb5610 in ?? ()
No symbol table info available.
#12 0x00007fffffffbbd0 in ?? ()
No symbol table info available.
#13 0x00000000006a024b in ?? ()
No symbol table info available.
#14 0x00007ffff7fb5610 in ?? ()
No symbol table info available.
#15 0x00007fffe8008bf0 in ?? ()
No symbol table info available.
#16 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) q
A debugging session is active.

 Inferior 1 [process 15864] will be killed.

Quit anyway? (y or n) y

So I suppose this doesn't help you out much, as there was no debug
symbols? Anything more I can do to help?

Email secured by Check Point

Revision history for this message
Matthias Klumpp (ximion) wrote :

Hmm, weird... The backtrace is not very useful without debug symbols installed.
I guess this error is related to an LCL <> GTK2 incompatibility, which has been fixed with rev6 of this package / a new upload of the Lazarus package.
We will have this fixed in Oneiric :-)
(You maybe can combine the rev6 debug package with the rev5 package btw.)

Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote :
Download full text (5.0 KiB)

Dnia 2011-07-14, czw o godzinie 13:10 +0000, Matthias Klumpp pisze:
> Hmm, weird... The backtrace is not very useful without debug symbols installed.
> I guess this error is related to an LCL <> GTK2 incompatibility, which has been fixed with rev6 of this package / a new upload of the Lazarus package.
> We will have this fixed in Oneiric :-)
> (You maybe can combine the rev6 debug package with the rev5 package btw.)
normal install failed, cause easymp3gain-dbg depends on easymp3gain-gtk
(= 0.5.0-6~o5);
Hovewer using dpkg --force-depends-version allowed me to install rev6
dbg symbols. I have used this wiki to make back trace this time:
https://wiki.ubuntu.com/Backtrace I hope it will be more useful at this
attempt, however dbg symbols were not found again. Details in
attachment.

>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/797568
>
> Title:
> [natty] easymp3gain crashed with SIGSEGV
>
> Status in “easymp3gain” package in Ubuntu:
> Incomplete
>
> Bug description:
> 1)
> patben@esp-patben-lin:~$ lsb_release -rd
> Description: Ubuntu 11.04
> Release: 11.04
>
> 2)
> root@esp-patben-lin:/var/crash# apt-cache policy easymp3gain*
> easymp3gain-gtk:
> Zainstalowana: 0.5.0-4
> Kandydująca: 0.5.0-4
> Tabela wersji:
> *** 0.5.0-4 0
> 500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
> 100 /var/lib/dpkg/status
>
> 3)
> I expect to add files to easymp3gain list
>
> 4)
> This happens while adding folders recursively, and may, or may not occur on exactly the same set of files. If I try to add same set of files several times, then some of attempts succeeds. This error occurs ~50% of attempts.
> I was only able to trigger Apport by using Drag and Drop method to add folders to easymp3gain. Otherwise, when using "File">"Add folders recursively" command of easymp3gain, I only got error window as in attachment.
> If you need more info let me know.
> I was wondering if this bug might be related to #610928 , but If that was true, than none of my attempts would succeed, wouldn't it?
> Cheers, Patryk.
>
> ProblemType: Crash
> DistroRelease: Ubuntu 11.04
> Package: easymp3gain-gtk 0.5.0-4
> ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
> Uname: Linux 2.6.38-9-generic x86_64
> NonfreeKernelModules: fglrx
> Architecture: amd64
> Date: Wed Jun 15 09:58:51 2011
> ExecutablePath: /usr/bin/easymp3gain
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> ProcCmdline: r0B6A5605VVOSIhQdKEu57/8AD/TWPjPxxr73LzfbNRS1jBHCLEgGAfqa8/8A2ofhM3inS18ReFtEE/iBJFF2ITte4jAxnB4LCm/DTW5vFOjSsfiha6A19cTTrYWyRi5jd3P33fg8Y6V0Fr8M/HFjcCa3+J2p3qs29vPYxkj225FW2pR2bM1eEr81rep8UaloOt6LM5vtH1GxaPKs09uyiP1ycYp6NfxWqWt18ibRKgOCWB75r7e8a+GNa8Q+FZPC876nHBcsqXN1PeJMDDnLY4zuOOK5nXPgX8N18O+V9muLIWUDs14k+GbuWfsTWU6E+h0wxVO/vf5nyE43gAcZ70RIcNn7vQirWopHFeSJC2+AORF83JXOBn69a7/4TfCpfiLpOqy/22+mvaFVjAhDiRiM/N6D6Vyxi5aI7J1Iwu3sjvPg58Q/iFrVoulaTpukavFYW64SdzBMYwdoIP8AF6V7F8PtY8U6y+oL4j8KNoH2eQLbEy7xMO/Ncl8APhff+AxqV5rNzb3GoXQWBDCcqsK8jntk84r15FKrwK9OlG...

Read more...

Revision history for this message
Matthias Klumpp (ximion) wrote :

CRC mismatch - okay, it was worth a try...
I suggest you use the PPA packages and try this again when Oneiric is released. There are lots of changes made in Lazarus, so this issue might have been fixed already in newer Ubuntu and Debian versions.

Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote :

Dnia 2011-07-14, czw o godzinie 14:20 +0000, Matthias Klumpp pisze:
> CRC mismatch - okay, it was worth a try...
> I suggest you use the PPA packages and try this again when Oneiric is released. There are lots of changes made in Lazarus, so this issue might have been fixed already in newer Ubuntu and Debian versions.
I don't give up easily...
after googling for a while I found:
https://wiki.ubuntu.com/Kernel/Reference/ACPIDebuggingAMLwithSystemTap
making similar steps as described there, I have added debugging symbols
repository to my OS. (steps 2.1 and 2.2) This allowed me to install
debugging symbols for rev4:

root@esp-patben-lin:/etc/apt/sources.list.d# apt-cache policy easymp3gain*
easymp3gain-gtk:
  Zainstalowana: (brak)
  Kandydująca: 0.5.0-4
  Tabela wersji:
     0.5.0-4 0
        500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
easymp3gain-gtk-dbgsym:
  Zainstalowana: (brak)
  Kandydująca: 0.5.0-4
  Tabela wersji:
     0.5.0-4 0
        500 http://ddebs.ubuntu.com/ natty/universe amd64 Packages

I have made two debug runs. At first I got SIGSEGV right after program
started, thus I was not able to add any mp3 files. At second attempt
program started normally, and I go SIGSEGV after drag&drop folder with
mp3 files. Terminal gdb dump from both runs attached. Now you have more
data to analyze ;P

P.S. Probably it would save a lot of your time, if you tell reporters to
use this two wikis:
1) installing debugging symbols:
https://wiki.ubuntu.com/Kernel/Reference/ACPIDebuggingAMLwithSystemTap
2)Generating backtrace:
https://wiki.ubuntu.com/Backtrace

Email secured by Check Point

Revision history for this message
Matthias Klumpp (ximion) wrote :

Wow, thanks for the effort!
I didn't know about the "ACPIDebuggingAMLwithSystemTap" page, otherwise I would have pointed you to than - anyway, something good to know :)
With the additional information, I can mark this bug as duplicate, this should have been fixed with Lazarus 0.9.30 (a dependency of easyMp3Gain which provides a widgetset abstraction layer, the LCL).
This is also related to http://bugs.freepascal.org/view.php?id=16439
If you need packages for easyMp3Gain, I can provide some - fixing this in Natty will not be possible unfortunately, due to Ubuntu's policy. (I would have to add a new version of an application to a frozen repository - unfortunately, a fix for this error is not that trivial so that it could be fixed without a new-version-upload.)

Revision history for this message
Patryk "LeadMan" Benderz (leadman) wrote :

> Wow, thanks for the effort! I didn't know about the
> "ACPIDebuggingAMLwithSystemTap" page, otherwise I would have pointed
> you to than - anyway, something good to know :)
I have just used points related to installing ddebs. Maybe there is more
appropriate wiki related just to ddebs, but I couldn't find it...

> If you need packages for easyMp3Gain, I can provide some
Thanks, but I'll just use ones from your repository (0.5.0-6~o5) - they
were working fine.
Thank you for quick responses with this bug - i do not experience this
very often. Cheers!

--
Patryk "LeadMan" Benderz
Linux Registered User #377521
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments

Email secured by Check Point

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.