Project

General

Profile

Actions

Bug #1092

closed

miniruby cause SEGV on x64-mswin64_90

Added by usa (Usaku NAKAMURA) about 15 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [x64-mswin64_90]
Backport:
[ruby-core:21776]

Description

=begin
(this issue is reported by )

I tried to register with redmine to file this bug but the system would not let me login. Since your name is associated with this bug I decided to directly email the details to you.

I am trying to compile Ruby 1.9.1-p0 on Windows Server 2008 X64 using Visual Studio 2008. Here are the commands I execute to run the build:

cd ruby-1.9.1-p0
win32\configure.bat --prefix=c:\ruby --target=x64-mswin64
"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"

The compile fails here:

----- cut here -----
Creating library miniruby.lib and object miniruby.exp
miniruby.exe -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [x64-mswin64_90]
mt -nologo -manifest miniruby.exe.manifest -outputresource:miniruby.exe;
2
.\miniruby.exe: [BUG] Segmentation fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [x64-mswin64_90]

-- control frame ----------
c:174795479500980226 p:-795976 s:17179869188 b:40697744 l:174795479500980227 d:1
74795479500980227 TOP
c:174795788738625537 p:0000 s:8589934594 b:40697816 l:26cffd800002320 d:26cffd80
0002320 TOP

-- 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

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x3'
Stop.
----- cut here -----

I looked in the redmine bug database and believe that my issue is covered by Bug 1036. I notice that this bug has been changed from open to feedback. Since I am having the same issue, can we move it back to open? I would like to be working with ruby 1.9.1-p0 instead of rc1.

Thank you very much,

~/Ramsey Dow
=end

Actions #1

Updated by phasis68 (Heesob Park) about 15 years ago

=begin
This is not a bug.
You tried to build 64bit ruby with 32bit compiler. If you didn't specify the target, you will succeed to build 32bit ruby.

There are several command prompts in Visual Studio 2008 Tools.
You should not run Visual Studio 2008 Command Prompt but run Visual Studio 2008 x64 Win64 Command Prompt to run 64bit compiler.

=end

Actions #2

Updated by usa (Usaku NAKAMURA) over 14 years ago

  • Status changed from Open to Rejected

=begin
So, not a bug.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0