[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ruby1.8: threaded code segfaults under kfreebsd-*



retitle 674541 ruby1.8: when compiled by gcc-4.7 threaded code segfaults under kfreebsd-*
affects 674541 gcc-4.7
--


Hi,

I tried to reproduce under my 2-way SMP.

kfreebsd-image-8.1-1-amd64             8.1+dfsg-8+squeeze2
CPU - Intel(R) Core(TM)2 Duo CPU     E6750

1000 rounds OK:
libc0.1         2.11.2-10.2thr
ruby1.8         1.8.7.302-2squeeze1

1000 rounds OK:
libc0.1         2.13-27
ruby1.8         1.8.7.352-2

1000 rounds OK:
libc0.1         2.13-32
ruby1.8         1.8.7.352-2


When I compiled ruby1.8 1.8.7.358-2 under current sid,
(using gcc-4.7) the resulting binary crashes 7/1000.

When I compiled ruby1.8 1.8.7.358-2 under current sid,
but using gcc-4.6, the resulting binary runs again the snippet correctly.

I do not know, whether the real bug is in gcc4.7 or in ruby1.8 code base.

Please, could you verify, whether gcc-4.6 also helps on 4-way SMP ?

Cheers

		Petr


Reply to: