$ gdb /usr/bin/perl
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-redhat-linux-gnu"...
(no debugging symbols found)...
(gdb) run test.pl
Starting program: /usr/bin/perl test.pl
[New Thread 1075644768 (LWP 6591)]
- reading testfile '/bin/ls'
- inserting testfile contents
- oid = '16265446'
- reading large object

Program received signal SIGINT, Interrupt.
[Switching to Thread 1075644768 (LWP 6591)]
0xffffe002 in ?? ()
(gdb) info stack
#0  0xffffe002 in ?? ()
#1  0x404e90f7 in ERR_get_state () from /lib/libcrypto.so.4
#2  0x404e8a79 in ERR_peek_last_error_line_data () from /lib/libcrypto.so.4
#3  0x404e891a in ERR_peek_error () from /lib/libcrypto.so.4
#4  0x4045e35a in SSL_get_error () from /lib/libssl.so.4
#5  0x404216e5 in pqsecure_read () from /usr/lib/libpq.so.3
#6  0x4041d76a in pqReadData () from /usr/lib/libpq.so.3
#7  0x4041c224 in PQfn () from /usr/lib/libpq.so.3
#8  0x4041f773 in lo_read () from /usr/lib/libpq.so.3
#9  0x4014c194 in pg_db_lo_read (dbh=0x19bf, fd=1079323488, 
    buf=0x40552b60 "Ð|N@ }N@0~N@Ð~N@p\177N@\020\200N@à\200N@\200\201N@ \202N@\020\203N@\001", len=1079323488) at dbdimp.c:545
#10 0x40144881 in XS_DBD__Pg__st_bind_param_inout (my_perl=0x804bcb8, 
    cv=0x81b0a48) at Pg.xs:282
#11 0x40400247 in XS_DBI_dispatch (my_perl=0x804bcb8, cv=0x8189158)
    at DBI.xs:2320
#12 0x400a34e5 in Perl_pp_entersub (my_perl=0x804bcb8) at pp_hot.c:2781
#13 0x40086c9a in Perl_runops_debug (my_perl=0x804bcb8) at dump.c:1414
#14 0x4003a9ab in S_run_body (my_perl=0x804bcb8, oldscope=6591) at perl.c:1705
#15 0x4003a635 in perl_run (my_perl=0x804bcb8) at perl.c:1624
#16 0x080493a3 in main ()
#17 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) info reg
eax            0x19bf	6591
ecx            0x0	0
edx            0x40552b60	1079323488
ebx            0x40560010	1079377936
esp            0xbfffe998	0xbfffe998
ebp            0xbfffe9a8	0xbfffe9a8
esi            0xffffffff	-1
edi            0x81c6a80	136080000
eip            0xffffe002	0xffffe002
eflags         0x246	582
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x33	51
(gdb) q
