jalada / Hydrometeor

Hydrometeor is a long-polling webserver based on a pubsub model, written in Erlang
http://protane.co.uk
6 stars 1 forks source link

Backlog occasionally crashes with "bad argument" #1

Open markng opened 14 years ago

markng commented 14 years ago

Crash report below. A browser refresh later and it's fine, sometimes it needs a few.

=CRASH REPORT==== 9-Dec-2009::04:23:05 === crasher: initial call: mochiweb_socket_server:acceptor_loop/1 pid: <0.4561.0> registered_name: [] exception error: bad argument in function iolist_to_binary/1 called as iolist_to_binary(chunked) in call from mochiweb_request:range_parts/3 in call from mochiweb_request:ok/2 in call from hm_web:backlog/4 in call from mochiweb_http:headers/5 ancestors: [hm_web,<0.54.0>,<0.53.0>] messages: [] links: [<0.60.0>,#Port<0.5366>] dictionary: [{mochiweb_request_qs, [{"channel","main"}, {"count","15"}, {"callback","hmRecv"}]}, {mochiweb_request_path,"/hm1backend/backlog"}] trap_exit: false status: running heap_size: 2584 stack_size: 24 reductions: 1639 neighbours:

jalada commented 14 years ago

-- Comment deleted -- I was half awake, probably not a good time to look at a bug report. Will look into this and see if I can come up with anything.