iamaleksey/dsi — Issue #1: unexpected_info
Author: cmullaparthi
Created: 2012-02-23 05:52:49+00:00
State: open

I'm occasionally seeing this when interacting with the MAP module. I call recv in async mode. Have you seen this before?

```erlang
=ERROR REPORT==== 23-Feb-2012::05:27:39 ===
** Generic server <0.81.0> terminating
** Last message in was {dsi_reply,
{ok,{dsi_msg,34787,32771,0,21,45,0,0,<<6,0>>}}}
** When Server state == {st,#Port<0.3404>,undefined,undefined,false,undefined}
** Reason for termination ==
** {unexpected_info,
{dsi_reply,{ok,{dsi_msg,34787,32771,0,21,45,0,0,<<6,0>>}}}}

=CRASH REPORT==== 23-Feb-2012::05:27:39 ===
crasher:
initial call: dsi_drv:init/1
pid: <0.81.0>
registered_name: []
exception exit: {unexpected_info,
{dsi_reply,
{ok,{dsi_msg,34787,32771,0,21,45,0,0,<<6,0>>}}}}
in function gen_server:terminate/6
ancestors: [stackman_server,<0.2.0>]
messages: []
links: [<0.78.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 316
neighbours:

=CRASH REPORT==== 23-Feb-2012::05:27:39 ===
crasher:
initial call: stackman_map:handle_response/1
pid: <0.88.0>
registered_name: []
exception exit: {{unexpected_info,
{dsi_reply,
{ok,{dsi_msg,34787,32771,0,21,45,0,0,<<6,0>>}}}},
{gen_server,call,
[<0.81.0>,
{send,21,
{dsi_msg,51170,32771,0,45,21,0,0,
<<129,5,1,0,0>>}},
infinity]}}
in function gen_server:call/3
in call from stackman_map:handle_response/1
ancestors: [stackman_server,<0.2.0>]
messages: []
links: []
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 182
neighbours:
```

I also see this occasionally when I send a message to the MAP module. I'm expecting ```ok``` back, but I seem to get back a reply message.

```erlang
=CRASH REPORT==== 23-Feb-2012::05:30:19 ===
crasher:
initial call: st_map:handle_response/1
pid: <0.98.0>
registered_name: []
exception error: no match of right hand side value
{ok,{dsi_msg,34787,32774,0,21,45,0,0,<<6,0>>}}
in function st_map:handle_response/1
ancestors: [st_server,<0.2.0>]
messages: []
links: []
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 179
neighbours:
```