have you tried to see what was in the core, i.e. use strings ./core  |more or 
better yet use pmap or 

    pstach ./core 

check the man page and check out the related commands. 

1. bash-3.00# strings core|more
CORE
exename
/pathtoexename
CORE
i86pc
CORE
CORE
CORE
:1.29
org.freedesktop.
CORE
exename
/pathtoexename
CORE
:1.29
org.freedesktop.
CORE
i86pc
CORE
CORE
SunOS
yourhostname
5.11
snv_62
i86pc


see if the process is still running:

bash-3.00# ps -ef|grep exename
    root  1066     1   0 20:23:47 ?           0:00 exename
 
bash-3.00# gdb exename ./core
GNU gdb 6.3.50_2004-11-23-cvs
Copyright 2004 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 "i386-pc-solaris2.11"...(no debugging symbols found)


warning: core file may not match specified executable file.
Core was generated by `/usr/lib/gnome-vfs-daemon'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /usr/lib/libgnomevfs-2.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libgnomevfs-2.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libxml2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libpthread.so.1...
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.1
Reading symbols from /usr/lib/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libm.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /lib/libsocket.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /usr/lib/libdbus-glib-1.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-glib-1.so.2
Reading symbols from /usr/lib/libdbus-1.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /usr/lib/libgconf-2.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libORBit-2.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libORBit-2.so.0
Reading symbols from /usr/lib/libhal.so.1.0.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libhal.so.1.0.0
#0  0xfeed93e0 in countbytes ()
   from /lib/libc.so.1

3.. # with in gdb session, print p (pointer) might work!

(gdb) print p
No symbol table is loaded.  Use the "file" command.

4. # also within gdb session type backtrace

(gdb) backtrace
#0  0xfeed93e0 in countbytes () from /lib/libc.so.1
#1  0xfef19775 in _ndoprnt () from /lib/libc.so.1
#2  0xfef1bba0 in vsnprintf () from /lib/libc.so.1
#3  0xfed5d1ff in g_printf_string_upper_bound () from /usr/lib/libglib-2.0.so.0
#4  0xfed7b0d3 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#5  0xfed6b0ba in g_strdup_vprintf () from /usr/lib/libglib-2.0.so.0
#6  0xfed5c48f in g_logv () from /usr/lib/libglib-2.0.so.0
#7  0xfed5c571 in g_log () from /usr/lib/libglib-2.0.so.0
#8  0x0806209a in _gnome_vfs_hal_mounts_init ()
#9  0x0805bb72 in gnome_vfs_volume_monitor_daemon_init ()
#10 0xfee0716f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#11 0xfedf1ff3 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#12 0xfedf1658 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#13 0xfedf1f95 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xfedf12f5 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#15 0x0805e22e in _gnome_vfs_get_volume_monitor_internal ()
#16 0x0805e2aa in gnome_vfs_get_volume_monitor ()
#17 0x08058c23 in main ()
(gdb)
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to