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 563239 - gnucash crashes on new tab open w/glib-2.19
gnucash crashes on new tab open w/glib-2.19
Status: RESOLVED DUPLICATE of bug 563273
Product: glib
Classification: Platform
Component: general
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on:
Blocks:
 
 
Reported: 2008-12-04 15:39 UTC by Bill Nottingham
Modified: 2008-12-05 07:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bill Nottingham 2008-12-04 15:39:21 UTC
Originally filed at: https://bugzilla.redhat.com/show_bug.cgi?id=474511

Description of problem:
When opening a new account tab (either manually or automatically during
startup) gnucash crashes with the backtrace below.

Reverting from glib2-2.19.2-2.fc11.i386 to glib2-2.18.3-2.fc10.i386 fixes this.
Don't know if this is a glib2 bug or if it can be fixed by simply recompiling
gnucash against the new glib2.

Version-Release number of selected component (if applicable):
gnucash-2.2.7-1.fc10.i386

How reproducible:
Always

Steps to Reproduce:
1. Update to new glib2
2. start gnucash
3. open account tab

Actual results:
backtrace below

Expected results:


Additional info:

Program received signal SIGSEGV, Segmentation fault.
set_dimensions_pass_one () at gnucash-style.c:177
177                                     cd->can_span_over = FALSE;
Missing separate debuginfos, use: debuginfo-install gamin-0.1.10-1.fc11.i386
gvfs-1.1.1-2.fc11.i386
(gdb) bt
  • #0 set_dimensions_pass_one
    at gnucash-style.c line 177
  • #1 styles_recompute_layout_dimensions
    at gnucash-style.c line 493
  • #2 gnucash_sheet_styles_set_dimensions
    at gnucash-style.c line 506
  • #3 gnucash_sheet_compile_styles
    at gnucash-style.c line 668
  • #4 gnc_table_init_gui
    at table-gnome.c line 189
  • #5 gsr_create_table
    at gnc-split-reg.c line 387
  • #6 gnc_split_reg_init2
    at gnc-split-reg.c line 353
  • #7 gnc_split_reg_new
    at gnc-split-reg.c line 325
  • #8 gnc_plugin_page_register_create_widget
    at gnc-plugin-page-register.c line 727
  • #9 gnc_plugin_page_create_widget
    at gnc-plugin-page.c line 151
  • #10 gnc_main_window_open_page
    at gnc-main-window.c line 2211
  • #11 gnc_plugin_page_register_recreate_page
    at gnc-plugin-page-register.c line 1028
  • #12 gnc_plugin_page_recreate_page
    at gnc-plugin-page.c line 260
  • #13 gnc_main_window_restore_page
    at gnc-main-window.c line 501
  • #14 gnc_main_window_restore_window
    at gnc-main-window.c line 692
  • #15 gnc_main_window_restore_all_windows
    at gnc-main-window.c line 764
  • #16 gnc_restore_all_state
    at top-level.c line 273
  • #17 call_c_hook
    at gnc-hooks.c line 262
  • #18 g_hook_list_marshal
    from /lib/libglib-2.0.so.0
  • #19 gnc_hook_run
    at gnc-hooks.c line 277
  • #20 gnc_book_opened
    at gnc-file.c line 499
  • #21 gnc_post_file_open
    at gnc-file.c line 834
  • #22 inner_main
    at gnucash-bin.c line 475
  • #23 ??
    from /usr/lib/libguile.so.17
  • #24 ??
    from /usr/lib/libguile.so.17
  • #25 scm_c_catch
    from /usr/lib/libguile.so.17
  • #26 scm_i_with_continuation_barrier
    from /usr/lib/libguile.so.17
  • #27 scm_c_with_continuation_barrier
    from /usr/lib/libguile.so.17
  • #28 scm_i_with_guile_and_parent
    from /usr/lib/libguile.so.17
  • #29 scm_with_guile
    from /usr/lib/libguile.so.17
  • #30 scm_boot_guile
    from /usr/lib/libguile.so.17
  • #31 main
    at gnucash-bin.c line 622
160             for (row = 0; row < cursor->num_rows; row++)
161             {
162                     for (col = 0; col < cursor->num_cols; col++)
163                     {
164                             int width;
165                             char *text;
166                             BasicCell *cell;
167
168                             cd = g_table_index
(dimensions->cell_dimensions,
169                                                 row, col);
170
171                             cell = gnc_cellblock_get_cell (cursor, row,
col);
172                             if (!cell)
173                                     continue;
174
175                             text = cell->sample_text;
176                             if (text)
177                                     cd->can_span_over = FALSE;
178
179                             if (text)
180                             {
Comment 1 Bill Nottingham 2008-12-04 16:46:07 UTC
This is due to the hash table changes in glib-2.19. Did this change the semantics of the hash table anywhere, or change any assumptions that apps used to make?
Comment 2 Jonathan Kamens 2008-12-04 21:25:35 UTC
This is actually a GnuCash bug.  See bug #563273, which has a patch.
Comment 3 Matthias Clasen 2008-12-05 07:03:36 UTC

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