Forum: Ruby-core [ruby-trunk - Bug #8934][Open] Shut down my Thin server, then the terminal spit out 1182 lines and t

Bd1a888b7db86f5141dad6e164ffaab8?d=identicon&s=25 mcodyb (Cody Bertolino) (Guest)
on 2013-09-21 03:34
(Received via mailing list)
Issue #8934 has been reported by mcodyb (Cody Bertolino).

----------------------------------------
Bug #8934: Shut down my Thin server, then the terminal spit out 1182
lines and told me to report it to you.
https://bugs.ruby-lang.org/issues/8934

Author: mcodyb (Cody Bertolino)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674)
[x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was debugging my app using rails 4, ruby 2.0 and the Thin gem using OS
10.7.5. Then I stopped doing anything with it for a few hours and
realized I hadn't stopped the server and when I closed the server then
this happened:

^C>> Stopping ...
Exiting
bin/rails: [BUG] Bus Error
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2]

-- Crash Report log information
--------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information
-----------------------------------------------
c:0001 p:0000 s:0002 E:0021c8 TOP    [FINISH]


-- C level backtrace information
-------------------------------------------

-- Other runtime information
-----------------------------------------------

* Loaded script: bin/rails

* Loaded features:

    0 enumerator.so
    1
/Users/CarylBertolino/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin11.4.2/enc/encdb.bundle
    ...
    1182
/Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension
libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6


What did you expect?, and why? I expected the server to stop, and in
fairness it did.

What is the severity of the bug? Does not seem that severe. Tried to see
if it would happen again and it didn't, the server works fine. I'm just
ending this in case it might be valuable for you.

gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.7
  - RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247)
[x86_64-darwin11.4.2]
  - INSTALLATION DIRECTORY:
/Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247
  - RUBY EXECUTABLE:
/Users/CarylBertolino/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
  - EXECUTABLE DIRECTORY:
/Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-11
  - GEM PATHS:
     - /Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247
     - /Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-09-21 05:09
(Received via mailing list)
Issue #8934 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Third Party's Issue

Seems it happens in ruby_debug hook.
----------------------------------------
Bug #8934: Shut down my Thin server, then the terminal spit out 1182
lines and told me to report it to you.
https://bugs.ruby-lang.org/issues/8934#change-41916

Author: mcodyb (Cody Bertolino)
Status: Third Party's Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674)
[x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was debugging my app using rails 4, ruby 2.0 and the Thin gem using OS
10.7.5. Then I stopped doing anything with it for a few hours and
realized I hadn't stopped the server and when I closed the server then
this happened:

^C>> Stopping ...
Exiting
bin/rails: [BUG] Bus Error
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2]

-- Crash Report log information
--------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information
-----------------------------------------------
c:0001 p:0000 s:0002 E:0021c8 TOP    [FINISH]


-- C level backtrace information
-------------------------------------------

-- Other runtime information
-----------------------------------------------

* Loaded script: bin/rails

* Loaded features:

    0 enumerator.so
    1
/Users/CarylBertolino/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin11.4.2/enc/encdb.bundle
    ...
    1182
/Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension
libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6


What did you expect?, and why? I expected the server to stop, and in
fairness it did.

What is the severity of the bug? Does not seem that severe. Tried to see
if it would happen again and it didn't, the server works fine. I'm just
ending this in case it might be valuable for you.

gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.7
  - RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247)
[x86_64-darwin11.4.2]
  - INSTALLATION DIRECTORY:
/Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247
  - RUBY EXECUTABLE:
/Users/CarylBertolino/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
  - EXECUTABLE DIRECTORY:
/Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-11
  - GEM PATHS:
     - /Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247
     - /Users/CarylBertolino/.rvm/gems/ruby-2.0.0-p247@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
This topic is locked and can not be replied to.