Bug 515373 - Crash after opening external link in RSSyl
Summary: Crash after opening external link in RSSyl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: claws-mail
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-03 22:50 UTC by Kevin Fenzi
Modified: 2009-08-27 02:09 UTC (History)
2 users (show)

Fixed In Version: 3.7.2-3.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-27 02:09:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch from svn for double free. (2.49 KB, patch)
2009-08-07 06:16 UTC, Kevin Fenzi
no flags Details | Diff

Description Kevin Fenzi 2009-08-03 22:50:21 UTC
I'm not sure if this crash is in claws-mail itself, the RSSyl plugin or the fancy plugin. 

Steps to reproduce: 
1. Enable fancy and RSSyl. 
2. Add a feed. 
3. Go to a feed article with a link in it, right click and choose 'open in external browser'. 
4. Try and hit 'N' to go to the next unread article. 
5. claws-mail crashes. 

Gdb backtrace is: 

(gdb) where
#0  _int_malloc (av=0x2aaaabffce80, bytes=40) at malloc.c:4272
#1  0x00002aaaabd0cfe8 in __libc_calloc (n=<value optimized out>, elem_size=<value optimized out>)
    at malloc.c:4041
#2  0x0000003f82440298 in IA__g_malloc0 (n_bytes=40) at gmem.c:151
#3  0x0000003f8280adc6 in IA__g_closure_new_simple (sizeof_closure=<value optimized out>, 
    data=0xd8d8d0) at gclosure.c:200
#4  0x0000003f8280b250 in IA__g_cclosure_new (callback_func=0x5176a0 <mimeview_enter_notify>, 
    user_data=0xd8d8d0, destroy_data=0) at gclosure.c:825
#5  0x0000003f8281f8ff in IA__g_signal_connect_data (instance=<value optimized out>, 
    detailed_signal=<value optimized out>, c_handler=<value optimized out>, 
    data=<value optimized out>, destroy_data=<value optimized out>, 
    connect_flags=<value optimized out>) at gsignal.c:2262
#6  0x0000000000514c85 in icon_list_append_icon (mimeinfo=<value optimized out>, 
    mimeview=<value optimized out>) at mimeview.c:2226
#7  icon_list_create (mimeinfo=<value optimized out>, mimeview=<value optimized out>)
    at mimeview.c:2430
#8  0x0000000000518528 in mimeview_show_message (mimeview=0xd8d8d0, mimeinfo=0x0, 
    file=<value optimized out>) at mimeview.c:481
#9  0x0000000000509dc8 in messageview_show (messageview=0xb47350, msginfo=0x232f3a0, all_headers=0)
    at messageview.c:1261
#10 0x0000000000599600 in summary_display_msg_full (summaryview=0xd2f820, row=0x1111fa0, 
    new_window=0, all_headers=0) at summaryview.c:3444
#11 0x00000000005a4c9e in summary_display_msg (row=<value optimized out>, 
    summaryview=<value optimized out>) at summaryview.c:3261
#12 summary_selected (row=<value optimized out>, summaryview=<value optimized out>)
    at summaryview.c:6849
#13 0x0000003f8280b83e in IA__g_closure_invoke (closure=0xf25be0, return_value=0x0, 
    n_param_values=3, param_values=0x2481450, invocation_hint=0x7fffffff9300) at gclosure.c:767
#14 0x0000003f82820b83 in signal_emit_unlocked_R (node=0xa99170, detail=<value optimized out>, 
    instance=<value optimized out>, emission_return=<value optimized out>, 
    instance_and_params=<value optimized out>) at gsignal.c:3247
#15 0x0000003f82821f49 in IA__g_signal_emit_valist (instance=0xaa2470, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fffffff9500) at gsignal.c:2980
#16 0x0000003f828222b4 in IA__g_signal_emit_by_name (instance=0xaa2470, 
    detailed_signal=0x63a1c7 "tree_select_row") at gsignal.c:3074
#17 0x000000000061c8da in select_row (sctree=0xaa2470, row=2247, col=-1, 
    state=<value optimized out>, _node=0x1111fa0) at gtksctree.c:1521
#18 0x00000000005969f8 in summary_select_node (summaryview=0xd2f820, node=0x1111fa0, 
    display_msg=1, do_refresh=1) at summaryview.c:2139
#19 0x000000000059f63f in summary_show (summaryview=0xd2f820, item=0x1d62fa0) at summaryview.c:1477
#20 0x00000000004bd7c7 in folderview_selected (ctree=0xaa2260, row=0x1228940, column=-1, 
    folderview=0xbd4c70) at folderview.c:2219
#21 0x0000003f8280b83e in IA__g_closure_invoke (closure=0xd1def0, return_value=0x0, 
    n_param_values=3, param_values=0x9fa720, invocation_hint=0x7fffffffaa20) at gclosure.c:767
#22 0x0000003f82820b83 in signal_emit_unlocked_R (node=0xa99170, detail=<value optimized out>, 
    instance=<value optimized out>, emission_return=<value optimized out>, 
    instance_and_params=<value optimized out>) at gsignal.c:3247
#23 0x0000003f82821f49 in IA__g_signal_emit_valist (instance=0xaa2260, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fffffffac10) at gsignal.c:2980
---Type <return> to continue, or q <return> to quit---
#24 0x0000003f82822493 in IA__g_signal_emit (instance=0x1, signal_id=2885668488, detail=48)
    at gsignal.c:3037
#25 0x00000000005f33b2 in gtk_cmctree_select (ctree=0xaa2260, node=0x1228940) at gtkcmctree.c:4559
#26 0x00000000004bf55d in folderview_select_node (folderview=0xbd4c70, node=0x1228940)
    at folderview.c:843
#27 0x00000000004bf79b in folderview_select_next_unread (folderview=0xbd4c70, force_open=1)
    at folderview.c:952
#28 0x0000003f8280b83e in IA__g_closure_invoke (closure=0xaca090, return_value=0x0, 
    n_param_values=1, param_values=0x2300e60, invocation_hint=0x7fffffffceb0) at gclosure.c:767
#29 0x0000003f82820b83 in signal_emit_unlocked_R (node=0xac2c00, detail=<value optimized out>, 
    instance=<value optimized out>, emission_return=<value optimized out>, 
    instance_and_params=<value optimized out>) at gsignal.c:3247
#30 0x0000003f82821f49 in IA__g_signal_emit_valist (instance=0xac8cb0, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fffffffd0a0) at gsignal.c:2980
#31 0x0000003f82822493 in IA__g_signal_emit (instance=0x1, signal_id=2885668488, detail=48)
    at gsignal.c:3037
#32 0x0000003fb566d583 in _gtk_action_emit_activate (action=0xac8cb0) at gtkaction.c:727
#33 0x0000003fb566fae9 in closure_accel_activate (closure=0xac9f90, return_value=0x7fffffffd330, 
    n_param_values=<value optimized out>, param_values=<value optimized out>, 
    invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at gtkaction.c:1647
#34 0x0000003f8280b83e in IA__g_closure_invoke (closure=0xac9f90, return_value=0x7fffffffd330, 
    n_param_values=4, param_values=0x2711de0, invocation_hint=0x7fffffffd2f0) at gclosure.c:767
#35 0x0000003f82820b83 in signal_emit_unlocked_R (node=0xa40530, detail=<value optimized out>, 
    instance=<value optimized out>, emission_return=<value optimized out>, 
    instance_and_params=<value optimized out>) at gsignal.c:3247
#36 0x0000003f82821ddc in IA__g_signal_emit_valist (instance=0xa84f80, 
    signal_id=<value optimized out>, detail=1300, var_args=0x7fffffffd4e0) at gsignal.c:2990
#37 0x0000003f82822493 in IA__g_signal_emit (instance=0x1, signal_id=2885668488, detail=48)
    at gsignal.c:3037
#38 0x0000003fb56698e4 in IA__gtk_accel_group_activate (accel_group=0xa84f80, accel_quark=1300, 
    acceleratable=0xaa8050, accel_key=110, accel_mods=GDK_SHIFT_MASK) at gtkaccelgroup.c:860
#39 0x0000003fb56699ed in IA__gtk_accel_groups_activate (object=0xaa8050, accel_key=110, 
    accel_mods=GDK_SHIFT_MASK) at gtkaccelgroup.c:897
#40 0x0000003fb584662b in IA__gtk_window_activate_key (window=0xaa8050, 
    event=<value optimized out>) at gtkwindow.c:8260
#41 0x0000003fb58466b9 in gtk_window_key_press_event (widget=0x1, event=0x2aaaabffce88)
    at gtkwindow.c:5168
#42 0x0000003fb572e038 in _gtk_marshal_BOOLEAN__BOXED (closure=0xa89d00, 
    return_value=0x7fffffffd840, n_param_values=<value optimized out>, param_values=0x115f0f0, 
    invocation_hint=<value optimized out>, marshal_data=0x3fb58466a0) at gtkmarshalers.c:84
#43 0x0000003f8280b83e in IA__g_closure_invoke (closure=0xa89d00, return_value=0x7fffffffd840, 
    n_param_values=2, param_values=0x115f0f0, invocation_hint=0x7fffffffd800) at gclosure.c:767
#44 0x0000003f82820855 in signal_emit_unlocked_R (node=0xa89d70, detail=<value optimized out>, 
    instance=<value optimized out>, emission_return=<value optimized out>, 
    instance_and_params=<value optimized out>) at gsignal.c:3285
#45 0x0000003f82821ddc in IA__g_signal_emit_valist (instance=0xaa8050, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fffffffd9f0) at gsignal.c:2990
#46 0x0000003f82822493 in IA__g_signal_emit (instance=0x1, signal_id=2885668488, detail=48)
    at gsignal.c:3037
---Type <return> to continue, or q <return> to quit---
#47 0x0000003fb583191f in gtk_widget_event_internal (widget=0xaa8050, event=0x22eeb10)
    at gtkwidget.c:4764
#48 0x0000003fb5726964 in IA__gtk_propagate_event (widget=0xaa8050, event=0x22eeb10)
    at gtkmain.c:2370
#49 0x0000003fb5727853 in IA__gtk_main_do_event (event=0x22eeb10) at gtkmain.c:1601
#50 0x0000003fb4e4e17c in gdk_event_dispatch (source=<value optimized out>, 
    callback=<value optimized out>, user_data=<value optimized out>) at gdkevents-x11.c:2367
#51 0x0000003f82437abe in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#52 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#53 0x0000003f8243b278 in g_main_context_iterate (context=0xa4a360, block=<value optimized out>, 
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#54 0x0000003f8243b6d5 in IA__g_main_loop_run (loop=0x9e8f90) at gmain.c:2663
#55 0x0000003fb5727d17 in IA__gtk_main () at gtkmain.c:1205
#56 0x00000000004f1dfb in main (argc=1, argv=0x7fffffffe218) at main.c:1658

Happy to provide more debugging/info.

Comment 1 Kevin Fenzi 2009-08-07 05:23:11 UTC
This seems to be the fancy plugin. If I switch to the gtkhtml plugin it works fine. 

Would it be helpfull to file this upstream?

Comment 2 Andreas Bierfert 2009-08-07 05:36:18 UTC
CCing Colin...

Comment 3 Kevin Fenzi 2009-08-07 06:11:02 UTC
Further looking around shows that this is likely a double free that was fixed in the fancy plugin upstream in svn after 3.7.2 was released. ;) 

At least applying that from svn upstream seems to fix it here. See attached patch.

Comment 4 Kevin Fenzi 2009-08-07 06:16:31 UTC
Created attachment 356623 [details]
patch from svn for double free.

patch from upstream svn.

Comment 5 Fedora Update System 2009-08-07 13:09:23 UTC
claws-mail-plugins-3.7.2-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/claws-mail-plugins-3.7.2-3.fc11

Comment 6 Colin Leroy 2009-08-07 16:21:27 UTC
I love when I get Cced on bugs and it's solved when I get a chance to look at it :-)

Comment 7 Fedora Update System 2009-08-08 19:26:42 UTC
claws-mail-plugins-3.7.2-3.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update claws-mail-plugins'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8384

Comment 8 Fedora Update System 2009-08-27 02:09:51 UTC
claws-mail-plugins-3.7.2-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


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