Forum: Ruby-core [ruby-trunk - Bug #5619][Open] Segfault on OS X

C7625e091b5e89341fa1ed0be5d859fb?d=identicon&s=25 Otto Hilska (Guest)
on 2011-11-11 15:18
(Received via mailing list)
Issue #5619 has been reported by Otto Hilska.

----------------------------------------
Bug #5619: Segfault on OS X
http://redmine.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
02da662c083396641da96c1d32fc86ed?d=identicon&s=25 Motohiro KOSAKI (Guest)
on 2011-11-11 19:07
(Received via mailing list)
Issue #5619 has been updated by Motohiro KOSAKI.


Seems memory curruption issue.
Can you try valgrind or other memory error detection tools?

----------------------------------------
Bug #5619: Segfault on OS X
http://redmine.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2011-11-12 09:41
(Received via mailing list)
Issue #5619 has been updated by Nobuyoshi Nakada.


Seems libxml related finalizer issue.

----------------------------------------
Bug #5619: Segfault on OS X
http://redmine.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
C7625e091b5e89341fa1ed0be5d859fb?d=identicon&s=25 Otto Hilska (Guest)
on 2011-11-13 12:27
(Received via mailing list)
Issue #5619 has been updated by Otto Hilska.

File valgrind-log.txt added

Here's what I get running valgrind. Let me know if I should enable some
extra checks.
----------------------------------------
Bug #5619: Segfault on OS X
http://redmine.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
02da662c083396641da96c1d32fc86ed?d=identicon&s=25 KOSAKI Motohiro (Guest)
on 2011-11-13 17:51
(Received via mailing list)
> File valgrind-log.txt added
>
> Here's what I get running valgrind. Let me know if I should enable some extra
checks.

Hmmm.. This seems to don't have a useful hint.
87173a37d2b301a20a55ac042aaf6444?d=identicon&s=25 Valentin Mihov (Guest)
on 2011-11-14 14:49
(Received via mailing list)
Issue #5619 has been updated by Valentin Mihov.

File ruby_2011-11-14-154022_valo-mac.crash added
File crash_output.txt added

I verified the segmentation fault on the same version of OS X with ruby
1.9.3. I am attaching the crash report from OS X and the output on the
command line. I will try later to run it through valgrind and see if I
can find anything there...
----------------------------------------
Bug #5619: Segfault on OS X
http://redmine.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: -


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
7cca11c5257fda526eeb4b1ada28f904?d=identicon&s=25 Kenta Murata (Guest)
on 2012-03-11 08:47
(Received via mailing list)
Issue #5619 has been updated by Kenta Murata.

Assignee set to Kenta Murata


----------------------------------------
Bug #5619: Segfault on OS X
https://bugs.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee: Kenta Murata
Category:
Target version: 1.9.3
ruby -v: -


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
7cca11c5257fda526eeb4b1ada28f904?d=identicon&s=25 Kenta Murata (Guest)
on 2012-03-11 17:14
(Received via mailing list)
Issue #5619 has been updated by Kenta Murata.

Target version changed from 1.9.3 to 2.0.0
ruby -v changed from - to ruby 2.0.0dev (2012-03-10 trunk 34964)
[x86_64-darwin11.3.0]


----------------------------------------
Bug #5619: Segfault on OS X
https://bugs.ruby-lang.org/issues/5619

Author: Otto Hilska
Status: Open
Priority: Normal
Assignee: Kenta Murata
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-03-10 trunk 34964) [x86_64-darwin11.3.0]


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
7cca11c5257fda526eeb4b1ada28f904?d=identicon&s=25 mrkn (Kenta Murata) (Guest)
on 2013-01-07 16:01
(Received via mailing list)
Issue #5619 has been updated by mrkn (Kenta Murata).

Status changed from Assigned to Closed

I couldn't reproduce this issue on the latest trunk, r38731.
It may be fixed on the current trunk, I think.

----------------------------------------
Bug #5619: Segfault on OS X
https://bugs.ruby-lang.org/issues/5619#change-35270

Author: mutru (Otto Hilska)
Status: Closed
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-03-10 trunk 34964) [x86_64-darwin11.3.0]


When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.

Here's how to reproduce:

$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake

I've attached the command output and the crash report.

It seems it might be a nokogiri issue, but since nokogiri's own tests
run fine, I'm not sure.

This is my environment:

$ uname -a
Darwin becherovkax.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

It also happens with current 1.9.3-head (installed from RVM):
ruby 1.9.3p0 (2011-11-08 revision 33661) [x86_64-darwin11.2.0]

However, everything works fine on Linux.
This topic is locked and can not be replied to.