Menu

#9 Segmentation fault in eyedbrc

open
nobody
5
2006-03-27
2006-03-27
No

Occurs when typing as a plain Unix user :
eyedbrc status
while DB is run from the root Unix account .

eyedbrc doesn't crash when run from the root Unix account .

uname -a
Linux localhost.localdomain 2.6.15-1.1830_FC4 #1 Thu
Feb 2 17:23:41 EST 2006 i686 i686 i386 GNU/Linux

( Fedora Core 4 )

ldd /usr/bin/eyedbrc
linux-gate.so.1 => (0x0046a000)
libeyedb.so.0 => /usr/lib/libeyedb.so.0
(0x0046b000)
libeyedbrpcfe.so.0 =>
/usr/lib/libeyedbrpcfe.so.0 (0x00111000)
libeyedbsm.so.0 => /usr/lib/libeyedbsm.so.0
(0x003a6000)
libeyedbutils.so.0 =>
/usr/lib/libeyedbutils.so.0 (0x00118000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00905000)
libdl.so.2 => /lib/libdl.so.2 (0x00b7d000)
libpthread.so.0 => /lib/libpthread.so.0
(0x00c7f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6
(0x00126000)
libm.so.6 => /lib/libm.so.6 (0x00b56000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00d80000)
libc.so.6 => /lib/libc.so.6 (0x00a2b000)
/lib/ld-linux.so.2 (0x00a0d000)

The corresponding gdb session :

Starting program: /usr/bin/eyedbrc status
Reading symbols from shared object read from target
memory...(no debugging symbols found)...done.
Loaded system supplied DSO at 0x9b5000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208768032 (LWP 29930)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208768032 (LWP 29930)]
0x005fb1f1 in eyedb::SessionLog::display () from
/usr/lib/libeyedb.so.0
(gdb) where
#0 0x005fb1f1 in eyedb::SessionLog::display () from
/usr/lib/libeyedb.so.0
#1 0x0804aaf1 in main ()

Discussion


Log in to post a comment.