Project

General

Profile

Actions

Bug #4332

closed

Some seemingly random segfaults

Added by meh. (meh. I don't care) almost 14 years ago. Updated about 12 years ago.

Status:
Third Party's Issue
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
Backport:
[ruby-core:34908]

Description

=begin
With my application https://github.com/meh/failirc/tree/223b01554601835cdfd45c6d20e8aeac3445bdbf I'm getting various segfaults and aborts, got 4 different explosions, I'm attaching them.

I know it's not the last ruby version but I can't get a newer one at the moment, but I had the same kind of errors since the first versions of the 1.9 branch (it's written for 1.9+ only) so I guess it hasn't been fixed in the meantime.

I can't get a reduced test case either, so well, I know this bug will be pretty useless because of its random nature.

It happens after some time it's been booted and 10/20 people are connected, with less people it happens after lot more time if not at all.
=end


Files

1 (5.23 KB) 1 meh. (meh. I don't care), 01/28/2011 06:50 AM
2 (11.8 KB) 2 meh. (meh. I don't care), 01/28/2011 06:50 AM
3 (3.02 KB) 3 meh. (meh. I don't care), 01/28/2011 06:50 AM
4 (7.92 KB) 4 meh. (meh. I don't care), 01/28/2011 06:50 AM

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Open to Assigned
  • Assignee set to nahi (Hiroshi Nakamura)
Actions #2

Updated by nahi (Hiroshi Nakamura) over 13 years ago

  • Target version set to 1.9.3
Actions #3

Updated by nahi (Hiroshi Nakamura) over 13 years ago

  • Status changed from Assigned to Feedback
  • Target version changed from 1.9.3 to 2.0.0

Meh, sorry for late response.

I tried failircd with the latest ruby (1.9.3dev of today) but it seems to work with 1 or 2 clients. I don't have a way to run multiple IRC clients on my machine... And according to the source, it uses openssl-nonblock but only for 1.9.1, and no other C extension seems to be loaded.

I know you wrote you could not create a smaller testcase to reproduce so would you please try other environments to run failircd? Does it work with the latest 1.9.2 patch release? Does it work with 1.9.3dev? How about other OSs?

I mark this issue 'Feedback' since I cannot reproduce the error and I don't know a way to debug at this moment.

Updated by meh. (meh. I don't care) over 12 years ago

Sorry for the even later response, the issue wasn't MRI related, apparently it was the versionomy gem doing some weird stuff from a C extension.

I found out because I was having the same issue with another program that was using versionomy, I just wrote my own gem to do that stuff and everything went nicely.

Updated by nahi (Hiroshi Nakamura) about 12 years ago

  • Status changed from Feedback to Third Party's Issue

Thanks for the confirmation. Closing.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0