Project

General

Profile

Ruby->Redmine crashes every morning.

Added by Fabian Doest over 13 years ago

After successfully updating from Redmine 0.8.5 to 1.0.0 Ruby crashes every morning. Each morning Redmine is not working anymore and the
following entry is in the application log of Windows 2008 R1:

Log Name: Application
Source: Application Error
Date: 20-8-2010 9:28:33
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: EuroFrontdev.syntel.nl
Description:
Faulting application ruby.exe, version 1.8.7.0, time stamp 0x4b6e06d8, faulting module msvcrt-ruby18.dll, version 1.8.7.0, time stamp 0x4b6e05e4, exception code 0x40000015,
fault offset 0x0001411e, process id 0x2df8, application start time 0x01cb3f71b665c3c0.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-08-20T07:28:33.000Z" />
<EventRecordID>4433</EventRecordID>
<Channel>Application</Channel>
<Computer>EuroFrontdev.syntel.nl</Computer>
<Security />
</System>
<EventData>
<Data>ruby.exe</Data>
<Data>1.8.7.0</Data>
<Data>4b6e06d8</Data>
<Data>msvcrt-ruby18.dll</Data>
<Data>1.8.7.0</Data>
<Data>4b6e05e4</Data>
<Data>40000015</Data>
<Data>0001411e</Data>
<Data>2df8</Data>
<Data>01cb3f71b665c3c0</Data>
</EventData>
</Event>

I'm using the following environment:
- Windows 2008 R1
- MySQL 5.0
- Redmine 1.0.0
- Ruby 1.8.6 and 1.8.7
- rack-1.2.1
- Gems 1.3.7
- rake 0.8.7
- mongrel_service-0.3.4-x86-mswin32
- win32-service-0.5.2-x86-mswin32

I tried the following installations all attempts without succes:
- Upgrade installation from 0.8.5 to 1.0.0 using Ruby 1.8.6
- Clean installation 1.0.0 using Ruby 1.8.6
- Clean installation 1.0.0 using Ruby 1.8.7

I suspect Redmine or Ruby is executing a scheduled script what will eventually crashes. It is most likely a Redmine script because our Redmine 0.8.5 environment works. And after upgrading to Redmine
1.0.0 the same Ruby environment crashes.

Questions:
1. Does anyone know which scheduled script is being used? And can it be turned off?
2. Can it be something else why Ruby crashes every morning? Maybe certain gem, MySQL, etc?
3. Does anyone else use Windows 2008 R1 as OS env for Redmine and maybe had the same problem?


Replies (2)

RE: Ruby->Redmine crashes every morning. - Added by Alexey Starchikhin about 13 years ago

Almost the same.
I've just transferred Redmine to computer with Windows 7 64 (whole Bitnami stack), and upgraded it to 1.1.1 from 1.0.0
Config:
Redmine 1.1.1, Ruby 1.8.6, Gems 1.3.6, Mongrel 1.1.5

Every day i found Application Error in Windows log. Can't show it's exact text, cause it's in Russian, but main idea is the same: Faulting application ruby.exe, faulting module msvcrt-ruby18.dll

I was unable to catch it so far, cause it's happens when i'm out of office, and after this fault it's appers to be continue working (i don't need to restart service), but it's anyway not good. It happens in different time, so it's not some kind of scheduled script, just responce to attempt to access Redmine.

I tried to find something in Redmine stack logs, no luck. Apache log shows no errors, Redmine log shows no errors, only Mongrel log shows something:
"This application has requested Runtime to terminate it in an unusual way. Please contact the application's support team for more information"

Maybe someone knows why Ruby can fail on Winows 7 64?

    (1-2/2)