[SRU] gnomeradio crashed with SIGABRT in __libc_message()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnomeradio (Debian) |
Fix Released
|
Unknown
|
|||
gnomeradio (Fedora) |
Won't Fix
|
Medium
|
|||
gnomeradio (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Pojar Geo | ||
Quantal |
Fix Released
|
Medium
|
Pojar Geo |
Bug Description
SRU JUSTIFICATION
[Description]
In my sistem I have one PCI TV/FM tuner card and one removable USB TV/FM tuner.
Gnomeradio is set to use, by default "/dev/radio0", device create by PCI TV/FM card.
I discover this problem when I forgotten to attach USB TV/FM and I try to set gnomeradio to use "/dev/radio1" (device that would have made it by USB TV/FM and, of course if USB isn't connected, it does not exist).
When I tried to change radio device to "/dev/radio1", in Preferences "Radio Device" combobox text and I press ENTER to SAVE settings, results: gnomeradio crash.
[Impact]
USB TV/FM card market is growing and this situation (and probably others similar to it), can exist for large users. It is important to be solved especially for novice users. They will see how the app crashes without knowing the cause.
But of course, not only that justify to be solved this bug :)
[Test Case]
1. Open Gnomeradio
2. Open "Preferences" dialog
3. Enter in "Radio Device" combobox text settings one device that not exist
(e.g. /dev/radio5)
4. Press ENTER to save settings
Actual results:
gnomeradio crashed with SIGABRT in __libc_message()
Expected results:
gnomeradio to display a message that the device is not present
[Regression Potential]
None. Look good, and have been tested in raring
[gnomeradio now send error message instead of crashing] https:/
This patch only remove a small part of code to avoid double free or corruption.
[Other Info]
Ideally I'd wish to see this fixed in Gnomeradio upstream as well, and not carry this as a distro patch forever, but unfortunately you can find at
https:/
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: gnomeradio 1.8-2ubuntu6
ProcVersionSign
Uname: Linux 3.8.0-2-generic x86_64
ApportVersion: 2.8-0ubuntu3
Architecture: amd64
CasperVersion: 1.330
CrashCounter: 1
Date: Wed Jan 30 18:22:53 2013
ExecutablePath: /usr/bin/gnomeradio
LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130130)
MarkForUpload: True
ProcCmdline: gnomeradio
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
Signal: 6
SourcePackage: gnomeradio
StacktraceTop:
raise () from /lib/x86_
abort () from /lib/x86_
?? () from /lib/x86_
?? () from /lib/x86_
?? ()
Title: gnomeradio crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
information type: | Private → Public |
description: | updated |
description: | updated |
Changed in gnomeradio (Debian): | |
status: | Unknown → New |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in gnomeradio (Ubuntu Precise): | |
assignee: | nobody → POJAR GEORGE (geoubuntu) |
Changed in gnomeradio (Ubuntu Quantal): | |
assignee: | nobody → POJAR GEORGE (geoubuntu) |
Changed in gnomeradio (Debian): | |
status: | New → Fix Released |
Changed in gnomeradio (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
StacktraceTop: do_abort@ entry=2, fmt=fmt@ entry=0x7f794f5 16840 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/ unix/sysv/ linux/libc_ fatal.c: 199 restart@ entry=1, app=app@entry=0x0) at gui.c:259
__libc_message (do_abort=
malloc_printerr (ptr=0xdcfa10, str=0x7f794f516a08 "double free or corruption (fasttop)", action=3) at malloc.c:4902
_int_free (av=<optimized out>, p=0xdcfa00, have_lock=0) at malloc.c:3758
radio_init (device=0xdcc660 "/dev/radio1", driver=DRIVER_ANY) at radio.c:40
start_radio (restart=