[#5219] Segmentation fault in timeout.rb — Michel Pastor <K@...>

Hi,

18 messages 2005/06/16
[#5220] Re: Segmentation fault in timeout.rb — Eric Hodel <drbrain@...7.net> 2005/06/16

[#5221] Re: Segmentation fault in timeout.rb — Michel Pastor <K@...> 2005/06/16

On Fri, 17 Jun 2005 05:03:18 +0900

[#5223] Re: Segmentation fault in timeout.rb — nobu.nokada@... 2005/06/17

Hi,

[#5296] Subversion — Shugo Maeda <shugo@...>

Hi,

64 messages 2005/06/30
[#5297] Re: Subversion — Curt Hibbs <curt@...> 2005/06/30

Shugo Maeda wrote:

[#5298] Re: Subversion — Nikolai Weibull <mailing-lists.ruby-core@...> 2005/06/30

Curt Hibbs wrote:

[#5301] Re: Subversion — Austin Ziegler <halostatue@...> 2005/06/30

On 6/30/05, Nikolai Weibull

[#5304] Re: Subversion — Nikolai Weibull <mailing-lists.ruby-core@...> 2005/06/30

Austin Ziegler wrote:

[#5305] Re: Subversion — Austin Ziegler <halostatue@...> 2005/06/30

On 6/30/05, Nikolai Weibull

[#5307] Re: Subversion — mathew <meta@...> 2005/06/30

Austin Ziegler wrote:

[#5308] Re: Subversion — Austin Ziegler <halostatue@...> 2005/06/30

On 6/30/05, mathew <meta@pobox.com> wrote:

[#5311] Re: Subversion — mathew <meta@...> 2005/07/01

Austin Ziegler wrote:

[#5323] Re: Subversion — Austin Ziegler <halostatue@...> 2005/07/01

On 7/1/05, mathew <meta@pobox.com> wrote:

[#5325] Re: Subversion — Nikolai Weibull <mailing-lists.ruby-core@...> 2005/07/01

Austin Ziegler wrote:

Re: [ ruby-Bugs-2038 ] ruby 1.8 CVS do not work with --enable-pthread configure option

From: Hugh Sasse <hgs@...>
Date: 2005-06-16 16:55:35 UTC
List: ruby-core #5213
On Thu, 16 Jun 2005, Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: [ ruby-Bugs-2038 ] ruby 1.8 CVS  do not work with --enable-pthread configure option"
>    on Thu, 16 Jun 2005 20:02:19 +0900, noreply@rubyforge.org writes:
>
> |Submitted By: Ville Mattila (mulperi)
> |Summary: ruby 1.8 CVS  do not work with --enable-pthread configure option
> |
> |Initial Comment:
> |The compilation fails to rbconfig.rb generation.
> |If don't use --enable-phtread the ruby compiles just find.
>
> What kind of errors do you get?
>
> 							matz.

If it is any use, on Solaris 9 I get

gcc -g -O2   -I. -I.  -c ./missing/isinf.c
gcc -g -O2   -I. -I.  -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o flock.o isinf.o  dmyext.o
gcc -g -O2   -I. -I.  -c main.c
gcc main.o  libruby-static.a -lrt -lpthread -ldl -lcrypt -lm   -o miniruby -g -O2    -Wl,-E
./mkconfig.rb:39: [BUG] Bus Error
ruby 1.8.3 (2005-06-16) [sparc-solaris2.9]

gmake: *** [.rbconfig.time] Abort (core dumped)
brains hgs 24 %>

using the stable snapshot and :-
autoconf; configure --enable-pthread ; gmake

I'm not sure how to extract more info from the resulting core file

maybe....

brains hgs 27 %> gdb miniruby core
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.9"...
Core was generated by `./miniruby ./mkconfig.rb -timestamp=.rbconfig.time -install_name=ruby -so_name='.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Loaded symbols for /usr/lib/libcrypt_i.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmd5.so.1...done.
Loaded symbols for /usr/lib/libmd5.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
#0  0xff29e42c in _lwp_kill () from /usr/lib/libc.so.1
(gdb) where
#0  0xff29e42c in _lwp_kill () from /usr/lib/libc.so.1
#1  0xff24cd78 in raise () from /usr/lib/libc.so.1
#2  0xff235c68 in abort () from /usr/lib/libc.so.1
#3  0x0009b9dc in rb_bug (fmt=0x2d <Address 0x2d out of bounds>) at error.c:214
(gdb)


But the original poster was on Solaris 8.

         HTH
         Hugh

In This Thread

Prev Next