Bug 13367 - EasyTag crashes when writing playlist file
Summary: EasyTag crashes when writing playlist file
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory mga4-32-ok mga4-64-ok
Keywords: Triaged, validated_update
Depends on:
Blocks:
 
Reported: 2014-05-12 17:42 CEST by MichaÅ Walenciak
Modified: 2014-05-17 02:47 CEST (History)
5 users (show)

See Also:
Source RPM: easytag-2.1.8-3.mga4.src.rpm
CVE:
Status comment:


Attachments
Letters T (20.50 KB, image/png)
2014-05-15 03:14 CEST, Arnaud Vacquier
Details

Description MichaÅ Walenciak 2014-05-12 17:42:00 CEST
Description of problem:
When I press 'write playlist' and then 'save' easytag crashes.

here's gdb's info:
$ gdb easytag
GNU gdb (GDB) 7.6-6.mga4 (Mageia release 4)
Copyright (C) 2013 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-mageia-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/easytag...Reading symbols from /usr/lib/debug/usr/bin/easytag.debug...done.
done.
(gdb) run
Starting program: /usr/bin/easytag 
gobject.pyc: gdb was not built with custom backtrace support, disabling.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 23386.
Detaching after fork from child process 23388.
[New Thread 0x7fffe2c84700 (LWP 23392)]
[New Thread 0x7fffe2483700 (LWP 23393)]

** (easytag:23382): CRITICAL **: filename_to_display: assertion 'string != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
Playlist_Write_Button_Pressed () at src/misc.c:1595
1595            if ( strcmp(playlist_path_utf8,G_DIR_SEPARATOR_S)==0 )

(gdb) bt
#0  Playlist_Write_Button_Pressed () at src/misc.c:1595
#1  0x00007ffff6aeb3b7 in _g_closure_invoke_va () from /lib64/libgobject-2.0.so.0
#2  0x00007ffff6b03e82 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#3  0x00007ffff6b04ae2 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#4  0x00007ffff78363d5 in gtk_real_button_released () from /lib64/libgtk-x11-2.0.so.0
#5  0x00007ffff6aeb188 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#6  0x00007ffff6afc337 in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0
#7  0x00007ffff6b04829 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#8  0x00007ffff6b04ae2 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#9  0x00007ffff7835319 in gtk_button_button_release () from /lib64/libgtk-x11-2.0.so.0
#10 0x00007ffff78d74d5 in _gtk_marshal_BOOLEAN__BOXED () from /lib64/libgtk-x11-2.0.so.0
#11 0x00007ffff6aeb188 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#12 0x00007ffff6afc8db in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0
#13 0x00007ffff6b044f9 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#14 0x00007ffff6b04ae2 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#15 0x00007ffff79e73f4 in gtk_widget_event_internal () from /lib64/libgtk-x11-2.0.so.0
#16 0x00007ffff78d5c84 in gtk_propagate_event () from /lib64/libgtk-x11-2.0.so.0
#17 0x00007ffff78d603b in gtk_main_do_event () from /lib64/libgtk-x11-2.0.so.0
#18 0x00007ffff75519bc in gdk_event_dispatch () from /lib64/libgdk-x11-2.0.so.0
#19 0x00007ffff6823146 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007ffff6823498 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#21 0x00007ffff682389a in g_main_loop_run () from /lib64/libglib-2.0.so.0
#22 0x00007ffff78d5127 in gtk_main () from /lib64/libgtk-x11-2.0.so.0
#23 0x0000000000420e2f in main (argc=1, argv=0x7fffffffdae8) at src/easytag.c:426



How reproducible:
Crashes always in my case on any music dir.

Steps to Reproduce:
1. choose folder with music
2. press 'write playlist'
3. click 'save'


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2014-05-13 22:39:28 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => cvargas

Comment 1 Cesar Vargas 2014-05-14 22:11:23 CEST
Fixed in version Easytag 2.2.2

I have uploaded a patched/updated package for Mageia 4 in core/updates_testing


Advisory:
========================
Updated packages fixed a easytag issue playlist

References:
https://bugs.mageia.org/show_bug.cgi?id=13367
========================

Updated packages in core/updates_testing:
========================
easytag-2.2.2-1.mga4.i586.rpm
easytag-2.2.2-1.mga4.x86_64.rpm
========================

Source RPM
easytag-2.2.2-1.mga4.src.rpm

Assignee: cvargas => qa-bugs

Comment 2 Arnaud Vacquier 2014-05-15 03:13:49 CEST
hi,

On vb mga4 i586 :

# urpmi easytag
Le paquetage easytag-2.1.8-3.mga4.i586 est déjà installé

$easytag

(easytag:3167): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (easytag:3167): CRITICAL **: filename_to_display: assertion 'string != NULL' failed
EasyTAG version 2.1.8: Abnormal exit (PID: 3167).
Signal reçu SIGSEGV (11)
You have probably found a bug in EasyTAG. Please, file a bug report with a GDB backtrace ('gdb easytag core' then 'bt' and 'l') and information to reproduce it at: https://bugzilla.gnome.org/enter_bug.cgi?product=easytag
Erreur de segmentation


---update--

# urpmi easytag
Le paquetage easytag-2.2.2-1.mga4.i586 est déjà installé

No error.
Can edit mp3 ID3, do playlist, play playlist Ok, better translate (french for me), run fine ;)

But, I don't know if it is little bug or not, there are many "T" letters

CC: (none) => aranud

Comment 3 Arnaud Vacquier 2014-05-15 03:14:45 CEST
Created attachment 5159 [details]
Letters T
Comment 4 Arnaud Vacquier 2014-05-15 03:25:39 CEST
same on real Mageia 4 x86_64
Comment 5 Cesar Vargas 2014-05-15 03:28:25 CEST
Comment on attachment 5159 [details]
Letters T

Is fine, is for "T"agging all files selected

CC: (none) => cvargas

Comment 6 MichaÅ Walenciak 2014-05-16 13:09:05 CEST
Yeah - works now.
Thank you for update
Comment 7 claire robinson 2014-05-16 16:33:55 CEST
Thanks guys, adding the whiteboard markers.

Whiteboard: (none) => mga4-32-ok mga4-64-ok

Comment 8 claire robinson 2014-05-16 16:38:52 CEST
Validating. Advisory uploaded.

---
+  Easytag was prone to crash when writing a playlist and saving.
+  The updated package corrects this issue.
---

Could sysadmin please push to 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: mga4-32-ok mga4-64-ok => advisory mga4-32-ok mga4-64-ok
CC: (none) => sysadmin-bugs

Comment 9 William Kenney 2014-05-16 16:54:08 CEST
In VirtualBox, M4, KDE, 32-bit

Package(s) under test:
easytag

default install of easytag

[root@localhost wilcal]# urpmi easytag
Package easytag-2.1.8-3.mga4.i586 is already installed

Ya know I use Easytag almost every day. I don't
often use the generate playlist function.
Easytag crashes as described in Description

install easytag from updates_testing

[root@localhost wilcal]# urpmi easytag
Package easytag-2.2.2-1.mga4.i586 is already installed

Easytag works as expected generating playlist file, no crash.

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.10-1.1.mga4.x86_64
virtualbox-guest-additions-4.3.10-1.1.mga4.x86_64

CC: (none) => wilcal.int

Comment 10 Thomas Backlund 2014-05-17 02:47:46 CEST
Update pushed:
http://advisories.mageia.org/MGAA-2014-0115.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.