[#4595] New block syntax — Daniel Amelang <daniel.amelang@...>

I'm really sorry if this isn't the place to talk about this. I've

25 messages 2005/03/21
[#4606] Re: New block syntax — "David A. Black" <dblack@...> 2005/03/21

Hi --

[#4629] Re: New block syntax — "Sean E. Russell" <ser@...> 2005/03/30

On Monday 21 March 2005 16:17, David A. Black wrote:

[#4648] about REXML::Encoding — speakillof <speakillof@...>

Hi.

15 messages 2005/03/31
[#4659] Re: about REXML::Encoding — "Sean E. Russell" <ser@...> 2005/04/04

On Thursday 31 March 2005 09:44, speakillof wrote:

[ ruby-Bugs-1641 ] webrick server sometimes bus errors - sometimes hangs

From: noreply@...
Date: 2005-03-17 21:53:03 UTC
List: ruby-core #4583
Bugs item #1641, was opened at 2005-03-17 14:48
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1641&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bill Dolinar (bdolinar)
Assigned to: Nobody (None)
Summary: webrick server sometimes bus errors - sometimes hangs

Initial Comment:
Webrick server randomly hangs:

bill:ToDo> ./script/server
=> Rails application started on http://0.0.0.0:3000
[2005-03-17 14:38:03] INFO  WEBrick 1.3.1
[2005-03-17 14:38:03] INFO  ruby 1.8.2 (2005-03-17) [powerpc-darwin7.8.0]
[2005-03-17 14:38:03] WARN  TCPServer Error: Address already in use - bind(2)
[2005-03-17 14:38:03] INFO  WEBrick::HTTPServer#start: pid=13526 port=3000
127.0.0.1 - - [17/Mar/2005:14:38:08 MST] "GET /categories/show/4 HTTP/1.1" 200 404
- -> /categories/show/4
127.0.0.1 - - [17/Mar/2005:14:38:12 MST] "GET /categories/list HTTP/1.1" 200 1551
http://localhost:3000/categories/show/4 -> /categories/list
127.0.0.1 - - [17/Mar/2005:14:38:15 MST] "GET /categories/new HTTP/1.1" 200 730
http://localhost:3000/categories/list -> /categories/new
127.0.0.1 - - [17/Mar/2005:14:38:18 MST] "GET /categories/list HTTP/1.1" 200 1551
http://localhost:3000/categories/new -> /categories/list
127.0.0.1 - - [17/Mar/2005:14:38:23 MST] "GET /categories/show/1 HTTP/1.1" 200 400
http://localhost:3000/categories/list -> /categories/show/1
deadlock 0x24e1440: run:-  - /usr/local/lib/ruby/1.8/timeout.rb:42
deadlock 0x1dc790: sleep:ST(1111095506.464985) (main) - /usr/local/lib/ruby/1.8/webrick/server.rb:88
deadlock 0x2520618: sleep:T(1111095535.828974)  - /usr/local/lib/ruby/1.8/timeout.rb:42
[2005-03-17 14:38:25] ERROR fatal: Thread(0x2520618): deadlock
        /usr/local/lib/ruby/1.8/timeout.rb:42:in `start'


Webrick server randomly (but frequently) crashes with a bus error:

bill:ToDo> ./script/server
=> Rails application started on http://0.0.0.0:3000
[2005-03-17 14:37:03] INFO  WEBrick 1.3.1
[2005-03-17 14:37:03] INFO  ruby 1.8.2 (2005-03-17) [powerpc-darwin7.8.0]
[2005-03-17 14:37:03] WARN  TCPServer Error: Address already in use - bind(2)
[2005-03-17 14:37:03] INFO  WEBrick::HTTPServer#start: pid=13518 port=3000
127.0.0.1 - - [17/Mar/2005:14:37:26 MST] "GET /categories/list HTTP/1.1" 200 1553
- -> /categories/list
127.0.0.1 - - [17/Mar/2005:14:37:27 MST] "GET /stylesheets/scaffold.css HTTP/1.1" 200 916
http://localhost:3000/categories/list -> /stylesheets/scaffold.css
127.0.0.1 - - [17/Mar/2005:14:37:34 MST] "GET /categories/edit/4 HTTP/1.1" 200 795
http://localhost:3000/categories/list -> /categories/edit/4
127.0.0.1 - - [17/Mar/2005:14:37:42 MST] "POST /categories/update HTTP/1.1" 302 105
http://localhost:3000/categories/edit/4 -> /categories/update
deadlock 0x24c1f64: run:-/usr/local/lib/ruby/1.8/timeout.rb:42: [BUG] Bus Error
ruby 1.8.2 (2005-03-17) [powerpc-darwin7.8.0]

Running the "Rails in 4 days" example part way through day 2 with sqlite3 for the database.  Mac OS X 10.3.8 with Xcode 1.5.  Happens for both 2005-03-17 copy from cvs, 1.8.2 built from code, and 1.8.2 from http://homepage.mac.com/discord/Ruby/.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1641&group_id=426

In This Thread

Prev Next