cldwalker / debugger

port of ruby-debug that works on 1.9.2 and 1.9.3
BSD 2-Clause "Simplified" License
846 stars 80 forks source link

Ruby 2.1.0 segmentation fault with debugger #114

Closed nguyenchiencong closed 10 years ago

nguyenchiencong commented 10 years ago

When run: rails s thin --debugger

sometimes, I have a ruby segmentation fault:

... [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html

Aborted (core dumped)

Without the debugger, everything run fine. Any clues?

Rbevn, ruby 2.1.0, rails 3.2.16

Thanks

cldwalker commented 10 years ago

Thanks for reporting your issue! This is one of my 15 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.

cldwalker commented 10 years ago

Full ruby 2 support isn't available on debugger. See #47, #69 and this comment. I'm not actively working on this. Although this issue is unlikely to help get debugger to ruby2, I'll leave it open for any segfault related issues.

erez-rabih commented 10 years ago

Got the same here. Mac OS, RVM, Ruby2.1 and debugger 1.6.5

fotinakis commented 10 years ago

Same here, would love to see support for this.

erez-rabih commented 10 years ago

Just thought it should be mentioned here that byebug is a drop-in replacement for the debugger gem for ruby 2.x

cldwalker commented 10 years ago

Closing since I'm scoping debugger to just 1.9.2 and 1.9.3. For more see https://github.com/cldwalker/debugger/issues/125#issuecomment-43353446