Segfault on simple program?
Shriramana Sharma
samjnaa at gmail.com
Fri May 31 16:48:11 PDT 2013
On Sat, Jun 1, 2013 at 12:07 AM, John Colvin
<john.loughran.colvin at gmail.com> wrote:
> given a program named "test" in the current directory
>
> gdb ./test
> run #will segfault
> bt full
>
> and copy the output.
Did it (after installing libc6-dbg just in case) but it doesn't seem
to be very useful:
(gdb) bt full
#0 0x000000000043dd20 in _d_dso_registry ()
No symbol table info available.
#1 0x000000000043862f in ?? ()
No symbol table info available.
#2 0x0000000000000001 in ?? ()
No symbol table info available.
#3 0x0000000000463898 in
TypeInfo_PS3std5array17__T8AppenderTAxaZ8Appender4Data.__init() ()
No symbol table info available.
#4 0x0000000000460bc8 in ?? ()
No symbol table info available.
#5 0x0000000000460db8 in ?? ()
No symbol table info available.
#6 0x0000000000460610 in ?? ()
No symbol table info available.
#7 0x0000000000460bc8 in ?? ()
No symbol table info available.
#8 0x0000000000000040 in ?? ()
No symbol table info available.
#9 0x000000000045790d in __libc_csu_init ()
No symbol table info available.
#10 0x00007ffff760ee35 in __libc_start_main (main=0x43b0d0 <main>,
argc=1, ubp_av=0x7fffffffdf58, init=0x4578b0 <__libc_csu_init>,
fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffdf48) at libc-start.c:219
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0,
140737351945365, 140733193388033, 0, 1, 140737343639840, 0, 0},
mask_was_saved = 4392416}},
priv = {pad = {0x7ffff7def725 <_dl_runtime_resolve+53>,
0x1c, 0x4578b0 <__libc_csu_init>, 0x7fffffffdf58}, data = {
prev = 0x7ffff7def725 <_dl_runtime_resolve+53>, cleanup
= 0x1c, canceltype = 4552880}}}
not_first_call = <optimized out>
#11 0x0000000000430609 in _start ()
No symbol table info available.
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
More information about the Digitalmars-d-learn
mailing list