PDA

View Full Version : A very strange problem.


fender0107401
July 28th, 2009, 12:01
Hi all:

This problem is very strange, so I can't promise that someone can reproduce it.

Sometimes when login (through gdm) to gnome I will find a "gdb.core" file in my home directory, but sometimes will not.

If I fond this "gdb.core" I can't "shut down" directly, if I hit "shut down", I will logout to gdm, but I can "shut down" the system from "gdm". :(

Seems, it's random. x(


% file gdb.core
gdb.core: ELF 64-bit LSB core file x86-64, version 1 (FreeBSD), FreeBSD-style, from 'gd'

% du -h gdb.core
2.5M gdb.core


OS information:
% uname -a
FreeBSD PC-686.Workstation 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #2: Tue Jul 28 12:48:19 CST 2009 fender@PC-686.Workstation:/usr/obj/usr/src/sys/MYKERNEL amd64

After the installation, I have been csup the system source code and ports tree, then I compiled the userland, the kernel, and every ports.

dennylin93
July 28th, 2009, 13:06
I have no idea, but taking a look at ~/.xsession-errors might help.

graudeejs
July 28th, 2009, 15:14
are you doing some app debuging?
gdb is GNU Debugger, and it crashed, that why gdb.dump appears.... (well, that is my guess, but there may be something other....)

fender0107401
July 29th, 2009, 08:02
I don't compiled ports with debug option and not familiar with gdb. :(

This is my ~/.xsession-errors:

% cat .xsession-errors
/usr/local/etc/gdm/Xsession: Beginning session setup...
To see how much disk space is left on your partitions, use

df -h
-- Dru <genesis@istar.ca>
/usr/local/etc/gdm/Xsession: seahorse-agent not found!
/usr/local/etc/gdm/Xsession: Setup done, will execute: gnome-session
GNOME_KEYRING_SOCKET=/var/tmp/keyring-ib4L3q/socket
SSH_AUTH_SOCK=/var/tmp/keyring-ib4L3q/socket.ssh
E: socket-client.c: socket(): Protocol not supported
Window manager warning: Failed to read saved session file /home/fender/.config/metacity/sessions/10767f63a29885ecc4124884694944778900000010430010.m s: Failed to open file '/home/fender/.config/metacity/sessions/10767f63a29885ecc4124884694944778900000010430010.m s': No such file or directory
I: caps.c: Dropping root privileges.
I: caps.c: Dropping root privileges.
W: main.c: High-priority scheduling enabled in configuration but not allowed by policy.
** (gnome-volume-control-applet:1077): DEBUG: Disabling debugging

(gecko:3282): Gdk-CRITICAL **: gdk_x11_xatom_to_atom_for_display: assertion `xatom != None' failed

(gecko:3282): Gdk-CRITICAL **: gdk_x11_xatom_to_atom_for_display: assertion `xatom != None' failed

(gecko:3282): Gdk-CRITICAL **: gdk_x11_xatom_to_atom_for_display: assertion `xatom != None' failed

(gecko:3282): Gdk-CRITICAL **: gdk_x11_xatom_to_atom_for_display: assertion `xatom != None' failed