[MacRuby] #722: Multiple Threads are causing Segmentation Faults
#722: Multiple Threads are causing Segmentation Faults ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- This little script causes segmentation faults on my machine (unibody MacBook with Core 2 Duo) (using the 0.6 release version) {{{ #!/usr/bin/env macruby framework 'calendarstore' 50.times do Thread.new do loop do pred = CalCalendarStore.eventPredicateWithStartDate(NSDate.date, endDate:NSDate.date, calendars:CalCalendarStore.defaultCalendarStore.calendars) CalCalendarStore.defaultCalendarStore.eventsWithPredicate(pred) sleep 1 end end end sleep 1 }}} Most common is this error: {{{ $ ./test.rb unknown: [BUG] Segmentation fault MacRuby version 0.6 (ruby 1.9.0) [universal-darwin10.0, x86_64] Abort trap }}} but I get this as well: {{{ $ ./test.rb SEGV recieved in SEGV handler unknown: SEGV recieved in SEGV handler }}} Since the programm exits on the seg fault, I didn't manage to get a backtrace with macrubyd. -- Ticket URL: <http://www.macruby.org/trac/ticket/722> MacRuby <http://macruby.org/>
#722: Multiple Threads are causing Segmentation Faults ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by jankassens@…): caius posted a crash report: https://gist.github.com/7f75c2aa6bd1544befab -- Ticket URL: <http://www.macruby.org/trac/ticket/722#comment:1> MacRuby <http://macruby.org/>
#722: Multiple Threads are causing Segmentation Faults ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by watson1978@…): This problem did not recur since r4181. Please check this problem. -- Ticket URL: <http://www.macruby.org/trac/ticket/722#comment:4> MacRuby <http://macruby.org/>
#722: Multiple Threads are causing Segmentation Faults ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by martinlagardette@…): r4181 seems to fix it for me too :-). We'll just wait for input from the originator :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/722#comment:5> MacRuby <http://macruby.org/>
#722: Multiple Threads are causing Segmentation Faults ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by jankassens@…): Yep, I can't reproduce the bug with the current trunk. -- Ticket URL: <http://www.macruby.org/trac/ticket/722#comment:6> MacRuby <http://macruby.org/>
#722: Multiple Threads are causing Segmentation Faults ----------------------------------+----------------------------------------- Reporter: jankassens@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Perfect! Closing :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/722#comment:7> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby