Project

General

Profile

Actions

Bug #1777

closed

<main>:330: [BUG] Segmentation fault

Added by elbuzzer (Alexandre Quintela) over 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
[ruby-core:24326]

Description

=begin
About your application's environment
Ruby version 1.9.1 (i386-mingw32)
RubyGems version 1.3.4
Rack version 1.0 bundled
Rails version 2.3.2
Active Record version 2.3.2
Action Pack version 2.3.2
Active Resource version 2.3.2
Action Mailer version 2.3.2
Active Support version 2.3.2
Application root E:/projetos/mysqlapp
Environment development
Database adapter mysql
Database schema version 0

:330: [BUG] Segmentation fault ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]

-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:0018c4 d:0018c4 TOP :330

-- Ruby level backtrace information-----------------------------------------

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
=end


Related issues 1 (0 open1 closed)

Related to Backport191 - Bug #2977: Segmaentation faultThird Party's Issue03/18/2010Actions
Actions #1

Updated by luislavena (Luis Lavena) over 14 years ago

=begin
This sounds more a MySQL/Ruby binding error than Ruby itself.

Also, please provide a minimal test case, not the output of your Rails application.

From my experience, this sounds like a mismatch between MySQL and the Ruby binding. Can you tell us which version of MySQL are you using?
=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) over 14 years ago

  • Status changed from Open to Feedback

=begin

=end

Actions #3

Updated by jonathan013 (Jonathan Seder) over 14 years ago

=begin
I get this error too. Minimal test case Ruby program is this one line:
require 'mysql'

10:58:03 > mysql --version
mysql Ver 14.14 Distrib 5.1.32, for Win32 (ia32)

10:58:30 > ruby --version
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

10:58:49 > gem list
*** LOCAL GEMS ***
[snip]
mysql (2.7.3)
[snip]

Console error listing:
10:57:30 > ruby mysqlbug.rb
c:/program files/ruby/lib/ruby/gems/1.9.1/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so: [BUG] Segmentation fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

-- control frame ----------
c:0005 p:-2956294 s:0012 b:0012 l:000011 d:000011 TOP
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require
c:0003 p:0011 s:0006 b:0006 l:0005a4 d:0005b4 EVAL mysqlbug.rb:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0005a4 d:0005a4 TOP :367

-- Ruby level backtrace information-----------------------------------------
mysqlbug.rb:2:in require' mysqlbug.rb:2:in '

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
=end

Actions #4

Updated by luislavena (Luis Lavena) over 14 years ago

=begin
On Wed, Aug 12, 2009 at 3:00 PM, Jonathan Seder wrote:

Issue #1777 has been updated by Jonathan Seder.

I get this error too.  Minimal test case Ruby program is this one line:
  require 'mysql'

10:58:03 > mysql --version
mysql  Ver 14.14 Distrib 5.1.32, for Win32 (ia32)

10:58:30 > ruby --version
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

10:58:49 > gem list
*** LOCAL GEMS ***
[snip]
mysql (2.7.3)
[snip]

First: binary mysql gem 2.7.3 will not work with 1.9.1, you need 2.8.1

Second: binary mysql gem links against 5.0.xx version of MySQL, and
there is a API incompatibility with 5.1.xx.

I've commented about this over ruby-talk and also on this post:

http://blog.mmediasys.com/2009/07/06/getting-started-with-rails-and-mysql/

--
Luis Lavena
AREA 17

Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

=end

Actions #5

Updated by naruse (Yui NARUSE) over 14 years ago

  • Status changed from Feedback to Rejected

=begin
Third Party's Issue.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0