On Wed, Feb 19, 2014 at 04:21:37AM -0500, Karl Dahlke wrote:
> I sometimes run with jspool = 2 just to test,
> just to see what happens with a real world memory error.

Good idea.

[snip]
> Set jspool = 2 and type or read in these two commands.
> 
> b http://en.wikipedia.org/wiki/http
> b http://en.wikipedia.org/wiki/https
> 
> I get something like this.
> 
> edbrowse ready
>  .
> 180413
>  .
> 34837

Wow, mine explodes on this one.

>  .
> 135113
>  .
> could not allocate memory for javascript operations.
> out of memory
Why haven't we stopped here?
Anything from this point on is probably going to go wrong.

> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> could not allocate memory for javascript operations.
> out of memory
> Unrecoverable JavaScript error in this session

And it does.

> *** glibc detected *** /home/eklhad/bin/edbrowse: free(): corrupted unsorted 
> chunks: 0x0a4ca310 ***
> ======= Backtrace: =========

Ugh, double free? Not sure, have switched javaSessionFail to use
freeJavaContext in case.

Thanks for the testing, I'm currently going thrpough jsloc.cpp trying to fix 
things.

Cheers,
Adam.
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to