GNOME Bugzilla – Bug 400702
rhythmbox crashed with SIGSEGV in strcmp()
Last modified: 2008-06-03 17:39:57 UTC
That bug has been opened on https://launchpad.net/ubuntu/+source/rhythmbox/+bug/81511 "...Rhytmbox crashed when I double-clic on a webradio...." Debug version for the backtrace:
+ Trace 105209
$ ./test-parser http://www.jetfm.asso.fr:9000/jetfm.mp3 ###################### parsing ################ url 'http://www.jetfm.asso.fr:9000/jetfm.mp3' unhandled Works fine here with the current totem SVN trunk. Is the mime-type NULL? What's the output of gnomevfs-info on that stream?
*** Bug 401424 has been marked as a duplicate of this bug. ***
last dup has an excellent trace mimetype = 0x0 ret = TOTEM_PL_PARSER_RESULT_ERROR the report says that the file was moved meanwhile (while playing?after opening? while opening?).
+ Trace 105778
$ gnomevfs-info http://www.jetfm.asso.fr:9000/jetfm.mp3 Error: Unsupported operation
today test-plparser doesn't crash neither using the same version, the server side has probably changed
That would be the problem: if (strcmp (mimetype, AUDIO_MPEG_TYPE) == 0 && parser->priv->recurse_level == 0 && data == NULL) { g_free (mimetype); mimetype = my_gnome_vfs_get_mime_type_with_data (url, &data, parser); DEBUG(g_print ("_get_mime_type_with_data for '%s' returned '%s' (was %s)\n", url, mimetype ? mimetype : "NULL", AUDIO_MPEG_TYPE)); } We don't check the return value of my_gnome_vfs_get_mime_type_with_data()...
2007-01-29 Bastien Nocera <hadess@hadess.net> * src/plparse/Makefile.am: * src/plparse/plparser.symbols: * src/plparse/test-parser.c: (main): * src/plparse/totem-pl-parser-private.h: * src/plparse/totem-pl-parser.c: (totem_pl_parser_add_url_valist), (totem_pl_parser_add_one_url), (totem_pl_resolve_url), (totem_pl_parser_parse_internal): Only export public symbols in the library to avoid the symbol-snatchers, const a few functions as required, return an error when there was an error parsing, Avoid crashes when the filename tells us it's an MP3, but we can't verify it (Closes: #400702)
Mass-move from totem to totem-pl-parser. You can remove all messages by searching for this comment.