Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4635

Re: ruby.exe crashing on windows xp

From "Glory L." <glory.lo778@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: ruby.exe crashing on windows xp
Date 2011-05-16 17:08 -0500
Organization Service de news de lacave.net
Message-ID <ef1b496ca7938e7be10dc534fe2c4c99@ruby-forum.com> (permalink)
References <421c720a752d45aae5a92b1218d84b06@ruby-forum.com> <d429360c8569b8f952e419ba96484d5b@ruby-forum.com> <c58e4bcd-2749-4e73-9903-8034e2213d20@v10g2000yqn.googlegroups.com> <9bdfa87563caaeaa320a3c2e4e61a8e1@ruby-forum.com> <14788a02-447e-4939-9c8d-2830cdf3ed35@k17g2000vbn.googlegroups.com>

Show all headers | View raw


Luis Lavena wrote in post #999023:
> On May 15, 6:10pm, "Glory L." <glory.lo...@gmail.com> wrote:
>> Luis Lavena wrote in post #998653:
>>
>> > Can you provide us what is the last sentences before the crash?
>>
>> I get this pop with the following:
>> ruby.exe has encountered a problem and needs to be close. We are sorry
>> for the inconvenience.
>>
>
> I didn't ask the popup information, perhaps wasn't clear but I'm
> interested in the output at the console before the crash.
>
>> > Normally Ruby will print out the offending line that triggered the
>> > crash before terminating itself.
>>
>> There is nothing printed in the development log (i.e. there is no stack
>> trace shown through 'rails server') so where do I go about culprit line?
>>
>
> The console, not the log file.

>> I am trying to get a simple app to test with carrierwave (File uploads)
>> and using Mongoid's Grid FS. Submitting the form often crashes it
>>
>
> If you don't mind, please create a sample application, outside your
> existing one that present this behavior and upload it to github, that
> will be more easy than copy and paste your entire source code from
> here and will provide a reproducible environment for us to help you
> better.
>
> You can upload the source code to GitHub for free.

OK guys here it is.  I am still very new to all this and I wish things 
would work right out of the box easier.  Sigh.

Anyhow, the console logs just shows the html templates being rendered 
and then crashing with no other messages.

Simple app created to show crashing:

Simply doing http://localhost:3000/videos/new very often crashes my 
machine.  No need to submit anything.

Clone and bundle install this.  I have MongoDB running as a service on 
Windows.

Created repository.

https://github.com/glorylo/crash
https://glorylo@github.com/glorylo/crash.git

I suspect there might be some oddity in the setup but nothing obvious is 
screaming at me on this.  There may be something stupidly done here but 
still I wish Ruby was more graceful and handle errors better.

Let me know if you can reproduce this.

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: ruby.exe crashing on windows xp Luis Lavena <luislavena@gmail.com> - 2011-05-16 07:37 -0700
  Re: ruby.exe crashing on windows xp "Glory L." <glory.lo778@gmail.com> - 2011-05-16 17:08 -0500
    Re: ruby.exe crashing on windows xp Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-16 17:17 -0500
    Re: ruby.exe crashing on windows xp Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-16 17:55 -0500
      Re: ruby.exe crashing on windows xp "Glory L." <glory.lo778@gmail.com> - 2011-05-16 21:59 -0500
        Re: ruby.exe crashing on windows xp Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-17 21:43 -0500
          Re: ruby.exe crashing on windows xp "Glory L." <glory.lo778@gmail.com> - 2011-05-18 00:45 -0500
          Re: ruby.exe crashing on windows xp Luis Lavena <luislavena@gmail.com> - 2011-05-18 05:41 -0700

csiph-web