Re: [elinks-users] Compile problem

2012-03-18 Thread Lars Bjørndal
witekfl  writes:

> Lars Bjørndal  lamasti.net> writes:
>
>> (gdb) bt
>> #0  done_heartbeat (hb=0x0) at heartbeat.c:117
>
> I guess, hb is 0 because of out of memory.
> You can try git pull and make if 0.13.GIT is used.

Worked, thank you. Perfect!

Regards,

Lars
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-03-04 Thread witekfl
Lars Bjørndal  lamasti.net> writes:

> (gdb) bt
> #0  done_heartbeat (hb=0x0) at heartbeat.c:117

I guess, hb is 0 because of out of memory.
You can try git pull and make if 0.13.GIT is used.


___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-03-04 Thread Lars Bjørndal
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

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:
...
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=) at
http.c:1173
#13 0x080d000e in read_http_data (socket=0x8d6f580, rb=0x8d12c78)
at http.c:1362
---Type  to continue, or q  to quit---  
#14 0x080bf2ed in read_select (socket=0x8d6f580) at socket.c:927
#15 0x080b864f in select_loop (init=0x80b7790 ) at select.c:307
#16 0x0805bed3 in main (argc=1, argv=0xbf81d3e4) at main.c:358
(gdb)


Thanks and regards,

Lars
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-01-07 Thread 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.
Be careful, because your passwords and logins might be visible there.


___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-01-05 Thread Lars Bjørndal
[witekfl]

> The ELinks "beeped" on the screen terminal, because it tried to set the 
> terminal 
> title.
> In the current git version this feature is off for the GNU screen.

Thank you very much!

Do you also have a solution for my problem I mentioned regarding my
digital bank account?

Thanks and regards,
Lars
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-01-05 Thread witekfl
The ELinks "beeped" on the screen terminal, because it tried to set the 
terminal 
title.
In the current git version this feature is off for the GNU screen.


___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-01-04 Thread Lars Bjørndal
[witekfl]

> Lars Bjørndal  lamasti.net> writes:
>
>> > Are you sure, you got the latest sources of ELinks?
>> > Recent changes were made in November 2011.
>> 
>> Thank you for pointing this out. I'm certainly not very familiar with
>> git, and, if I remember correctly, I did 'git checkout' from the elinks
>> directory. Maybe this isn't what I should have done to update it.
>
> Use
> git pull
> for the update.

Thank you.

>> Anyway, now I was able to compile elinks with ECMAScript. I still have
>> some odd issues:
>> 
>> - Elinks crashes, and terminates, if activating some links in my digital bank
>>   account. This happens also if I turn ECMAscript off.
>
> Did you try to compile with --disable-sm-scripting?

Tried that now, and it works. It would be fine if it also worked; a)
when ECMAscript was compiled in and enabled, or, at least, b) if
ECMAscript was compiled in and disabled in the config.

>> 
>> - Using Elinks from within screen, raises problems. The terminal beeps
>>   at every new page load, and the terminal is confused somehow, because
>>   it also beeps when changing screen number. I can workaround this by
>>   attaching to the screen session after setting TERM=vt100, but that
>>   leads to other odd situations with other programs, like emacs.
>
> What is the value of the the TERM before invoking screen (echo $TERM) and 
> after?

Before: linux

After: screen.linux

> You can change terminal settings in the ELinks (F9 -> Setup -> Terminal 
> options 
> or o (Option manager) -> Terminals). Start changing with the color mode.

I've experimented, but no luck so far. I use "No coloer (mono). It's
also the same after compiling without-sm-scripting.

Thanks and regards,
Lars
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-01-03 Thread witekfl
Lars Bjørndal  lamasti.net> writes:

> > Are you sure, you got the latest sources of ELinks?
> > Recent changes were made in November 2011.
> 
> Thank you for pointing this out. I'm certainly not very familiar with
> git, and, if I remember correctly, I did 'git checkout' from the elinks
> directory. Maybe this isn't what I should have done to update it.

Use
git pull
for the update.

> Anyway, now I was able to compile elinks with ECMAScript. I still have
> some odd issues:
> 
> - Elinks crashes, and terminates, if activating some links in my digital bank
>   account. This happens also if I turn ECMAscript off.

Did you try to compile with --disable-sm-scripting?

> 
> - Using Elinks from within screen, raises problems. The terminal beeps
>   at every new page load, and the terminal is confused somehow, because
>   it also beeps when changing screen number. I can workaround this by
>   attaching to the screen session after setting TERM=vt100, but that
>   leads to other odd situations with other programs, like emacs.

What is the value of the the TERM before invoking screen (echo $TERM) and after?

You can change terminal settings in the ELinks (F9 -> Setup -> Terminal options 
or o (Option manager) -> Terminals). Start changing with the color mode.


___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2012-01-02 Thread Lars Bjørndal
Hello, list!

[Witold Filipczyk]

> Lars Bjørndal  lamasti.net> writes:
>
>> 
>> The compile process fails.
>> 
>> >From configure output:
>> 
>> ECMAScript (JavaScript) . SpiderMonkey document scripting
>> Browser scripting ... SpiderMonkey
>> 
> [snip]
>
> Are you sure, you got the latest sources of ELinks?
> Recent changes were made in November 2011.

Thank you for pointing this out. I'm certainly not very familiar with
git, and, if I remember correctly, I did 'git checkout' from the elinks
directory. Maybe this isn't what I should have done to update it.
Anyway, now I was able to compile elinks with ECMAScript. I still have
some odd issues:

- Elinks crashes, and terminates, if activating some links in my digital bank
  account. This happens also if I turn ECMAscript off.

- Using Elinks from within screen, raises problems. The terminal beeps
  at every new page load, and the terminal is confused somehow, because
  it also beeps when changing screen number. I can workaround this by
  attaching to the screen session after setting TERM=vt100, but that
  leads to other odd situations with other programs, like emacs.

Is there a chance that this could be looked into?

I'm running Fedora 15.

Thanks, and regards,
Lars
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem

2011-12-17 Thread Witold Filipczyk
Lars Bjørndal  lamasti.net> writes:

> 
> The compile process fails.
> 
> >From configure output:
> 
> ECMAScript (JavaScript) . SpiderMonkey document scripting
> Browser scripting ... SpiderMonkey
> 
[snip]

Are you sure, you got the latest sources of ELinks?
Recent changes were made in November 2011.


___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem with 0.11.1

2006-02-05 Thread Jonas Fonseca
Christopher Moore <[EMAIL PROTECTED]> wrote Fri, Feb 03, 2006:
> On Fri, Feb 03, 2006 at 12:23:09AM +0100, Jonas Fonseca wrote:
> > Christopher Moore <[EMAIL PROTECTED]> wrote Thu, Feb 02, 2006:
> > > Hello,
> > 
> > Hi,
> > 
> > > I'm attempting to build the latest release.  The ./configure ran fine but
> > > make gave the following error from autoheader:
> > > 
> > > w1gm:/opt/elinks-0.11.1$ make
> > > cd ./. && autoheader
> > > Can't locate object method "path" via package "Autom4te::Request" at
> > > /usr/bin/au
> > > tom4te line 81.
> > > autoheader: /usr/bin/autom4te failed with exit status: 1
> > > make: *** [stamp-h.in] Error 1
> > > 
> > > I currently running 0.11.cvs built in May 2005. 
> > 
> > Could you try to remove the autom4te.cache directory in the root?
> > Then to be safe rerun ./configure.
> That fixed the problem! Thanks

Ok, the autom4te.cache directory is now removed when generating
tarballs. Only the 0.12 snapshot is fixed due to the MD5 sums.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem with 0.11.1

2006-02-03 Thread Christopher Moore
On Fri, Feb 03, 2006 at 12:23:09AM +0100, Jonas Fonseca wrote:
> Christopher Moore <[EMAIL PROTECTED]> wrote Thu, Feb 02, 2006:
> > Hello,
> 
> Hi,
> 
> > I'm attempting to build the latest release.  The ./configure ran fine but
> > make gave the following error from autoheader:
> > 
> > w1gm:/opt/elinks-0.11.1$ make
> > cd ./. && autoheader
> > Can't locate object method "path" via package "Autom4te::Request" at
> > /usr/bin/au
> > tom4te line 81.
> > autoheader: /usr/bin/autom4te failed with exit status: 1
> > make: *** [stamp-h.in] Error 1
> > 
> > I currently running 0.11.cvs built in May 2005. 
> 
> Could you try to remove the autom4te.cache directory in the root?
> Then to be safe rerun ./configure.
That fixed the problem! Thanks
> 
> -- 
> Jonas Fonseca
> ___
> elinks-users mailing list
> elinks-users@linuxfromscratch.org
> http://linuxfromscratch.org/mailman/listinfo/elinks-users
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Compile problem with 0.11.1

2006-02-02 Thread Jonas Fonseca
Christopher Moore <[EMAIL PROTECTED]> wrote Thu, Feb 02, 2006:
> Hello,

Hi,

> I'm attempting to build the latest release.  The ./configure ran fine but
> make gave the following error from autoheader:
> 
> w1gm:/opt/elinks-0.11.1$ make
> cd ./. && autoheader
> Can't locate object method "path" via package "Autom4te::Request" at
> /usr/bin/au
> tom4te line 81.
> autoheader: /usr/bin/autom4te failed with exit status: 1
> make: *** [stamp-h.in] Error 1
> 
> I currently running 0.11.cvs built in May 2005. 

Could you try to remove the autom4te.cache directory in the root?
Then to be safe rerun ./configure.

-- 
Jonas Fonseca
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users