Actions
Bug #10992
closed*** Error in `ruby': double free or corruption (fasttop): 0x00007fdc088fd5e0 ***
    Bug #10992:
    *** Error in `ruby': double free or corruption (fasttop): 0x00007fdc088fd5e0 ***
  
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
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
  
        
          
          Updated by nobu (Nobuyoshi Nakada) over 10 years ago
          
          
        
        
      
      - Status changed from Open to Feedback
 
Please show the error log.
        
          
          Updated by elserpiente (Max Power) over 10 years ago
          
          
        
        
      
      
        
          
          Updated by nobu (Nobuyoshi Nakada) over 10 years ago
          
          
        
        
      
      Seems inside the postgresql driver.
        
          
          Updated by nobu (Nobuyoshi Nakada) over 10 years ago
          
          
        
        
      
      - Status changed from Feedback to Third Party's Issue
 
        
          
          Updated by elserpiente (Max Power) over 10 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.
Actions