Comment 0 for bug 1114243

Revision history for this message
su_v (suv-lp) wrote :

Inkscape 0.48+devel r12093 crashes on launch if the preferences file originates from current stable version (see attached):

Steps to reproduce:
1) mv ~/.config/inkscape{-bkp}
2) launch and quit inkscape 0.48.4
--> creates 'preferences.xml' with default values (among them 'Sans' as default font)
3) launch current trunk r12093

Expected result:
Inkscape trunk launches, and possibly complains about the missing font 'Sans' when using the text tool (see bug #)

Actual result:
Inkscape crashes before even opening the main document window:

Program received signal SIGSEGV, Segmentation fault.
sp_font_selector_get_best_style (font=0x3141b40, list=0x0) at ../../src/widgets/font-selector.cpp:456
456 tempFont = (font_factory::Default())->FaceFromUIStrings(family.c_str(), static_cast<char*>(list->data));

Tested systems:
Reproduced with Inkscape 0.48+devel r12093 on:
- Ubuntu 12.04 (inkscape-trunk from PPA), pango 1.30.0
- Ubuntu 12.10 (local trunk build), pango 1.30.1
- Mac OS X 10.5.8 (32bit Intel), pango 1.28.8
- Mac OS X 10.74 (64bit), pango 1.30.1, 1.32.5

Not reproduced with r12092 and older revisions.