[Bug 803274] New: goobox crashes when retrieving CD info

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c0 Summary: goobox crashes when retrieving CD info Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: jdelvare@suse.com QAContact: qa-bugs@suse.de Found By: Community User Blocker: --- I have one CD on which goobox crashes when retrieving the CD info. I get a core dump with the following backtrace: Core was generated by `goobox'. Program terminated with signal 11, Segmentation fault. #0 size (this=<optimized out>) at /usr/include/c++/4.6/bits/stl_vector.h:571 571 { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } (gdb) bt #0 size (this=<optimized out>) at /usr/include/c++/4.6/bits/stl_vector.h:571 #1 mb_result_list_get_size (list=0x0) at /usr/src/debug/libmusicbrainz-3.0.3/src/mb_c.cpp:296 #2 0x000000000042f384 in get_album_list (list=0x0) at metadata.c:134 #3 0x000000000042f435 in search_album_by_title_thread (result=<optimized out>, object=<optimized out>, cancellable=<optimized out>) at metadata.c:439 #4 0x00007fe78895fe7c in run_in_thread (job=<optimized out>, c=0x1bd2000, _data=0x1cc0740) at gsimpleasyncresult.c:843 #5 0x00007fe788951776 in io_job_thread (data=0xfd0880, user_data=<optimized out>) at gioscheduler.c:180 #6 0x00007fe788216328 in ?? () from /usr/lib64/libglib-2.0.so.0 #7 0x00007fe788213e06 in ?? () from /usr/lib64/libglib-2.0.so.0 #8 0x00007fe787f91f05 in start_thread () from /lib64/libpthread.so.0 #9 0x00007fe787cd510d in clone () from /lib64/libc.so.6 (gdb) I can provide additional information or perform any test you want. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c1 --- Comment #1 from Jean Delvare <jdelvare@suse.com> 2013-02-12 10:15:58 UTC --- Here is what I see in the terminal when the problem happens: MusicBrainz: Connecting to http://musicbrainz.org:80 MusicBrainz: GET /ws/1/release/?type=xml&title= MusicBrainz: Result: 0 (503 Service Unavailable) MusicBrainz: Status: 503 MusicBrainz: Response: So apparently libmusicbrainz and/or goobox do not expect HTTP status 503. The crash only happens if I start the look-up with field "Title" empty. If there's something in this field then I get HTTP status 200 and goobox doesn't crash. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c2 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |dimstar@opensuse.org InfoProvider| |jdelvare@suse.com --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> 2013-02-12 10:20:47 UTC --- (In reply to comment #0)
I have one CD on which goobox crashes when retrieving the CD info. I get a core
For my clarification: - This happens only with that one CD, and the others are ok? (will save me the time / hassle finding a CD to test it myself...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c3 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jdelvare@suse.com | AssignedTo|bnc-team-gnome@forge.provo. |dimstar@opensuse.org |novell.com | --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> 2013-02-12 10:21:31 UTC --- (In reply to comment #1)
Great! That already narrows it down a good bit... removing NEEDINFO again :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c4 Jean Delvare <jdelvare@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vuntz@suse.com --- Comment #4 from Jean Delvare <jdelvare@suse.com> 2013-02-12 10:39:46 UTC --- I can reproduce this on openSUSE 12.2/i686 as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c5 --- Comment #5 from Jean Delvare <jdelvare@suse.com> 2013-02-12 10:43:59 UTC --- It triggered on this one CD because there is no information about it so the Title field Disc > Properties was empty by default. But if you pick any CD, go to Disc > Properties, empty the Title field and hit the magnifying glass (Search for the remaining data) you should get the crash as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c6 --- Comment #6 from Dominique Leuenberger <dimstar@opensuse.org> 2013-02-26 20:13:38 UTC --- Looking a bit further down on that one (can't really reproduce... but well...) I assume that the web service on musicbrainz.org does not expect / want any 'empty' strings at all, but would prefer the search field to be omitted in this case. I don't think the calling app should be aware of that 'implementation detail', but rather the library in question (libmusicbrainz). Now, of course, goobox is built against libmusicbrainz4, whereas the latest version is 5 (yippee). Porting effort should be neglectable (just doing some tests on this), but there is also no guarantee that this will actually resolve the issue (but then, 5.01 addresses a bug like Fix LMB-32 - Correctly ignore unrecognised nodes, but this bug is also fixed in 4.0.3.. which we have) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c7 --- Comment #7 from Jean Delvare <jdelvare@suse.com> 2013-03-01 17:05:35 UTC --- I agree that the application shouldn't need to know the details, it's all up to the library. The library should be taught any detail of that kind. But it should also be ready to deal with whatever the web service replies. I am not so worried about the query failing, I can live with that. The real problem is that the application crashes, and this should never happen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c8 --- Comment #8 from Jean Delvare <jdelvare@suse.com> 2013-03-04 09:17:39 UTC --- This seems to be fixed in openSUSE 12.3. I can't reproduce on RC2/x86_64. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=803274 https://bugzilla.novell.com/show_bug.cgi?id=803274#c9 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #9 from Dominique Leuenberger <dimstar@opensuse.org> 2013-03-09 22:59:15 UTC --- As we can't reproduce it (but also did not fix anything), I'll close it for now as WORKSFORME... let's hope this no longer re-appers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com