Project

General

Profile

Actions

Bug #2309

closed

Segfault, repeatable testcase, possibly related to [2295], [2019], [1937].

Added by jxtps (Jxtps 435) about 15 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175) [x86_64-linux]
[ruby-core:26422]

Description

=begin
Ruby 1.9.1 segfaults when calling ActiveRecord::Base.transaction, dump attached (that's what the line with the error does).

Testcase is very repeatable (happens every time I run my specs), but slightly non-deterministic: changing a few lines of code will change in which particular test it happens (multiple tests go through the same code-path, doesn't always happen every time you go through the same path), and though it is usually in the same spot in the code it has sometimes happened in other spots (deeper within the same call-chain).

Unfortunately the code is for a commercial project and I can't share it. Sorry. I can work with someone from the ruby-core community to e.g. run debug versions of ruby on the test case if that is of use.

Environment:

  • Ubuntu 9.04 on a basic intel box
  • Rails 2.3.4
  • DB: PostgreSQL, with ruby-pg binding

*** LOCAL GEMS ***

aasm (2.1.3)
actionmailer (2.3.4)
actionpack (2.3.4)
activerecord (2.3.4)
activeresource (2.3.4)
activesupport (2.3.4)
bluecloth (2.0.5)
builder (2.1.2)
capistrano (2.5.9)
cucumber (0.3.104, 0.3.103)
diff-lcs (1.1.2)
fastthread (1.0.7)
gemcutter (0.1.6)
haml (2.2.5)
highline (1.5.1)
hoe (2.3.3)
hpricot (0.8.1)
json (1.1.9)
json_pure (1.1.9)
mislav-will_paginate (2.3.11)
net-scp (1.0.2)
net-sftp (2.0.2)
net-ssh (2.0.15)
net-ssh-gateway (1.0.1)
nokogiri (1.3.3)
passenger (2.2.5)
pg (0.8.0)
polyglot (0.2.9)
postgres-pr (0.6.1)
rack (1.0.0)
rails (2.3.4)
rake (0.8.7)
right_aws (1.10.0)
right_http_connection (1.2.4)
rspec (1.2.8)
rspec-rails (1.2.7.1)
rubyforge (2.0.0)
rubygems-update (1.3.5)
spork (0.7.2)
syntax (1.0.0)
term-ansicolor (1.0.4)
test-unit (2.0.3, 1.2.3)
treetop (1.4.2)
webrat (0.5.3)
=end


Files

stack_trace.txt (11.5 KB) stack_trace.txt jxtps (Jxtps 435), 10/30/2009 09:13 AM
core_dump_backtrace.txt (13.9 KB) core_dump_backtrace.txt gdb where output jxtps (Jxtps 435), 11/04/2009 11:48 AM
ruby_stack_trace_for_core_dump.txt (31.2 KB) ruby_stack_trace_for_core_dump.txt ruby's dump when crashing jxtps (Jxtps 435), 11/04/2009 11:48 AM

Related issues 3 (0 open3 closed)

Related to Backport191 - Bug #2295: segmentation faultsClosedActions
Related to Backport191 - Bug #2019: Segmentation fault in ruby 1.9.1-p243 on second requestRejected08/31/2009Actions
Related to Backport191 - Bug #1937: ruby 1.9.1p243 (2009-07-16 revision 24175) [x86_64-linux] seg.faultClosednobu (Nobuyoshi Nakada)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0