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 362911 - crash at perl function insertion
crash at perl function insertion
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.7.x
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-10-17 17:26 UTC by Valek Filippov
Modified: 2006-10-17 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Valek Filippov 2006-10-17 17:26:36 UTC
gnumeric 1.7.2

How to reproduce:
-----------------
1. Activate 'Perl functions' plug-in (it will ask to activate 'Perl loader' plug-in, say 'Yes')
2. Select 'Insert'->'Function', in 'Category' select 'Perl functions', in 'Function' select any of two function.
gnumeric crashs here.


Backtrace:
----------
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 20321)

  • #0 error_info_print_with_offset
    at error-info.c line 160
  • #1 error_info_print_with_offset
    at error-info.c line 169
  • #2 error_info_print_with_offset
    at error-info.c line 169
  • #3 error_info_print_with_offset
    at error-info.c line 169
  • #4 plugin_service_function_group_func_desc_load
    at gnm-plugin.c line 149
  • #5 gnm_func_load_stub
    at func.c line 555
  • #6 tokenized_help_new
    at func.c line 1527
  • #7 cb_dialog_function_select_fun_selection_changed
    at dialog-function-select.c line 243
  • #8 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #13 gtk_tree_selection_unselect_range
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_tree_view_set_reorderable
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_tree_view_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_widget_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gdk_x11_register_standard_event_type
    from /usr/lib/libgdk-x11-2.0.so.0
  • #27 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #28 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #29 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #30 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #31 main
    at main-application.c line 529

Comment 1 Morten Welinder 2006-10-17 19:55:29 UTC
I have added a precondition to error_info_print_with_offset which should
avoid the segfault.  That does not solve the underlying cause, though.
Comment 2 Morten Welinder 2006-10-17 20:31:25 UTC
The change to dynamic gsf types didn't go too well, it seems.

Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.