<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Ok, as well as the problem below it appears that observer_tv_table was missing the handle_info/2 for the atom refresh_interval.<br><br>The patch attached to this email appears to fix this.<br><br>Feel free to try it...<br><br>Again, I'm using R15B on Ubuntu.<br><br>Thanks<br><br>Matt<br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: mattevans123@hotmail.com<br>To: erlang-bugs@erlang.org<br>Date: Wed, 25 Jan 2012 13:06:27 -0500<br>Subject: Re: [erlang-bugs] Observer table viewer crash<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
<div dir="ltr">
One additional point.<div><br></div><div>I added the following tuple {true,20} to the "timer" parameter in the state record of observer_tv_table.erl</div><div><br></div><div>It didn't crash.</div><div><br></div><div>What is interesting though is that it refreshed the "parent" window, not the child window.</div><div><br></div><div>Matt<br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: mattevans123@hotmail.com<br>To: erlang-bugs@erlang.org<br>Date: Wed, 25 Jan 2012 11:20:18 -0500<br>Subject: [erlang-bugs] Observer table viewer crash<br><br>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
<div>Hi</div><div><br></div><div>When I use the table viewer, select a table (any table) and "Edit->Refresh Interval" I get the following error.</div><div><br></div><div>I am running R15B on Ubuntu 11.10. Interestingly I can select "View->Refresh Interval" from the table list window.</div><div><br></div><div>The crash happens immediately, the dialog doesn't even open.</div><div><br></div><div>Thanks</div><div><br></div><div>Matt</div><div><br></div><div><br></div><div>Child crashed exiting:  <0.17131.1> {function_clause,</div><div>                                     [{observer_lib,interval_dialog,</div><div>                                       [{wx_ref,294,wxListCtrl,[]},</div><div>                                        undefined,10,300],</div><div>                                       [{file,"observer_lib.erl"},{line,40}]},</div><div>                                      {observer_tv_table,handle_event,2,</div><div>                                       [{file,"observer_tv_table.erl"},</div><div>                                        {line,374}]},</div><div>                                      {wx_object,handle_msg,5,</div><div>                                       [{file,"wx_object.erl"},{line,394}]},</div><div>                                      {proc_lib,init_p_do_apply,3,</div><div>                                       [{file,"proc_lib.erl"},{line,227}]}]}</div><div>(plexxi@management)13> </div><div>=ERROR REPORT==== 25-Jan-2012::08:14:38 ===</div><div>** wx object server <0.17134.1> terminating </div><div>** Last message in was {wx,402,</div><div>                           {wx_ref,268,wxFrame,[]},</div><div>                           [],</div><div>                           {wxCommand,command_menu_selected,[],0,0}}</div><div>** When Server state == {state,</div><div>                            {wx_ref,220,wxListCtrl,[]},</div><div>                            {wx_ref,268,wxFrame,[]},</div><div>                            {wx_ref,294,wxListCtrl,[]},</div><div>                            {wx_ref,285,wxStatusBar,[]},</div><div>                            {wx_ref,293,wxBoxSizer,[]},</div><div>                            {search,true,</div><div>                                {wx_ref,295,wxBoxSizer,[]},</div><div>                                'Search Area',</div><div>                                {wx_ref,298,wxTextCtrl,[]},</div><div>                                {wx_ref,309,wxTextCtrl,[]},</div><div>                                {{wx_ref,300,wxRadioButton,[]},</div><div>                                 {wx_ref,302,wxRadioButton,[]},</div><div>                                 {wx_ref,304,wxCheckBox,[]}},</div><div>                                undefined},</div><div>                            undefined,plexxi@management,2,<0.17135.1>,ets,</div><div>                            {tab,bob,81944,0,1228,<0.38.0>,ignore,protected,</div><div>                                set,1,none,false,false,undefined,undefined},</div><div>                            {attrs,</div><div>                                {wx_ref,287,wxListItemAttr,[]},</div><div>                                {wx_ref,288,wxListItemAttr,[]},</div><div>                                {wx_ref,289,wxListItemAttr,[]},</div><div>                                {wx_ref,290,wxListItemAttr,[]},</div><div>                                {wx_ref,291,wxListItemAttr,[]}},</div><div>                            undefined}</div><div>** Reason for termination == </div><div>** {function_clause,</div><div>       [{observer_lib,interval_dialog,</div><div>            [{wx_ref,294,wxListCtrl,[]},undefined,10,300],</div><div>            [{file,"observer_lib.erl"},{line,40}]},</div><div>        {observer_tv_table,handle_event,2,</div><div>            [{file,"observer_tv_table.erl"},{line,374}]},</div><div>        {wx_object,handle_msg,5,[{file,"wx_object.erl"},{line,394}]},</div><div>        {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}</div><div><br></div>                                     </div>
<br>_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://erlang.org/mailman/listinfo/erlang-bugs</div></div>                                    </div>
<br>_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://erlang.org/mailman/listinfo/erlang-bugs</div>                                        </div></body>
</html>