Bug #7703

Segfault in 1.9.3-p362, possibly threads related

Added by riscfuture (Tim Morgan) almost 7 years ago. Updated 3 months ago.

Target version:
ruby -v:
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.1]


I can consistently cause a segfault in p362 that does not occur in p327 in my Rails project. From the stack trace it seems to be related to threads and yield. Unfortunately the code is for my company, Square, so it's a trade secret, but I can answer questions and run tests for you. In the attachments I have included verbose set_trace_func output, but the presence or absence of set_trace_func does not alter the crash.

Mac OS X 10.8.2, Xcode command line tools, RVM


console-output.txt (164 KB) console-output.txt Output from ruby to STDOUT/STDERR after segfault riscfuture (Tim Morgan), 01/16/2013 10:25 AM
crashlog.txt (46.5 KB) crashlog.txt OSX crash log riscfuture (Tim Morgan), 01/16/2013 10:25 AM
set-trace-func-tail.txt (2.65 KB) set-trace-func-tail.txt The last few set_trace_func outputs riscfuture (Tim Morgan), 01/16/2013 10:25 AM
gdb-output.txt (5.71 KB) gdb-output.txt Output from gdb `bt` command riscfuture (Tim Morgan), 01/16/2013 10:25 AM


Updated by normalperson (Eric Wong) almost 7 years ago

"riscfuture (Tim Morgan)" wrote:

Issue #7703 has been reported by riscfuture (Tim Morgan).

Bug #7703: Segfault in 1.9.3-p362, possibly threads related

This is probably the same bug fixed in p363 (unreleased)

Hopefully a new 1.9.3 release will come soon (meanwhile you can
use SVN or the git mirror).

Updated by ko1 (Koichi Sasada) over 6 years ago

  • Assignee set to usa (Usaku NAKAMURA)
  • Target version set to 1.9.3

Updated by usa (Usaku NAKAMURA) over 6 years ago

  • Status changed from Open to Feedback

p374 will help you.


Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version changed from 1.9.3 to 2.6

Updated by naruse (Yui NARUSE) almost 2 years ago

  • Target version deleted (2.6)

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF