Segmentation fault zlib.so

P

Parv G.

Hi I'm getting the following error when I do "gem list":


C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

I'm running on Windows server 2008 64bit.

Has anybody run into similar problem?

Thanks in advance for your help.

Parvinder
 
P

Parv G.

Parv said:
Hi I'm getting the following error when I do "gem list":


C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

I'm running on Windows server 2008 64bit.

Has anybody run into similar problem?

Thanks in advance for your help.

Parvinder

If I do a "gem install <>" I see a different error:


C:/Ruby187/lib/ruby/1.8/i386-mingw32/openssl.so: [BUG] Segmentation
fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
 
L

Luis Lavena

Hi I'm getting the following error when I do "gem list":

C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

I'm running on Windows server 2008 64bit.

Has anybody run into similar problem?

Do you have any previous Ruby installation in the PATH?

A segmentation fault in zlib.so might indicate a version zlib1.dll
different than the one the extension is expecting.

Try "where zlib1.dll", if the directory shown by that is not C:
\Ruby187\bin then the file is not safe to be the one that ship with
RubyInstaller and should be removed.


HTH,
 
P

Parv G.

Luis said:
Hi I'm getting the following error when I do "gem list":

C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

I'm running on Windows server 2008 64bit.

Has anybody run into similar problem?

Do you have any previous Ruby installation in the PATH?

A segmentation fault in zlib.so might indicate a version zlib1.dll
different than the one the extension is expecting.

Try "where zlib1.dll", if the directory shown by that is not C:
\Ruby187\bin then the file is not safe to be the one that ship with
RubyInstaller and should be removed.


HTH,

Luis, thanks for the reply.

It does not seem like there is another version of zlib1.dll:
where zlib1.dll
C\Ruby187\bin\zlib1.dll

I checked the Path and didn't see any other ruby entries except for
'C:\Ruby187\bin'.

Part of the issue is that I did not see a gems directory after intalling
ruby (tried the 3 most recent windows installers).

Parvinder
 
L

Luis Lavena

Luis said:
Hi I'm getting the following error when I do "gem list":
C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
I'm running on Windows server 2008 64bit.
Has anybody run into similar problem?
Do you have any previous Ruby installation in the PATH?
A segmentation fault in zlib.so might indicate a version zlib1.dll
different than the one the extension is expecting.
Try "where zlib1.dll", if the directory shown by that is not C:
\Ruby187\bin then the file is not safe to be the one that ship with
RubyInstaller and should be removed.

Luis, thanks for the reply.

It does not seem like there is another version of zlib1.dll:>where zlib1.dll

C\Ruby187\bin\zlib1.dll

I checked the Path and didn't see any other ruby entries except for
'C:\Ruby187\bin'.

Part of the issue is that I did not see a gems directory after intalling
ruby (tried the 3 most recent windows installers).

This fails too?

ruby -ve "requite 'zlib'"

Does 'gem env' command fails too?

It is strange if no zlib1.dll is in the path, it is loading the wrong
one.

Do you have antivirus? it might be something that affected the
original zlib1.dll that is part of 1.8.7 release.

Did you use the installers?
 
D

Daniel Berger

Hi I'm getting the following error when I do "gem list":
C:/Ruby187/lib/ruby/1.8/i386-mingw32/zlib.so: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
I'm running on Windows server 2008 64bit.
Has anybody run into similar problem?

Do you have any previous Ruby installation in the PATH?

A segmentation fault in zlib.so might indicate a version zlib1.dll
different than the one the extension is expecting.

Try "where zlib1.dll", if the directory shown by that is not C:
\Ruby187\bin then the file is not safe to be the one that ship with
RubyInstaller and should be removed.

Another case for using pr-zlib, at least on Windows. :)

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top