Script started on Sat Jan 2 01:12:13 2010 kwm@heater:~> /usr/local/bin/gdb66 /usr/local/bin//gnome-power-manager GNU gdb 6.6 [GDB v6.6 for FreeBSD] Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd9.0"... (gdb) r Starting program: /usr/local/bin/gnome-power-manager Program received signal SIGSEGV, Segmentation fault. fclose (fp=0x0) at /usr/src-head/lib/libc/stdio/fclose.c:52 52 if (fp->_flags == 0) { /* not open! */ (gdb) bt full #0 fclose (fp=0x0) at /usr/src-head/lib/libc/stdio/fclose.c:52 r = #1 0x000000000040d167 in gpm_load_get_cpu_values (cpu_idle=0x33014c30, cpu_total=0x33014c38) at gpm-load.c:196 cpu_user = 856490624 cpu_nice = 823753224 cpu_system = 855723024 len = 0 tmp = "\200\002\r3" str = "\200D\0033\000\000\000\000\020L\0013\000\000\000\000\020L\0013\000\000\000\000\n3\000\000\000\000P\000\000\000\000\000\000\000\b\0033\000\000\000\000 \177\000\000\a1\000\000\000\000@\000\000\000\0000L\0013\000\000\000" fd = (FILE *) 0x0 suc = 0x330edd00 "\200\002\r3" ret = 0 #2 0x000000000040d323 in gpm_load_init (load=0x33014c10) at gpm-load.c:248 No locals. #3 0x0000000031079d79 in IA__g_type_create_instance (type=856490624) at gtype.c:1854 node = (TypeNode *) 0x330d0280 instance = (GTypeInstance *) 0x33014c10 class = (GTypeClass *) 0x330edd00 ---Type to continue, or q to quit--- i = 0 total_size = 48 #4 0x000000003105d71c in ?? () from /usr/local/lib/libgobject-2.0.so.0 No symbol table info available. #5 0x000000003105c864 in IA__g_object_newv (object_type=856490624, n_parameters=0, parameters=0x0) at gobject.c:1176 cparams = (GObjectConstructParam *) 0x0 oparams = (GObjectConstructParam *) 0x0 nqueue = (GObjectNotifyQueue *) 0x0 object = (GObject *) 0x0 class = (GObjectClass *) 0x330edd00 unref_class = (GObjectClass *) 0x330edd00 slist = (GSList *) 0x0 n_total_cparams = 0 n_cparams = 0 n_oparams = 0 n_cvalues = 0 cvalues = (GValue *) 0x535da0 clist = (GList *) 0x0 newly_constructed = 856490624 i = 0 __PRETTY_FUNCTION__ = "IA__g_object_newv" #6 0x000000003105d0da in IA__g_object_new_valist (object_type=856490624, ---Type to continue, or q to quit--- first_property_name=0x0, var_args=0x7fffffffd830) at gobject.c:1333 class = (GObjectClass *) 0x31a2cc30 params = (GParameter *) 0x31197168 name = (const gchar *) 0x330f0ec0 "\204\0033" object = (GObject *) 0x31a2c730 n_params = 0 n_alloced_params = 16 __PRETTY_FUNCTION__ = "IA__g_object_new_valist" #7 0x000000003105c66f in IA__g_object_new (object_type=856490624, first_property_name=0x0) at gobject.c:1091 object = (GObject *) 0x4289c0 var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffd910, reg_save_area = 0x7fffffffd850}} __PRETTY_FUNCTION__ = "IA__g_object_new" #8 0x000000000040d465 in gpm_load_new () at gpm-load.c:277 No locals. #9 0x000000000040cde0 in gpm_idle_init (idle=0x33034460) at gpm-idle.c:473 No locals. #10 0x0000000031079d79 in IA__g_type_create_instance (type=856490528) at gtype.c:1854 node = (TypeNode *) 0x330d0220 instance = (GTypeInstance *) 0x33034460 class = (GTypeClass *) 0x330edc40 ---Type to continue, or q to quit--- i = 0 total_size = 96 #11 0x000000003105d71c in ?? () from /usr/local/lib/libgobject-2.0.so.0 No symbol table info available. #12 0x000000003105c864 in IA__g_object_newv (object_type=856490528, n_parameters=0, parameters=0x0) at gobject.c:1176 cparams = (GObjectConstructParam *) 0x0 oparams = (GObjectConstructParam *) 0x0 nqueue = (GObjectNotifyQueue *) 0x0 object = (GObject *) 0x0 class = (GObjectClass *) 0x330edc40 unref_class = (GObjectClass *) 0x330edc40 slist = (GSList *) 0x0 n_total_cparams = 0 n_cparams = 0 n_oparams = 0 n_cvalues = 0 cvalues = (GValue *) 0x535da0 clist = (GList *) 0x0 newly_constructed = 856490528 i = 0 __PRETTY_FUNCTION__ = "IA__g_object_newv" #13 0x000000003105d0da in IA__g_object_new_valist (object_type=856490528, ---Type to continue, or q to quit--- first_property_name=0x0, var_args=0x7fffffffdc20) at gobject.c:1333 class = (GObjectClass *) 0x31a2cc30 params = (GParameter *) 0x31197168 name = (const gchar *) 0x330f0a10 "\204\0033" object = (GObject *) 0x31a2c730 n_params = 0 n_alloced_params = 16 __PRETTY_FUNCTION__ = "IA__g_object_new_valist" #14 0x000000003105c66f in IA__g_object_new (object_type=856490528, first_property_name=0x0) at gobject.c:1091 object = (GObject *) 0x428340 var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffdd00, reg_save_area = 0x7fffffffdc40}} __PRETTY_FUNCTION__ = "IA__g_object_new" #15 0x000000000040cf15 in gpm_idle_new () at gpm-idle.c:498 No locals. #16 0x000000000040b8e5 in gpm_backlight_init (backlight=0x3301f900) at gpm-backlight.c:773 lid_is_present = 0 prefs_server = (GpmPrefsServer *) 0x330134a0 #17 0x0000000031079d79 in IA__g_type_create_instance (type=856489376) at gtype.c:1854 node = (TypeNode *) 0x330cfda0 ---Type to continue, or q to quit--- instance = (GTypeInstance *) 0x3301f900 class = (GTypeClass *) 0x330ec500 i = 0 total_size = 120 #18 0x000000003105d71c in ?? () from /usr/local/lib/libgobject-2.0.so.0 No symbol table info available. #19 0x000000003105c864 in IA__g_object_newv (object_type=856489376, n_parameters=0, parameters=0x0) at gobject.c:1176 cparams = (GObjectConstructParam *) 0x0 oparams = (GObjectConstructParam *) 0x0 nqueue = (GObjectNotifyQueue *) 0x0 object = (GObject *) 0x0 class = (GObjectClass *) 0x330ec500 unref_class = (GObjectClass *) 0x330ec500 slist = (GSList *) 0x0 n_total_cparams = 0 n_cparams = 0 n_oparams = 0 n_cvalues = 0 cvalues = (GValue *) 0x535da0 clist = (GList *) 0x0 newly_constructed = 856489376 i = 0 ---Type to continue, or q to quit--- __PRETTY_FUNCTION__ = "IA__g_object_newv" #20 0x000000003105d0da in IA__g_object_new_valist (object_type=856489376, first_property_name=0x0, var_args=0x7fffffffe020) at gobject.c:1333 class = (GObjectClass *) 0x31a2cc30 params = (GParameter *) 0x31197168 name = (const gchar *) 0x330f04c0 "\204\0033" object = (GObject *) 0x31a2c730 n_params = 0 n_alloced_params = 16 __PRETTY_FUNCTION__ = "IA__g_object_new_valist" #21 0x000000003105c66f in IA__g_object_new (object_type=856489376, first_property_name=0x0) at gobject.c:1091 object = (GObject *) 0x4279e0 var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffe100, reg_save_area = 0x7fffffffe040}} __PRETTY_FUNCTION__ = "IA__g_object_new" #22 0x000000000040ba4f in gpm_backlight_new () at gpm-backlight.c:808 backlight = (GpmBacklight *) 0x417ee7 #23 0x0000000000415dc7 in gpm_manager_init (manager=0x33020470) at gpm-manager.c:1829 check_type_cpu = 855770224 timeout = 0 connection = (DBusGConnection *) 0x3301d408 ---Type to continue, or q to quit--- error = (GError *) 0x0 version = 3 __FUNCTION__ = "gpm_manager_init" #24 0x0000000031079d79 in IA__g_type_create_instance (type=856486784) at gtype.c:1854 node = (TypeNode *) 0x330cf380 instance = (GTypeInstance *) 0x33020470 class = (GTypeClass *) 0x330bef40 i = 0 total_size = 200 #25 0x000000003105d71c in ?? () from /usr/local/lib/libgobject-2.0.so.0 No symbol table info available. #26 0x000000003105c864 in IA__g_object_newv (object_type=856486784, n_parameters=0, parameters=0x0) at gobject.c:1176 cparams = (GObjectConstructParam *) 0x0 oparams = (GObjectConstructParam *) 0x0 nqueue = (GObjectNotifyQueue *) 0x0 object = (GObject *) 0x0 class = (GObjectClass *) 0x330bef40 unref_class = (GObjectClass *) 0x330bef40 slist = (GSList *) 0x0 n_total_cparams = 0 n_cparams = 0 ---Type to continue, or q to quit--- n_oparams = 0 n_cvalues = 0 cvalues = (GValue *) 0x535da0 clist = (GList *) 0x0 newly_constructed = 856486784 i = 0 __PRETTY_FUNCTION__ = "IA__g_object_newv" #27 0x000000003105d0da in IA__g_object_new_valist (object_type=856486784, first_property_name=0x0, var_args=0x7fffffffe450) at gobject.c:1333 class = (GObjectClass *) 0x31a2cc30 params = (GParameter *) 0x31197168 name = (const gchar *) 0x330d1970 "\204\0033" object = (GObject *) 0x31a2c730 n_params = 0 n_alloced_params = 16 __PRETTY_FUNCTION__ = "IA__g_object_new_valist" #28 0x000000003105c66f in IA__g_object_new (object_type=856486784, first_property_name=0x0) at gobject.c:1091 object = (GObject *) 0x42a890 var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffe530, reg_save_area = 0x7fffffffe470}} __PRETTY_FUNCTION__ = "IA__g_object_new" #29 0x00000000004163af in gpm_manager_new () at gpm-manager.c:1943 ---Type to continue, or q to quit--- manager = (GpmManager *) 0x1 #30 0x0000000000412680 in main (argc=1, argv=0x7fffffffe708) at gpm-main.c:247 loop = (GMainLoop *) 0x330c1b40 system_connection = (DBusGConnection *) 0x3301d008 session_connection = (DBusGConnection *) 0x3301d408 verbose = 0 version = 0 timed_exit = 0 immediate_exit = 0 session = (GpmSession *) 0x330325e0 manager = (GpmManager *) 0x0 error = (GError *) 0x0 context = (GOptionContext *) 0x3303f160 ret = 0 options = {{long_name = 0x42a2d8 "verbose", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe674, description = 0x42a2e0 "Show extra debugging information", arg_description = 0x0}, {long_name = 0x42a301 "version", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe670, description = 0x42a310 "Show version of installed program and exit", arg_description = 0x0}, {long_name = 0x42a33b "timed-exit", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, ---Type to continue, or q to quit--- arg_data = 0x7fffffffe66c, description = 0x42a348 "Exit after a small delay (for debugging)", arg_description = 0x0}, {long_name = 0x42a371 "immediate-exit", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe668, description = 0x42a380 "Exit after the manager has loaded (for debugging)", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}} __FUNCTION__ = "main" (gdb) quit The program is running. Exit anyway? (y or n) y kwm@heater:~> exit exit Script done on Sat Jan 2 01:12:36 2010