Issue #5986 has been updated by Luis Matta.

File AATest.7z added

This simple project fails (and I can share its code), and It makes me wonder if the failure is just that Ruby is allowing a stack overflow error cause a segmentation fault:

$ thin -V -D start
>> Using rack adapter
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Tracing ON
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
GET /admin HTTP/1.1
Host: localhost:3000
Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://localhost:3000/admin
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,pt-BR;q=0.6
Accept-Charset: UTF-8,*;q=0.5
Cookie: _AATest_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRkkiJTk5MDMwYWZmZWE2OTgwNjBmZTVkZTQxNzk1ODQ5MzYyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTBEZHlTMnduNTM4N3htL2FUMEEwcmUrV2cya2dkVitZMFlPbFFkVS9FM289BjsARkkiH3dhcmRlbi51c2VyLmFkbWluX3VzZXIua2V5BjsAVFsISSIOQWRtaW5Vc2VyBjsARlsGaQZJIiIkMmEkMTAkYm1uNEZFN2p4RG9BN0NSamp1aW1XdQY7AFRJIgpmbGFzaAY7AEZvOiVBY3Rpb25EaXNwYXRjaDo6Rmxhc2g6OkZsYXNoSGFzaAk6CkB1c2VkbzoIU2V0BjoKQGhhc2h7BjoKYWxlcnRUOgxAY2xvc2VkRjoNQGZsYXNoZXN7BjsKSSIfWW91IGFyZSBhbHJlYWR5IHNpZ25lZCBpbi4GOwBUOglAbm93MA%3D%3D--38c24a3f709dec34d314247c336f4132de3a3557

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
X-UA-Compatible: IE=Edge
ETag: "84b316f2ca5bac58156ce0a5e6d7dc43"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _AATest_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTk5MDMwYWZmZWE2OTgwNjBmZTVkZTQxNzk1ODQ5MzYyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMTBEZHlTMnduNTM4N3htL2FUMEEwcmUrV2cya2dkVitZMFlPbFFkVS9FM289BjsARkkiH3dhcmRlbi51c2VyLmFkbWluX3VzZXIua2V5BjsAVFsISSIOQWRtaW5Vc2VyBjsARlsGaQZJIiIkMmEkMTAkYm1uNEZFN2p4RG9BN0NSamp1aW1XdQY7AFQ%3D--bb7255eb79a5aa847599cd80a9c77664ad470fb1; path=/; HttpOnly
X-Request-Id: f51c7312667349ecf82a3460b860edeb
X-Runtime: 0.177047
Connection: close
Server: thin 1.3.1 codename Triple Espresso

!! Unexpected error while processing request: stack level too deep
stack level too deep
	/home/levmatta/.rvm/gems/ruby-1.9.3-p0@play1/gems/activeadmin-0.4.0/lib/active_admin/arbre/html/element.rb:148
----------------------------------------
Bug #5986: Segmentation Fault
https://bugs.ruby-lang.org/issues/5986

Author: Luis Matta
Status: Feedback
Priority: Low
Assignee: 
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p68 (2012-02-08 revision 34493) [x86_64-linux]


Simply trying to render the home page of active-admin.

I have tested this on Ubuntu 10.04 LTS 64bits, using rvm ruby 1.9.3-head (with and without "rvm pkg install openssl"), and 1.9.2-head.
The structure: Nginx 1.0.11 (using ppa), RVM, Thin 1.3.1, Rails 3.2.1, ActiveAdmin 0.4, and stuff.
I am using SSL with a custom self-signed Certification Authority.

Thanks
(Since this broke my new production environment I have set it to Urgent - apologies if it is an abuse)


-- 
http://bugs.ruby-lang.org/