Skip to content

Instantly share code, notes, and snippets.

@posulliv
Created May 3, 2009 05:26
Show Gist options
  • Save posulliv/105858 to your computer and use it in GitHub Desktop.
Save posulliv/105858 to your computer and use it in GitHub Desktop.
$ ./my_script.sh /usr/src/cmsc724/vp
posulliv 16588 16118 0 21:26 ? 00:00:00 postgres: posulliv bench [local] idle
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /usr/src/cmsc724/vp/bin/postgres, process 16588
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
(no debugging symbols found)
0x00b94402 in __kernel_vsyscall ()
(gdb) where
#0 0x00b94402 in __kernel_vsyscall ()
#1 0x001f7c71 in recv () from /lib/libc.so.6
#2 0x0817d29f in secure_read ()
#3 0x081818d8 in pq_recvbuf ()
#4 0x08181cd8 in pq_getbyte ()
#5 0x081f70df in PostgresMain ()
#6 0x081cb362 in ServerLoop ()
#7 0x081cbff2 in PostmasterMain ()
#8 0x08183830 in main ()
(gdb) break ExecutorRun
Breakpoint 1 at 0x8162a46
(gdb) c
Continuing.
Breakpoint 1, 0x08162a46 in ExecutorRun ()
(gdb) where
#0 0x08162a46 in ExecutorRun ()
#1 0x081f8f79 in PortalRunSelect ()
#2 0x081fa05a in PortalRun ()
#3 0x081f5922 in exec_simple_query ()
#4 0x081f6738 in PostgresMain ()
#5 0x081cb362 in ServerLoop ()
#6 0x081cbff2 in PostmasterMain ()
#7 0x08183830 in main ()
(gdb) c
Continuing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment