public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Rebase problems in Ruby
@ 2013-02-25  5:19 Chloe
  2013-02-25 14:44 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 7+ messages in thread
From: Chloe @ 2013-02-25  5:19 UTC (permalink / raw)
  To: cygwin

I'm trying to run 'rails console' in an app with many, many gems (not a test 
app) and it is giving me these errors. I've already tried to run 'rebaseall' 
with ash and I also ran 'rubyrebase' using a script I found on this list 
archive. Neither helped. I've tried several times. 'cygcheck -c' says 
everything's OK. These are the errors I'm getting:



$ rails console
      2 [main] ruby 4216 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      2 [main] ruby 2892 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      4 [main] ruby 2024 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      2 [main] ruby 5404 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      3 [main] ruby 4272 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      2 [main] ruby 5944 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      2 [main] ruby 880 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      2 [main] ruby 3316 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
      3 [main] ruby 4480 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x692B0000) != child(0x17A0000)
/usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:382:in 
`fix_coderay_colors': Interrupt
        from 
/usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:376:in 
`reset_defaults'
        from 
/usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:403:in 
`init'
        from 
/usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry/pry_class.rb:453:in `<top 
(required)>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`block in require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in 
`load_dependency'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from /usr/lib/ruby/gems/1.9.1/gems/pry-0.9.11.4/lib/pry.rb:265:in 
`<top (required)>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`block in require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in 
`load_dependency'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/interactor.rb:8:in 
`<class:Interactor>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/interactor.rb:6:in 
`<module:Guard>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/interactor.rb:1:in `<top 
(required)>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`block in require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in 
`load_dependency'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/dsl.rb:38:in 
`<class:Dsl>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/dsl.rb:34:in 
`<module:Guard>'
        from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard/dsl.rb:1:in 
`<top (required)>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`block in require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in 
`load_dependency'
        from 
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in 
`require'
        from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard.rb:10:in 
`<module:Guard>'
        from /usr/lib/ruby/gems/1.9.1/gems/guard-1.6.2/lib/guard.rb:8:in 
`<top (required)>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in 
`block (2 levels) in require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in 
`each'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in 
`block in require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in 
`each'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
        from /cygdrive/c/Sites/MPay2Park/config/application.rb:8:in `<top 
(required)>'
        from 
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:39:in 
`require'
        from 
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:39:in 
`<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rebase problems in Ruby
  2013-02-25  5:19 Rebase problems in Ruby Chloe
@ 2013-02-25 14:44 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 7+ messages in thread
From: Larry Hall (Cygwin) @ 2013-02-25 14:44 UTC (permalink / raw)
  To: cygwin

On 2/25/2013 12:17 AM, Chloe wrote:
> I'm trying to run 'rails console' in an app with many, many gems (not a test
> app) and it is giving me these errors. I've already tried to run 'rebaseall'
> with ash and I also ran 'rubyrebase' using a script I found on this list
> archive. Neither helped. I've tried several times. 'cygcheck -c' says
> everything's OK. These are the errors I'm getting:
>
>
>
> $ rails console
>        2 [main] ruby 4216 child_info_fork::abort:
> C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address:
> parent(0x692B0000) != child(0x17A0000)

So where are these gems coming from and how many are there?  Too
many/ones from unknown places are going to be either missed
by 'rubyrebase' or be impossible to fit in memory without
collision with other installed DLLs.  See this thread for more
discussion of this:

<http://cygwin.com/ml/cygwin/2013-01/msg00317.html>

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rebase problems in Ruby
  2013-03-03 11:15 Chloe
  2013-03-03 14:20 ` Andrey Repin
  2013-03-03 20:05 ` Chloe
@ 2013-03-04  4:03 ` Yaakov
  2 siblings, 0 replies; 7+ messages in thread
From: Yaakov @ 2013-03-04  4:03 UTC (permalink / raw)
  To: cygwin

On Sun, 03 Mar 2013 06:15:48 -0500, Chloe wrote:
> > So where are these gems coming from and how many are there?  Too
> > many/ones from unknown places are going to be either missed
> > by 'rubyrebase' or be impossible to fit in memory without
> > collision with other installed DLLs.  See this thread for more
> > discussion of this:
> 
> They come from 'bundle install' and 'gem install'. The standard Ruby 
> places. There are about 100 in my Gemfile. The same project works on 
> WinXP, but not Win8. I don't see how it can't fit in memory. My WinXP 
> has 1GB and my Win8 has 8GB. I've run rebaseall and rubyrebase several 
> times, and re-installed ImageMagick and libpixman_1.0 several times.

The next release of 'rebase' will include the perlrebase/rubyrebase
functionality, so this should be fixed then.  In the meantime, you can
install ruby-rails and its dependencies from Ports, in which case you
should rebase once more and NOT use rubyrebase.


Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rebase problems in Ruby
  2013-03-03 20:05 ` Chloe
@ 2013-03-04  2:56   ` Eliot Moss
  0 siblings, 0 replies; 7+ messages in thread
From: Eliot Moss @ 2013-03-04  2:56 UTC (permalink / raw)
  To: cygwin

On 3/3/2013 3:05 PM, Chloe wrote:

> /usr/bin/ruby.exe: skipped because not rebaseable

If any existing process has the file open, you would see this.
There might be other causes as well.

> Unfortunately I must forgo Cygwin for native Windows executables.

While rebase problems can indeed be a bit of a pain, some
patience and persistence should lead to a solution ...

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rebase problems in Ruby
  2013-03-03 11:15 Chloe
  2013-03-03 14:20 ` Andrey Repin
@ 2013-03-03 20:05 ` Chloe
  2013-03-04  2:56   ` Eliot Moss
  2013-03-04  4:03 ` Yaakov
  2 siblings, 1 reply; 7+ messages in thread
From: Chloe @ 2013-03-03 20:05 UTC (permalink / raw)
  To: cygwin

> If they are "standard" fpr you, Cygwin may not know about them. You have to
> manually supply a list of shared libs and applications your project depends
> upon to rebase them on the same ground with the rest of Cygwin.

FYI, I saw these lines in the output. I don't know if they are relevant. 
Notice pixman was rebased, and notice it said ruby.exe was not rebaseable.

$ rebaseall -v > rebase.lst
/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14_2.dll: 
skipped be
cause nonexistent.
$ grep pixman rebase.lst
/usr/bin/cygpixman-1-0.dll: new base = 68d60000, new size = 90000
$ rubyrebase > rubyrebase.lst
/usr/bin/find: `/usr/lib/ruby/site_ruby/1.9.1/i386-cygwin': No such file 
or directory
/usr/bin/find: `/usr/lib/ruby/vendor_ruby/1.9.1/i386-cygwin': No such 
file or directory
/usr/bin/ruby.exe: skipped because not rebaseable


Unfortunately I must forgo Cygwin for native Windows executables.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rebase problems in Ruby
  2013-03-03 11:15 Chloe
@ 2013-03-03 14:20 ` Andrey Repin
  2013-03-03 20:05 ` Chloe
  2013-03-04  4:03 ` Yaakov
  2 siblings, 0 replies; 7+ messages in thread
From: Andrey Repin @ 2013-03-03 14:20 UTC (permalink / raw)
  To: Chloe, cygwin

Greetings, Chloe!

>> So where are these gems coming from and how many are there?  Too
>> many/ones from unknown places are going to be either missed
>> by 'rubyrebase' or be impossible to fit in memory without
>> collision with other installed DLLs.  See this thread for more
>> discussion of this:

> They come from 'bundle install' and 'gem install'. The standard Ruby 
> places. There are about 100 in my Gemfile. The same project works on 
> WinXP, but not Win8. I don't see how it can't fit in memory. My WinXP 
> has 1GB and my Win8 has 8GB. I've run rebaseall and rubyrebase several 
> times, and re-installed ImageMagick and libpixman_1.0 several times.

If they are "standard" fpr you, Cygwin may not know about them. You have to
manually supply a list of shared libs and applications your project depends
upon to rebase them on the same ground with the rest of Cygwin.

> I just can't get past this problem. Does this mean I have to give up on 
> Cygwin?


> $ rails console
>        0 [main] ruby 6420 child_info_fork::abort: 
> C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
> parent(0x68D70000) != child(0x35D0000)
>        0 [main] ruby 1500 child_info_fork::abort: 
> C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
> parent(0x68D70000) != child(0x3720000)


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 03.03.2013, <18:17>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rebase problems in Ruby
@ 2013-03-03 11:15 Chloe
  2013-03-03 14:20 ` Andrey Repin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chloe @ 2013-03-03 11:15 UTC (permalink / raw)
  To: cygwin

> So where are these gems coming from and how many are there?  Too
> many/ones from unknown places are going to be either missed
> by 'rubyrebase' or be impossible to fit in memory without
> collision with other installed DLLs.  See this thread for more
> discussion of this:

They come from 'bundle install' and 'gem install'. The standard Ruby 
places. There are about 100 in my Gemfile. The same project works on 
WinXP, but not Win8. I don't see how it can't fit in memory. My WinXP 
has 1GB and my Win8 has 8GB. I've run rebaseall and rubyrebase several 
times, and re-installed ImageMagick and libpixman_1.0 several times.

I just can't get past this problem. Does this mean I have to give up on 
Cygwin?


$ rails console
       0 [main] ruby 6420 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x68D70000) != child(0x35D0000)
       0 [main] ruby 1500 child_info_fork::abort: 
C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: 
parent(0x68D70000) != child(0x3720000)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-04  4:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-25  5:19 Rebase problems in Ruby Chloe
2013-02-25 14:44 ` Larry Hall (Cygwin)
2013-03-03 11:15 Chloe
2013-03-03 14:20 ` Andrey Repin
2013-03-03 20:05 ` Chloe
2013-03-04  2:56   ` Eliot Moss
2013-03-04  4:03 ` Yaakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).