GNOME Bugzilla – Bug 467643
Segmentation fault in print plugin
Last modified: 2007-08-23 18:40:21 UTC
Please describe the problem: The print plugin crashes in a new install. Problem is that 'setup' is null in gtk_page_setup_get_paper_width called from print_size_info_get_page_dimensions gimp_size_info_get_max_offsets print_size_info_update_offsets print_offset_frame print_page_layout_gui Steps to reproduce: 1. Try open the print dialog without the file 'print-settings' in the directory .gimp-2.x Actual results: print dialog does not appear Expected results: print dialog should appear Does this happen every time? yes, if 'print-settings' does not exist Other information: patch follows
Created attachment 93846 [details] [review] Set default page setup if setup is null
Thanks, fixed in SVN: 2007-08-17 Michael Natterer <mitch@gimp.org> * plug-ins/print/print-page-layout.c: set a default page setup on the operation if it is NULL to prevent crash in new installations (which don't have a setup yet). Fixes bug #467643, patch from Stefan Röllin.
*** Bug 469022 has been marked as a duplicate of this bug. ***
*** Bug 468021 has been marked as a duplicate of this bug. ***
*** Bug 469635 has been marked as a duplicate of this bug. ***
*** Bug 468407 has been marked as a duplicate of this bug. ***