edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] segfault with small pool
@ 2014-02-19  9:21 Karl Dahlke
  2014-02-19 11:28 ` Adam Thompson
  2014-02-19 11:38 ` Adam Thompson
  0 siblings, 2 replies; 9+ messages in thread
From: Karl Dahlke @ 2014-02-19  9:21 UTC (permalink / raw)
  To: Edbrowse-dev

I sometimes run with jspool = 2 just to test,
just to see what happens with a real world memory error.
While doing this, I was looking at my edbrowse wiki article,
putting in more feature content as Adam suggested,
and I was verifying some of the internal wiki links,
and got a segfault.
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
 .
135113
 .
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
could not allocate memory for javascript operations.
out of memory
Unrecoverable JavaScript error in this session
*** glibc detected *** /home/eklhad/bin/edbrowse: free(): corrupted unsorted chunks: 0x0a4ca310 ***
======= Backtrace: =========

Karl Dahlke

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Edbrowse-dev]  segfault with small pool
@ 2014-02-19 16:36 Karl Dahlke
  0 siblings, 0 replies; 9+ messages in thread
From: Karl Dahlke @ 2014-02-19 16:36 UTC (permalink / raw)
  To: Edbrowse-dev

> As for the heap-rooted objects, maybe javaSessionFail could traverse the

No need.
I don't call the heap destructor unless js is alive.
See html.cpp line 319.

But the concern about stacks unwinding the rooted objects,
in a context that is destroyed,  is real,
and we need to think about that logic.

Karl Dahlke

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-19 21:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19  9:21 [Edbrowse-dev] segfault with small pool Karl Dahlke
2014-02-19 11:28 ` Adam Thompson
2014-02-19 11:38 ` Adam Thompson
2014-02-19 14:12   ` Adam Thompson
2014-02-19 16:07     ` Chris Brannon
2014-02-19 16:52       ` Adam Thompson
2014-02-19 17:34         ` Chris Brannon
2014-02-19 21:04           ` Adam Thompson
2014-02-19 16:36 Karl Dahlke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).