GNOME Bugzilla – Bug 563239
gnucash crashes on new tab open w/glib-2.19
Last modified: 2008-12-05 07:03:36 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
+ Trace 210477
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 {
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?
This is actually a GnuCash bug. See bug #563273, which has a patch.
*** This bug has been marked as a duplicate of 563273 ***