[#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

From: ville.mattila@...
Date: 2005-06-16 17:56:15 UTC
List: ruby-core #5217

>From: Hugh Sasse <hgs@dmu.ac.uk>
>Date: 16.06.2005 20:39:15
>Subject: Re: [ ruby-Bugs-2038 ] ruby 1.8 CVS  do not work with
>
>On Fri, 17 Jun 2005, ville.mattila@stonesoft.com wrote:
>
>>
>>
>>> From: Hugh Sasse <hgs@dmu.ac.uk>
>>>
>>> But the original poster was on Solaris 8.
>>
>>
>>  I got similar results on solaris 8. However I didn't get the BUS error.
>> The mkconfig.rb just silently stopped.
>>  Maybe this result of recent rb_thread_exit addition? Does it handle
>> pthread usage correctly?
>
>Have you got gdb or dbx to examine the core file from miniruby
>(mkconfig may fail, but `file core` tells me it is a core file from
>miniruby)?

  I tried again and now I got better errors:


gcc main.o  libruby-static.a -lrt -lpthread -ldl -lcrypt -lm   -o miniruby
-g -O2
../mkconfig.rb:38: [BUG] Bus Error
ruby 1.8.3 (2005-06-16) [sparc-solaris2.8]

make: *** [.rbconfig.time] Abort (core dumped)

/usr/local/bin/gdb miniruby core
GNU gdb 6.1
Copyright 2004 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.8"...
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/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
#0  0xff1992f0 in __sigprocmask () from /usr/lib/libthread.so.1
(gdb) bt
#0  0xff1992f0 in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xff18e59c in _resetsig () from /usr/lib/libthread.so.1
#2  0xff18dd3c in _sigon () from /usr/lib/libthread.so.1
#3  0xff190d98 in _thrp_kill () from /usr/lib/libthread.so.1
#4  0xff24bcf4 in raise () from /usr/lib/libc.so.1
#5  0xff23598c in abort () from /usr/lib/libc.so.1
#6  0x0009b6d8 in rb_bug (fmt=0xb3b08 "Bus Error") at ../error.c:214
#7  0x0007b7f8 in sigbus (sig=10) at ../signal.c:437
#8  0xff19b220 in __sighndlr () from /usr/lib/libthread.so.1
#9  <signal handler called>
Cannot access memory at address 0x74
>>
>

 It seems like a wrong pthread thread is exited?

 - Ville




In This Thread

Prev Next