rb-podcast-parse.c:208:parse_cb: code should not be reached
version: git HEAD 2a8907d0
Not sure of the steps to reproduce. I was subscribing to few podcast feeds, pressed close, and pressed the feed 'Update' button, when subscribing action was in progress.
Obviously we should account for the missing TOTEM_PL_PARSER_RESULT_CANCELLED
case in switch / case in parse_cb.
$ rhythmbox
Rhythmbox:ERROR:../podcast/rb-podcast-parse.c:208:parse_cb: code should not be reached
Bail out! Rhythmbox:ERROR:../podcast/rb-podcast-parse.c:208:parse_cb: code should not be reached
Aborted (core dumped)
gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1 0x00007f322946a546 in __GI_abort () at abort.c:79
#2 0x00007f322a00fdcc in g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>, message=<optimized out>) at ../../../glib/gtestutils.c:3253
#3 0x00007f322a06f6cb in g_assertion_message_expr (domain=0x7f322a2ade3a "Rhythmbox", file=0x7f322a2add23 "../podcast/rb-podcast-parse.c", line=208, func=0x7f322a2adef0 <__FUNCTION__.4> "parse_cb", expr=<optimized out>) at ../../../glib/gtestutils.c:3279
#4 0x00007f322a2830f0 in parse_cb (source_object=0x55616e32cc20 [TotemPlParser], res=0x55616de4eca0, user_data=0x55616e891660) at ../podcast/rb-podcast-parse.c:208
#5 0x00007f32291cbe49 in g_task_return_now (task=0x55616de4eca0 [GTask]) at ../../../gio/gtask.c:1230
#6 0x00007f32291cbe89 in complete_in_idle_cb (task=0x55616de4eca0) at ../../../gio/gtask.c:1244
#7 0x00007f322a045e94 in g_main_dispatch (context=0x55616c6559d0) at ../../../glib/gmain.c:3417
#8 g_main_context_dispatch (context=0x55616c6559d0) at ../../../glib/gmain.c:4135
#9 0x00007f322a046238 in g_main_context_iterate (context=context@entry=0x55616c6559d0, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4211
#10 0x00007f322a0462ef in g_main_context_iteration (context=context@entry=0x55616c6559d0, may_block=may_block@entry=0) at ../../../glib/gmain.c:4276
#11 0x00007f32291fb8e8 in g_application_run (application=0x55616c660140 [RBApplication], argc=<optimized out>, argv=<optimized out>) at ../../../gio/gapplication.c:2600
#12 0x00007f322a19b7ad in rb_application_run (app=0x55616c660140 [RBApplication], argc=1, argv=0x7fff9647c508) at ../shell/rb-application.c:590
#13 0x000055616c0d8343 in main (argc=1, argv=0x7fff9647c508) at ../shell/main.c:79
(gdb) f 4
(gdb) p error->message
$2 = (gchar *) 0x7f31dc3b1680 "Operation was cancelled"