Project

General

Profile

Bug #10992

*** Error in `ruby': double free or corruption (fasttop): 0x00007fdc088fd5e0 ***

Added by elserpiente (Max Power) about 4 years ago. Updated about 4 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
[ruby-core:<unknown>]

Description

Hi,

I'm developing rails application and for my tests I use capybara (selenium driver). Running 'rake test' (or 'rake test test/units/capybara_test.rb' command might end up in such issue. I noticed it fails in capybara tests. I want to point out the rate of happening of this issue may vary. Sometimes it happens 1/10 of running of tests, sometimes 9/10.

my uname -a:
Linux egg 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

History

#1

Updated by nobu (Nobuyoshi Nakada) about 4 years ago

  • Status changed from Open to Feedback

Please show the error log.

#2

Updated by elserpiente (Max Power) about 4 years ago

Nobuyoshi Nakada wrote:

Please show the error log.

here is logs http://pastebin.com/Nw58Qs8a

#3

Updated by nobu (Nobuyoshi Nakada) about 4 years ago

Seems inside the postgresql driver.

#4

Updated by nobu (Nobuyoshi Nakada) about 4 years ago

  • Status changed from Feedback to Third Party's Issue
#5

Updated by elserpiente (Max Power) about 4 years ago

Sorry, my bad. I used hacky way in order to force capybara use same transaction among threads. https://github.com/jnicklas/capybara#transactions-and-database-setup.
After removing this code the issue goes away.

Also available in: Atom PDF