[#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: Segmentation fault in timeout.rb

From: Michel Pastor <K@...>
Date: 2005-06-19 19:18:45 UTC
List: ruby-core #5253
On Mon, 20 Jun 2005 02:06:36 +0900
nobu.nokada@softhome.net wrote:

>   $ ruby -e 'p [0x202d2020, 0x6b636f6c, 1652043808, 1630680375,
  979578930, 1853190688, -1073872838, 134667905].pack("V*").split(/\0/,2)[0]'
  "  - lock 0xb752a20c: run:"

Could you please explain a little this test, I am curious
 
> Could you show *(curr->next) and *(curr->next->node) instead?

(gdb) p *(curr->next)
$10 = {next = 0x8109f38, prev = 0x82fbd00, context = {{__jmpbuf = {-1208518304, 96, 3951, -1209671504, -1217768592, -1073748120}, __mask_was_saved = 134598989, __saved_mask = {__val = {3951, 3951, 3221219160, 
          134949991, 7273, 0, 3221219176, 3085261372, 7273, 3221219192, 3221219208, 134555027, 3085258832, 1, 3221219344, 7273, 7273, 3085261372, 3221219856, 0, 3085228132, 0, 0, 41901, 3221219236, 
          3221219296, 3221219272, 3, 3221219300, 3085261372, 3085259932, 7273}}}}, result = 0, stk_len = 0, stk_max = 0, stk_ptr = 0x0, stk_pos = 0xbffee42c, frame = 0x0, scope = 0x0, dyna_vars = 0x0, 
  block = 0x0, iter = 0x0, tag = 0x0, klass = 0, wrapper = 0, cref = 0xb7dfd244, flags = 0, node = 0xbfffe880, tracing = 0, errinfo = 4, last_status = 0, last_line = 0, last_match = 4, safe = 1, 
  status = THREAD_RUNNABLE, wait_for = 0, fd = -1209706464, readfds = {__fds_bits = {0 <repeats 32 times>}}, writefds = {__fds_bits = {0 <repeats 32 times>}}, exceptfds = {__fds_bits = {
      0 <repeats 32 times>}}, select_value = 0, delay = 0, join = 0x0, abort = 0, priority = 0, thgroup = 3077196864, locals = 0x0, thread = 3075645964}

(gdb) p *(curr->next->node)
$11 = {flags = 3084207380, nd_file = 0x1 <Address 0x1 out of bounds>, u1 = {node = 0xbfffe8a8, id = 3221219496, value = 3221219496, cfunc = 0xbfffe8a8, tbl = 0xbfffe8a8}, u2 = {node = 0x8078366, 
    id = 134710118, argc = 134710118, value = 134710118}, u3 = {node = 0xb7e55050, id = 3085258832, state = -1209708464, entry = 0xb7e55050, cnt = -1209708464, value = 3085258832}}

- Michel

In This Thread