Ruby debugger crashes on post

Hello,

I’m currently creating a project that involves parsing XML files,
connecting and communicating with webservices over the Internet.
Untill yesterday I was able to write code in my IDE (Rubymine),
perform debug operations and trace through the stacks for errors.

Today however, nothing is working anymore. I can guarantee now that
nothing has changed in the code, the gems, the platform or the
Operating System. The system I’m developing on is my laptop from work,
a DELL Latitude E6510 with Windows 7 x64 Service Pack 1 installed.
I’m running Ruby 1.9.2, installed from http://rubyinstaller.org,
rubygems on the latest version and a bunch of gems to help me with my
project. Below I will give an overview of all the tools I’m working
with:

  • IDE : Rubymine 3.1.1
  • Ruby : ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
  • gcc : gcc version 4.5.2
  • make: GNU Make 3.81
  • OS : Windows 7 x64 Service Pack 1
  • gem

C:\Users\arne.de.herdt.TENFORCE2>gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 1.8.1

  • RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i386-mingw32]

  • INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.9.1

  • RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe

  • EXECUTABLE DIRECTORY: C:/Ruby/bin

  • RUBYGEMS PLATFORMS:

    • ruby
    • x86-mingw32
  • GEM PATHS:

    • C:/Ruby/lib/ruby/gems/1.9.1
    • C:/Users/arne.de.herdt.TENFORCE2/.gem/ruby/1.9.1
  • GEM CONFIGURATION:

    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

  • gem list
    abstract (1.0.0)
    actionmailer (3.0.7, 2.3.9, 2.3.8, 2.0.2)
    actionpack (3.0.7, 2.3.11, 2.3.9, 2.3.8, 2.1.2, 2.0.2)
    activemodel (3.0.7)
    activerecord (3.0.7, 2.3.11, 2.3.9, 2.3.8, 2.1.2, 2.0.2)
    activeresource (3.0.7, 2.3.9, 2.3.8, 2.0.2)
    activesupport (3.0.7, 2.3.11, 2.3.9, 2.3.8, 2.1.2, 2.0.2)
    addressable (2.2.5, 2.2.4)
    allison (2.0.3)
    archive-tar-minitar (0.5.2)
    arel (2.1.0, 2.0.9)
    builder (3.0.0, 2.1.2)
    bundler (1.0.13, 1.0.12)
    camping (2.1)
    capistrano (2.6.0)
    cgi_multipart_eof_fix (2.5.0)
    columnize (0.3.2)
    crack (0.1.8)
    curb (0.7.15)
    daemons (1.1.3)
    diff-lcs (1.1.2)
    echoe (4.5.6)
    erubis (2.7.0, 2.6.6)
    eventmachine (1.0.0.beta.3)
    extensions (0.6.0)
    fastthread (1.0.7)
    gem_plugin (0.2.3)
    gemcutter (0.7.0)
    geokit (1.5.0)
    haml (3.1.1)
    highline (1.6.1)
    httparty (0.7.7)
    i18n (0.5.0)
    json_pure (1.5.1)
    linecache (0.43 mswin32)
    linecache19 (0.5.12)
    mail (2.3.0, 2.2.19)
    mime-types (1.16)
    minitest (2.1.0, 1.6.0)
    mkrf (0.2.3)
    mysql (2.8.1 x86-mingw32)
    mysql2 (0.3.2, 0.2.6 x86-mingw32)
    net-scp (1.0.4)
    net-sftp (2.0.5)
    net-ssh (2.1.4)
    net-ssh-gateway (1.1.0)
    polyglot (0.3.1)
    rack (1.2.2)
    rack-mount (0.7.2, 0.6.14)
    rack-test (0.6.0, 0.5.7)
    rails (3.0.7, 2.3.9, 2.3.8, 2.0.2)
    railties (3.0.7)
    rake (0.8.7)
    rake-compiler (0.7.8)
    rdf (0.3.3)
    rdoc (3.5.3, 2.5.8)
    rdoc-data (2.5.3)
    RedCloth (4.2.7 x86-mingw32)
    rspec (2.5.0, 1.2.9, 1.2.4)
    rspec-core (2.5.2)
    rspec-expectations (2.5.0)
    rspec-mocks (2.5.0)
    ruby-debug (0.10.4)
    ruby-debug-base (0.10.4 mswin32)
    ruby-debug-base19 (0.11.25)
    ruby-debug-base19x (0.11.28)
    ruby-debug-ide (0.4.16)
    ruby-debug19 (0.11.6)
    ruby-sesame (0.1.0)
    ruby_core_source (0.1.5)
    rubyforge (2.0.4)
    rubygems-update (1.8.2, 1.8.1, 1.7.2)
    rubyzip (0.9.4)
    sass (3.1.1)
    swiftiply (0.6.1.1)
    test-unit (2.3.0)
    thin (1.2.11 x86-mingw32)
    thor (0.14.6)
    treetop (1.4.9)
    tzinfo (0.3.27)
    will_paginate (2.3.15)
    win32-api (1.4.8 x86-mingw32)
    win32-service (0.7.1 x86-mswin32-60)
    win32console (1.3.0 x86-mingw32)
    windows-api (0.4.0)
    windows-pr (1.2.0)

Sorry for the long post, but this problem is driving me nuts. When I
look at the Windows Event Log the following entry is displayed:

Faulting application name: ruby.exe, version: 1.9.2.180, time stamp:
0x4d5ee5ed
Faulting module name: ruby_debug.so, version: 0.0.0.0, time stamp:
0x4dbebd19
Exception code: 0xc0000005
Fault offset: 0x00003c9d
Faulting process id: 0x1670
Faulting application start time: 0x01cc1078db62bd94
Faulting application path: C:\Ruby\bin\ruby.exe
Faulting module path: C:\Ruby\lib\ruby\gems\1.9.1\gems\ruby-debug-
base19x-0.11.28\lib\ruby_debug.so
Report Id: 4d85cb7d-7c6c-11e0-b8ce-5cac4cf954c1

When looking at the details of the error, I can provide this as
additional information:
Fault bucket 2439879360, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: ruby.exe
P2: 1.9.2.180
P3: 4d5ee5ed
P4: ruby_debug.so
P5: 0.0.0.0
P6: 4dbebd19
P7: c0000005
P8: 00003c9d
P9:
P10:

Attached files:
C:\Users\arne.de.herdt.TENFORCE2\AppData\Local\Temp
\WERFA75.tmp.WERInternalMetadata.xml

These files may be available here:
C:\Users\arne.de.herdt.TENFORCE2\AppData\Local\Microsoft\Windows\WER
\ReportArchive
\AppCrash_ruby.exe_111ff5dfe1c3c3c1c059d6d466ebbeb97f47ce84_082012a7

Analysis symbol:
Rechecking for solution: 0
Report Id: bfa75044-7c6b-11e0-b8ce-5cac4cf954c1
Report Status: 0

==========================================================================
Version=1
EventType=APPCRASH
EventTime=129496599050223127
ReportType=2
Consent=1
UploadTime=129496599050843189
ReportIdentifier=bfa75045-7c6b-11e0-b8ce-5cac4cf954c1
IntegratorReportIdentifier=bfa75044-7c6b-11e0-b8ce-5cac4cf954c1
WOW64=1
Response.BucketId=2439879360
Response.BucketTable=1
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=ruby.exe
Sig[1].Name=Application Version
Sig[1].Value=1.9.2.180
Sig[2].Name=Application Timestamp
Sig[2].Value=4d5ee5ed
Sig[3].Name=Fault Module Name
Sig[3].Value=ruby_debug.so
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=4dbebd19
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=00003c9d
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=2067
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=5e16
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=5e16ced789fd81d8061f8a695be3ace3
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=0e79
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=0e7991227df0e55ae57238673024a5df
UI[2]=C:\Ruby\bin\ruby.exe
UI[3]=Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped
working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Ruby\bin\ruby.exe
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\syswow64\kernel32.dll
LoadedModule[3]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[4]=C:\Ruby\bin\msvcrt-ruby191.dll
LoadedModule[5]=C:\Windows\syswow64\ADVAPI32.DLL
LoadedModule[6]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[7]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[8]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[9]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[10]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[11]=C:\Windows\syswow64\SHELL32.DLL
LoadedModule[12]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[13]=C:\Windows\syswow64\GDI32.dll
LoadedModule[14]=C:\Windows\syswow64\USER32.dll
LoadedModule[15]=C:\Windows\syswow64\LPK.dll
LoadedModule[16]=C:\Windows\syswow64\USP10.dll
LoadedModule[17]=C:\Windows\syswow64\WS2_32.dll
LoadedModule[18]=C:\Windows\syswow64\NSI.dll
LoadedModule[19]=C:\Windows\system32\IMM32.DLL
LoadedModule[20]=C:\Windows\syswow64\MSCTF.dll
LoadedModule[21]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[22]=C:\Windows\system32\rsaenh.dll
LoadedModule[23]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\encdb.so
LoadedModule[24]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\iso_8859_1.so
LoadedModule[25]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\trans
\transdb.so
LoadedModule[26]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\stringio.so
LoadedModule[27]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\socket.so
LoadedModule[28]=C:\Ruby\lib\ruby\gems\1.9.1\gems\ruby-debug-
base19x-0.11.28\lib\ruby_debug.so
LoadedModule[29]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\utf_16le.so
LoadedModule[30]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\trans
\utf_16_32.so
LoadedModule[31]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\trans
\single_byte.so
LoadedModule[32]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\digest\sha1.so
LoadedModule[33]=C:\Ruby\bin\libeay32-0.9.8-msvcrt.dll
LoadedModule[34]=C:\Windows\system32\WSOCK32.DLL
LoadedModule[35]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\digest.so
LoadedModule[36]=C:\Ruby\lib\ruby\gems\1.9.1\gems
\linecache19-0.5.12\ext\trace_nums\trace_nums19.so
LoadedModule[37]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\syck.so
LoadedModule[38]=C:\Windows\system32\mswsock.dll
LoadedModule[39]=C:\Windows\System32\wshtcpip.dll
LoadedModule[40]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\etc.so
LoadedModule[41]=C:\Windows\syswow64\ole32.dll
LoadedModule[42]=C:\Windows\system32\profapi.dll
LoadedModule[43]=C:\Windows\system32\uxtheme.dll
LoadedModule[44]=C:\Windows\WinSxS\x86_microsoft.windows.common-
controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll
LoadedModule[45]=C:\Windows\syswow64\OLEAUT32.dll
LoadedModule[46]=C:\Windows\syswow64\SETUPAPI.dll
LoadedModule[47]=C:\Windows\syswow64\CFGMGR32.dll
LoadedModule[48]=C:\Windows\syswow64\DEVOBJ.dll
LoadedModule[49]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\psych.so
LoadedModule[50]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\strscan.so
LoadedModule[51]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\zlib.so
LoadedModule[52]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\bigdecimal.so
LoadedModule[53]=C:\Ruby\lib\ruby\gems\1.9.1\gems\mysql2-0.2.6-x86-
mingw32\lib\mysql2\1.9\mysql2.so
LoadedModule[54]=C:\Ruby\bin\LIBMYSQL.dll
LoadedModule[55]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\iconv.so
LoadedModule[56]=C:\Ruby\bin\libiconv2.dll
LoadedModule[57]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\json\ext
\parser.so
LoadedModule[58]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\utf_16be.so
LoadedModule[59]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\utf_32be.so
LoadedModule[60]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\enc\utf_32le.so
LoadedModule[61]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\json\ext
\generator.so
LoadedModule[62]=C:\Windows\syswow64\CLBCatQ.DLL
LoadedModule[63]=C:\Windows\system32\propsys.dll
LoadedModule[64]=C:\Windows\system32\ntmarta.dll
LoadedModule[65]=C:\Windows\syswow64\WLDAP32.dll
LoadedModule[66]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\digest\md5.so
LoadedModule[67]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\openssl.so
LoadedModule[68]=C:\Ruby\bin\ssleay32-0.9.8-msvcrt.dll
LoadedModule[69]=C:\Ruby\bin\ZLIB1.dll
LoadedModule[70]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\fcntl.so
LoadedModule[71]=C:\Ruby\lib\ruby\gems\1.9.1\gems
\eventmachine-1.0.0.beta.3\lib\rubyeventmachine.so
LoadedModule[72]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\dl.so
LoadedModule[73]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\fiddle.so
LoadedModule[74]=C:\Ruby\lib\ruby\gems\1.9.1\gems\thin-1.2.11-x86-
mingw32\lib\1.9\thin_parser.so
LoadedModule[75]=C:\Ruby\lib\ruby\site_ruby\1.9.1\i386-msvcrt
\http11.so
LoadedModule[76]=C:\Ruby\lib\ruby\1.9.1\i386-mingw32\racc\cparse.so
LoadedModule[77]=C:\Windows\system32\NLAapi.dll
LoadedModule[78]=C:\Windows\system32\napinsp.dll
LoadedModule[79]=C:\Windows\system32\pnrpnsp.dll
LoadedModule[80]=C:\Windows\system32\wshbth.dll
LoadedModule[81]=C:\Program Files (x86)\Common Files\Microsoft Shared
\Windows Live\WLIDNSP.DLL
LoadedModule[82]=C:\Windows\syswow64\PSAPI.DLL
LoadedModule[83]=C:\Windows\system32\DNSAPI.dll
LoadedModule[84]=C:\Windows\System32\winrnr.dll
LoadedModule[85]=C:\Windows\system32\rasadhlp.dll
LoadedModule[86]=C:\Windows\System32\wship6.dll
LoadedModule[87]=C:\Windows\system32\IPHLPAPI.DLL
LoadedModule[88]=C:\Windows\system32\WINNSI.DLL
LoadedModule[89]=C:\Windows\System32\fwpuclnt.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
State[1].Key=DataRequest
State[1].Value=Bucket=-1855087936/nBucketTable=1/nResponse=1/n
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32]
AppPath=C:\Ruby\bin\ruby.exe

This problem occurs every time i’m making a post request to one of my
controller with an XML file as attachement. I can see in the
logwindows of Rubymine that it tries to catch the break point I’m
setting, but then the process exits with a long negative number.
That’s about all the info I can provide right now.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs