After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733516 - rhythmbox / podcast crashes with SIGSEGV in __strcmp_ssse3
rhythmbox / podcast crashes with SIGSEGV in __strcmp_ssse3
Status: RESOLVED DUPLICATE of bug 733499
Product: rhythmbox
Classification: Other
Component: Podcast
HEAD
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-21 18:34 UTC by gnome.vrb
Modified: 2014-07-22 22:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome.vrb 2014-07-21 18:34:05 UTC
Crash instance 1:
-----------------

[New LWP 23758]
[New LWP 23854]
[New LWP 23762]
[New LWP 23761]
[New LWP 23849]
[New LWP 23775]
[New LWP 23869]
[New LWP 23862]
[New LWP 23853]
[New LWP 23852]
[New LWP 23867]
[New LWP 23870]
[New LWP 23861]
[New LWP 23872]
[New LWP 23855]
[New LWP 23873]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `rhythmbox'.
Program terminated with signal SIGSEGV, Segmentation fault.

Thread 11 (Thread 0x7f8d9b7fd700 (LWP 23867))

  • #0 _int_free
    at malloc.c line 3898
  • #1 g_dbus_connection_finalize
    at /tmp/buildd/glib2.0-2.40.0/./gio/gdbusconnection.c line 673
  • #2 g_object_unref
    at /tmp/buildd/glib2.0-2.40.0/./gobject/gobject.c line 3112
  • #3 g_hash_table_remove_all_nodes
    at /tmp/buildd/glib2.0-2.40.0/./glib/ghash.c line 503
  • #4 g_hash_table_remove_all
    at /tmp/buildd/glib2.0-2.40.0/./glib/ghash.c line 1371
  • #5 g_hash_table_destroy
    at /tmp/buildd/glib2.0-2.40.0/./glib/ghash.c line 1067
  • #6 ??
    from /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
  • #7 __nptl_deallocate_tsd
    at pthread_create.c line 157
  • #8 start_thread
    at pthread_create.c line 322
  • #9 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111

Thread 1 (Thread 0x7f8e0aa00a40 (LWP 23758))

  • #0 __strcmp_ssse3
    at ../sysdeps/x86_64/multiarch/../strcmp.S line 209
  • #1 parse_finished
    at rb-podcast-add-dialog.c line 306
  • #2 g_main_dispatch
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3064
  • #3 g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3663
  • #4 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3734
  • #5 g_main_context_iteration
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3795
  • #6 g_application_run
    at /tmp/buildd/glib2.0-2.40.0/./gio/gapplication.c line 2114
  • #7 rb_application_run
    at rb-application.c line 646
  • #8 main
    at main.c line 89

Comment 1 gnome.vrb 2014-07-21 18:35:38 UTC
Crash instance 2:
-----------------

[New LWP 23758]
[New LWP 23854]
[New LWP 23762]
[New LWP 23761]
[New LWP 23849]
[New LWP 23775]
[New LWP 23869]
[New LWP 23862]
[New LWP 23853]
[New LWP 23852]
[New LWP 23867]
[New LWP 23870]
[New LWP 23861]
[New LWP 23872]
[New LWP 23855]
[New LWP 23873]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `rhythmbox'.
Program terminated with signal SIGSEGV, Segmentation fault.

+ Trace 233851

Additional Comments:

Status: 	
Mark as Duplicate


[New LWP 18678]
[New LWP 18679]
[New LWP 18680]
[New LWP 18767]
[New LWP 18765]
[New LWP 18775]
[New LWP 18766]
[New LWP 18764]
[New LWP 18808]
[New LWP 18688]
[New LWP 18796]
[New LWP 18763]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `rhythmbox'.
Program terminated with signal SIGSEGV, Segmentation fault.

Thread 1 (Thread 0x7f62c3137a40 (LWP 18678))

  • #0 __strcmp_ssse3
    at ../sysdeps/x86_64/multiarch/../strcmp.S line 1734
  • #1 parse_finished
    at rb-podcast-add-dialog.c line 306
  • #2 g_main_dispatch
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3064
  • #3 g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3663
  • #4 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3734
  • #5 g_main_context_iteration
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c line 3795
  • #6 g_application_run
    at /tmp/buildd/glib2.0-2.40.0/./gio/gapplication.c line 2114
  • #7 rb_application_run
    at rb-application.c line 646
  • #8 main
    at main.c line 89

Comment 2 gnome.vrb 2014-07-21 18:40:06 UTC
The crash occurs in g_strcmp0 in parse_finished as shown below:

static gboolean
parse_finished (ParseThreadData *data)
{

  ...
  ...
		if (g_strcmp0 (channel->url, data->url) == 0) {
  ...
  ...
}

(gdb) p *channel
$1 = {
  url = 0x8900000134 <error: Cannot access memory at address 0x8900000134>, 
  title = 0x1ee0000063e <error: Cannot access memory at address 0x1ee0000063e>, 
  lang = 0x0, 
  description = 0x2a9e4e0 "\220/\303\002", 
  author = 0x3 <error: Cannot access memory at address 0x3>, 
  contact = 0x0, 
  img = 0x3490000000000 <error: Cannot access memory at address 0x3490000000000>, 
  pub_date = 1293025674299648, 
  copyright = 0xa900 <error: Cannot access memory at address 0xa900>, 
  is_opml = 33, 
  posts = 0x2c57fd0, 
  num_posts = 44388432
}
(gdb) p *data
$2 = {
  dialog = 0x14cebe0, 
  url = 0x292c000 "", 
  channel = 0x2b76390, 
  existing = 1, 
  single = 0, 
  error = 0x2c68630
}

This bug might be related to https://bugzilla.gnome.org/show_bug.cgi?id=733499
Comment 3 gnome.vrb 2014-07-21 18:47:18 UTC
Steps to reproduce:

1. Search for "BBC" in podcast search.
2. Select an entry from the results. 
3. Now click on one of the episodes in the below window ( window focus shifts
to podcast view screen, and download starts ).
4. Quickly press 'Add' now.

I repeat these steps quickly ( albiet in some random order ).

Note: This crash occurs less frequently than the one specified in https://bugzilla.gnome.org/show_bug.cgi?id=733499. But, the steps to reproduce remain the same. The point is that I was just trying to sanity check the podcast feature as described above, and it crashed in g_strcmp0(..) also in addition to the crash in 733499.
Comment 4 Jonathan Matthew 2014-07-22 22:10:25 UTC
Is this happening with current git master (ie including commit df6a04a)?
Comment 5 gnome.vrb 2014-07-22 22:15:24 UTC
I'm not sure about that.

Since, I'm now running rhythmbox from git with df6a04a, if this issue doesn't pop up in the next few days, this bug can be resolved.
Comment 6 Jonathan Matthew 2014-07-22 22:17:53 UTC
OK.  Please reopen this bug if it happens again.

*** This bug has been marked as a duplicate of bug 733499 ***