Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3257
| From | Grant Schoep <gschoep@digitalglobe.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Ruby app core dump on shutdown |
| Date | 2011-04-20 12:29 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <d820c7bc9c9b2ac3576e78f26533b344@ruby-forum.com> (permalink) |
So my work computers are down for part of the day I thought I would post a question on a problem that I have been really trying to track down. I have a Ruby/GTK that runs fine through out is operations. But will segv and core on shutdown. This is an OS level core, not a "ruby core" where it gives a Ruby like stack trace. I'm using Ruby 1.9.2p-180(I was on older but tried to uprade) Running on RHEL 5.4. My basic question, I am very familier with debugging core files with gdb on C/C++ applications, but of course the Ruby core files are not as helpful. My gut feel of this problem, is it is in one of my C extensions. But I am wondering how some of you have dealt with really tracking down what is going on. I have the feeling the problem is in garbage collection, since it happens after my last statement in my application. I run in VERBOSE and DEBUG, bot nothing stands out. I've also ran under valgrind, but its really hard to tell what a normal ruby warnings and not. I've even tried to build up a "Good valgrind Ruby suppression" file by making apps that I know have absolutly no problems. So anyone have a tip or pointer or other cool tool to really try to figure out what/where the problem is. This application runs perfectly fine under Ruby 1.8.6, but when I went up to Ruby 1.9.2, made the small neccesary chages, it will crash at shutdown. Thanks -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
Ruby app core dump on shutdown Grant Schoep <gschoep@digitalglobe.com> - 2011-04-20 12:29 -0500
Re: Ruby app core dump on shutdown andrew mcelroy <sophrinix@gmail.com> - 2011-04-20 12:59 -0500
Re: Ruby app core dump on shutdown Roger Pack <rogerpack2005@gmail.com> - 2011-04-20 14:04 -0500
Re: Ruby app core dump on shutdown Grant Schoep <matobinder@gmail.com> - 2011-04-21 16:14 -0500
csiph-web