From: "Victor \"Zverok\" Shepelev" Date: 2006-10-29T22:22:40+09:00 Subject: Re: Memory crush somewhere in Socket From: Vincent Fourmond [mailto:vincent.fourmond@9online.fr] Sent: Sunday, October 29, 2006 3:12 PM >> Net::HTTP.get_response '192.168.1.1', '/index.html' >> SomeLibrary.call_some_method > > Just out of curiosity, what happens when you swap these two calls ? The case is more general: almost each call to SomeLibrary.almost_any_method crushes after Net::HTTP.get once was used. >Can you actually reproduce the bug with such a simple code (and just the >loading of the libs) ? Nope. > Could you post it, then ? In fact, I can (none of the code is confidential). But for it be useful for discussion, I should also "post" a bunch of libraries. OK, here is the program's full text, and let's look. ---------- require 'config' require 'htmr' require 'htmr/extend' require 'htmr/events' require 'net/http' MAIN_HTMR = 'nanobrowser.htmr' win = Htmr::Window.create_from_file(MAIN_HTMR, 'NanoBrowser') Net::HTTP.get_response '192.168.1.1', '/index.html' #1 node = win.get('#url') p node.window #2 ---------- Crashes at #2, if I'll comment #1, all works as expected Not looks very useful for understanding, yeah? :-\ V.