[elinks-users] Compile problem

Lars Bjørndal lars at lamasti.net
Sun Mar 4 01:26:27 PST 2012


Hello

[witekfl]

> If this bug is reproducible, do:
> recompile elinks with --disable-backtrace (yes, --disable, because I don't like 
> it)
> Make sure, ELinks is compiled with debug symbols.
> make V=1 shows -g among flags in this case
> After the compilation:
> ulimit -c unlimited # for core dumps
> cd
> elinks
> (click, click, segfault)
> if the "core" or the "core.$pid" file appears in the home directory, run:
> gdb path_to_elinks core
>
> In gdb:
> bt
>
> Copy the results from the screen and mail it here.
> Filenames, function names, variables, and line numbers are usually in backtraces.

Thank you. I hope I have done things correctly. My experience in
debugging is limited. Please find below the output. Hope the information
provided can be used to investigate the digital bank problem mentioned earlier.

----------------------------------------

$ gdb /usr/bin/elinks  core.16895
GNU gdb (GDB) Fedora (7.3.1-46.fc15)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/elinks...Reading symbols from
/usr/lib/debug/usr/bin/elinks.debug...done.
done.
[New LWP 16895]
[New LWP 16896]
[Thread debugging using libthread_db enabled]
Core was generated by `elinks'.
Program terminated with signal 11, Segmentation fault.
#0  done_heartbeat (hb=0x0) at heartbeat.c:117
117             if (list_is_singleton(*hb)) {
Missing separate debuginfos, use: debuginfo-install
bzip2-libs-1.0.6-3.fc15.i686 expat-2.0.1-11.fc15.i686
glibc-2.14-5.i686 gpm-libs-1.20.6-16.fc15.i686 js-1.8.5-6.fc15.i686
keyutils-libs-1.2-7.fc15.i686 krb5-libs-1.9.1-14.fc15.i686
libcom_err-1.41.14-2.fc15.i686 libgcc-4.6.1-9.fc15.i686
libidn-1.19-2.fc15.i686 libselinux-2.0.99-4.fc15.i686
libstdc++-4.6.1-9.fc15.i686 nspr-4.8.8-1.fc15.i686
openssl-1.0.0e-1.fc15.i686 zlib-1.2.5-5.fc15.i686
(gdb) bt
#0  done_heartbeat (hb=0x0) at heartbeat.c:117
#1  0x080a7eef in spidermonkey_eval (interpreter=0x9138d30,
code=0x8beda48,
    ret=0x0) at spidermonkey.c:278
#2  0x080a7098 in ecmascript_eval (interpreter=0x9138d30,
code=0x8beda48,
    ret=0x0) at ecmascript.c:136
#3  0x080846a3 in process_snippets (current=0x9138d54,
snippets=0x9138d4c,
    interpreter=0x9138d30) at renderer.c:135
#4  render_document (vs=0x8ebf848, doc_view=0x8bb9328,
options=0xbf81cff8)
    at renderer.c:416
#5  0x08084e14 in render_document_frames (ses=0x8bb7058, no_cache=0)
    at renderer.c:487
#6  0x080f324d in draw_formatted (ses=0x8bb7058, rerender=0) at
draw.c:351
#7  0x080dd3bf in doc_loading_callback (download=0x8ebf818,
ses=0x8bb7058)
    at session.c:601
#8  0x080bb461 in notify_connection_callbacks (conn=0x8d183a0)
    at connection.c:459
#9  0x080bbc1c in done_connection (conn=0x8d183a0) at connection.c:477
#10 0x080bc638 in abort_connection (conn=0x8d183a0, state=...)
    at connection.c:771
#11 0x080cfcbe in http_end_request (conn=0x8d183a0, state=...,
notrunc=0)
    at http.c:505
#12 0x080cfed0 in read_http_data_done (conn=<optimized out>) at
http.c:1173
#13 0x080d000e in read_http_data (socket=0x8d6f580, rb=0x8d12c78)
    at http.c:1362
---Type <return> to continue, or q <return> to quit---                          
#14 0x080bf2ed in read_select (socket=0x8d6f580) at socket.c:927
#15 0x080b864f in select_loop (init=0x80b7790 <init>) at select.c:307
#16 0x0805bed3 in main (argc=1, argv=0xbf81d3e4) at main.c:358
(gdb)
----------------------------------------

Thanks and regards,

Lars



More information about the elinks-users mailing list