[huzaifas@f12-test ~]$ gdb dia
GNU gdb (GDB) Fedora (7.0-3.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/dia...Reading symbols from /usr/lib/debug/usr/bin/dia.debug...done.
done.
(gdb) run --export=test --filter=png --nosplash test.dia
Starting program: /usr/bin/dia --export=test --filter=png --nosplash test.dia
warning: .dynamic section for "/lib/libgobject-2.0.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libglib-2.0.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libresolv.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libselinux.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libutil.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]
warning: the debug information found in "/usr/lib/debug//lib/libdbus-1.so.3.4.0.debug" does not match "/lib/libdbus-1.so.3" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib/libdbus-1.so.3.4.0.debug" does not match "/lib/libdbus-1.so.3" (CRC mismatch).


(dia:25236): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(dia:25236): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(dia:25236): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed

(dia:25236): Pango-CRITICAL **: pango_font_metrics_get_ascent: assertion `metrics != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_font_metrics_get_descent: assertion `metrics != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed

(dia:25236): Pango-CRITICAL **: pango_font_metrics_get_approximate_digit_width: assertion `metrics != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_alignment: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_new: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_attributes: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_set_text: assertion `layout != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed

(dia:25236): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed

(dia:25236): Pango-CRITICAL **: pango_font_metrics_get_ascent: assertion `metrics != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_font_metrics_get_descent: assertion `metrics != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_font_description: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_base_dir: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_set_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_language: assertion `context != NULL' failed

(dia:25236): Pango-CRITICAL **: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed

(dia:25236): Pango-CRITICAL **: pango_font_metrics_get_approximate_digit_width: assertion `metrics != NULL' failed

(dia:25236): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed

(dia:25236): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed

(dia:25236): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed

Program received signal SIGSEGV, Segmentation fault.
IA__gdk_window_enable_synchronized_configure (window=0x0) at gdkwindow-x11.c:5395
5395	  if (!GDK_IS_WINDOW_IMPL_X11 (private->impl))
Missing separate debuginfos, use: debuginfo-install dbus-libs-1.2.16-8.fc12.i686 gnome-keyring-2.28.1-2.fc12.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.7-8.fc12.i686 libX11-1.3-1.fc12.i686 libXau-1.0.5-1.fc12.i686 libXcomposite-0.4.1-2.fc12.i686 libXcursor-1.1.10-1.fc12.i686 libXdamage-1.1.2-1.fc12.i686 libXext-1.1-1.fc12.i686 libXfixes-4.0.4-1.fc12.i686 libXi-1.3-1.fc12.i686 libXinerama-1.1-1.fc12.i686 libXrandr-1.3.0-3.fc12.i686 libXrender-0.9.5-1.fc12.i686 libcap-ng-0.6.2-3.fc12.i686 libcom_err-1.41.9-5.fc12.i686 libselinux-2.0.87-1.fc12.i686 libuuid-2.16-10.2.fc12.i686 libxcb-1.4-1.fc12.i686 openssl-1.0.0-0.10.beta3.fc12.i686 pixman-0.16.2-1.fc12.i686
(gdb) bt
#0  IA__gdk_window_enable_synchronized_configure (window=0x0) at gdkwindow-x11.c:5395
#1  0x05612047 in gtk_window_realize (widget=<value optimized out>) at gtkwindow.c:4795
#2  0x001272d4 in IA__g_cclosure_marshal_VOID__VOID (closure=<value optimized out>, return_value=<value optimized out>, 
    n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=<value optimized out>, marshal_data=<value optimized out>)
    at gmarshal.c:77
#3  0x00117c0a in g_type_class_meta_marshal (closure=<value optimized out>, return_value=<value optimized out>, n_param_values=<value optimized out>, 
    param_values=<value optimized out>, invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at gclosure.c:878
#4  0x001195b3 in IA__g_closure_invoke (closure=<value optimized out>, return_value=<value optimized out>, n_param_values=<value optimized out>, 
    param_values=<value optimized out>, invocation_hint=<value optimized out>) at gclosure.c:767
#5  0x0012ea20 in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, 
    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3177
#6  0x0013047d in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, 
    var_args=<value optimized out>) at gsignal.c:2980
#7  0x00130907 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3037
#8  0x055fdd8e in IA__gtk_widget_realize (widget=<value optimized out>) at gtkwidget.c:3336
#9  0x05612ab0 in gtk_window_show (widget=<value optimized out>) at gtkwindow.c:4488
#10 0x001272d4 in IA__g_cclosure_marshal_VOID__VOID (closure=<value optimized out>, return_value=<value optimized out>, 
    n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=<value optimized out>, marshal_data=<value optimized out>)
    at gmarshal.c:77
#11 0x00117c0a in g_type_class_meta_marshal (closure=<value optimized out>, return_value=<value optimized out>, n_param_values=<value optimized out>, 
    param_values=<value optimized out>, invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at gclosure.c:878
#12 0x001195b3 in IA__g_closure_invoke (closure=<value optimized out>, return_value=<value optimized out>, n_param_values=<value optimized out>, 
    param_values=<value optimized out>, invocation_hint=<value optimized out>) at gclosure.c:767
#13 0x0012ea20 in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, 
    emission_return=<value optimized out>, instance_and_params=<value optimized out>) at gsignal.c:3177
#14 0x0013047d in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, 
    var_args=<value optimized out>) at gsignal.c:2980
#15 0x00130907 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3037
#16 0x055ff0d5 in IA__gtk_widget_show (widget=<value optimized out>) at gtkwidget.c:3020
#17 0x055fee1d in IA__gtk_widget_show_all (widget=<value optimized out>) at gtkwidget.c:3168
#18 0x004e9333 in export_png (data=0x80da000 [DiagramData], filename=0x80d5250 "test", diafilename=0xbffff574 "test.dia", user_data=0x0) at export_png.c:368
#19 0x0806d531 in do_convert (infname=<value optimized out>, outfname=<value optimized out>, ef=<value optimized out>, size=0x0, show_layers=0x0)
    at app_procs.c:383
#20 0x0806e04b in handle_initial_diagram (outdir=<value optimized out>, show_layers=<value optimized out>, size=<value optimized out>, 
    export_file_format=<value optimized out>, out_file_name=0x0, in_file_name=<value optimized out>) at app_procs.c:566
#21 handle_all_diagrams (outdir=<value optimized out>, show_layers=<value optimized out>, size=<value optimized out>, 
    export_file_format=<value optimized out>, out_file_name=0x0, in_file_name=<value optimized out>) at app_procs.c:1213
---Type <return> to continue, or q <return> to quit---
#22 app_init (outdir=<value optimized out>, show_layers=<value optimized out>, size=<value optimized out>, export_file_format=<value optimized out>, 
    out_file_name=0x0, in_file_name=<value optimized out>) at app_procs.c:867
#23 0x0809ecac in main (argc=5, argv=0xbffff3b4) at main.c:26
(gdb) 

