Ticket #5 (assigned defect)

Opened 8 months ago

Last modified 3 months ago

Assertion `nbytes > 0' failed error

Reported by: macournoyer Assigned to: raggi (accepted)
Priority: major Milestone: EventMachine "Framework"
Keywords: Cc:

Description

Some users of Thin reported crashes with this in the logs:

ruby: ed.cpp:607: void ConnectionDescriptor::_WriteOutboundData(): Assertion `nbytes > 0' failed.

Any clue what's wrong?

Attachments

test_connection_without_send.rb (1.0 kB) - added by rogerdpack on 06/26/08 19:01:34.
example test which errs on OS X

Change History

06/17/08 14:10:20 changed by tmm1

06/26/08 17:08:08 changed by rogerdpack

I believe this is a kqueue bug [?] The test that causes it to fail is connecting to a server and writing nothing. EM is 'expecting it to write' immediately, as it arms it for writable immediately. I have, however, seen this in other circumstances, but that seems most obvious. The others were when it was under super heavy load for like a minute.

06/26/08 19:01:34 changed by rogerdpack

  • attachment test_connection_without_send.rb added.

example test which errs on OS X

06/30/08 20:18:33 changed by raggi

  • owner set to raggi.
  • status changed from new to assigned.

May be solved on a side track, see #40

06/30/08 20:25:06 changed by raggi