Hi, maybe I did sth. stupid, but I'm not able to start dia. I get the splash screen and than the crash, because menu_item_list is NULL, the first time sheets_optionmenu_create() is called, but is dereferenced. GDB says:
$ DEBUGGER=gdb ./app/run_dia.sh GNU gdb 2002-04-01-cvs ... (gdb) run Starting program: /usr/local/src/dia-0419/app/dia Gdk-WARNING **: locale not supported by C library [New Thread 1024 (LWP 2860)] Gdk-WARNING **: locale not supported by C library Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 2860)] 0x0809c238 in sheets_optionmenu_create (option_menu=0x82ab780, wrapbox=0x825d750, sheet_name=0x0) at sheets.c:186 186 gtk_menu_item_activate(GTK_MENU_ITEM(menu_item_list->data)); (gdb) bt #0 0x0809c238 in sheets_optionmenu_create (option_menu=0x82ab780, wrapbox=0x825d750, sheet_name=0x0) at sheets.c:186 #1 0x0809c670 in sheets_dialog_create () at sheets.c:261 #2 0x08072e14 in app_init (argc=1, argv=0xbffffab4) at app_procs.c:342 #3 0x080a8152 in main (argc=1, argv=0xbffffab4) at main.c:36 (gdb) It seems that sheet_mods_list is NULL, so optionmenu_menu is empty and gtk_container_children() returns NULL. This return value Should be checked, maybe? Anyway, dia doesn't seem to find the sheets. Btw. gtk_container_children() is deprecated in GTK2. Thanks in advance! Cheers! _______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list