GNOME Bugzilla – Bug 480971
Gnumeric crashes when formatting cells with text that already has formatting
Last modified: 2007-11-29 19:39:51 UTC
This bug has been filled here: https://bugs.launchpad.net/ubuntu/+source/gnumeric/+bug/145370 "Steps to reproduce: 1. Open gnumeric or use File => New to get a blank spreadsheet. 2. In one of the cells, type "ab". 3. Highlight "b" in the equation bar at the top and press CTRL+B to make just the "b" bold. 4. Press Enter to stop editing that cell. 5. Right click the cell with "ab" in it and select Format Cells in the menu. 6. gnumeric crashes." "The program is running. Exit anyway? (y or n)
+ Trace 165933
Thread 1 (Thread -1231054656 (LWP 8628))
I am fairly certain that this was already fixed: 2007-04-19 Morten Welinder <terra@gnome.org> * goffice/gtk/go-format-sel.c (find_builtin): Handle GO_FORMAT_UNKNOWN without crashing. [#431256] Does Ubuntu's libgoffice contain that fix?
Yes it have it, the version of libgoffice in Ubuntu is 0.4.2, thanks.
I see the cause for this.
2007-09-28 Morten Welinder <terra@gnome.org> * goffice/utils/formats.c (go_format_builtins): Add extra NULL for GO_FORMAT_MARKUP. Fixes #480971. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Could you please provide the final patch for this ? Is it safe to apply it on gnumeric 1.7.11 source ? Thanks.
http://svn.gnome.org/viewvc/goffice/trunk/goffice/utils/formats.c?r1=1755&r2=1897 Harmless for any version, I think.