Actions
Bug #12727
closedSegfault when subclassing Thread with bad initialize
Description
I imagine that this is a really unlikely problem to encounter in real code, but...
class MyThing < Thread
def initialize
raise
end
end
MyThing.new do
loop do
puts "hello"
sleep(1)
end
end
sleep
Produces a segfault for me, and I've had someone else confirm as well.
Updated by sandal (Gregory Brown) over 8 years ago
- Subject changed from Segfault when subclassing Thread to Segfault when subclassing Thread with bad initialize
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Is duplicate of Bug #11959: Segfault during `exit' in thread initialize (Extended class). added
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Status changed from Open to Rejected
Actions
Like0
Like0Like0Like0