<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'>
Hi,<div><br></div><div>It should be off by default of course. But I found that by not setting the tuple {true,Time} or {false,Time} in observer_tv_table.erl would cause it to crash.</div><div><br></div><div>In my case the tables are quite small, so having a refresh every 20 seconds is pretty painless. Of course, for large tables I can see that you might want to warn the user that it's a really bad idea.</div><div><br></div><div>Thanks</div><div><br></div><div>Matt<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 26 Jan 2012 08:35:07 +0100<br>> Subject: Re: [erlang-bugs] Observer table viewer crash - Patch???<br>> From: dangud@gmail.com<br>> To: mattevans123@hotmail.com<br>> CC: erlang-bugs@erlang.org; erlang-patches@erlang.org<br>> <br>> Thanks for the bug reports (and patches).<br>> <br>> I did some late refactoring there, seems I broke a lot of things.<br>> I need to come up with away to automatically test at least the basic<br>> functionality.<br>> <br>> The timer was off by default for tables, I didn't want it to<br>> automatically refresh since the<br>> tables can so large.<br>> <br>> You think the tables should refresh automatically by default?<br>> <br>> /Dan<br>> <br>> On Wed, Jan 25, 2012 at 9:38 PM, Matthew Evans <mattevans123@hotmail.com> wrote:<br>> > Ok, as well as the problem below it appears that observer_tv_table was<br>> > 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>> > ________________________________<br>> > 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>> > One additional point.<br>> ><br>> > I added the following tuple {true,20} to the "timer" parameter in the state<br>> > record of observer_tv_table.erl<br>> ><br>> > It didn't crash.<br>> ><br>> > What is interesting though is that it refreshed the "parent" window, not the<br>> > child window.<br>> ><br>> > Matt<br>> ><br>> > ________________________________<br>> > 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>> > Hi<br>> ><br>> > When I use the table viewer, select a table (any table) and "Edit->Refresh<br>> > Interval" I get the following error.<br>> ><br>> > I am running R15B on Ubuntu 11.10. Interestingly I can select "View->Refresh<br>> > Interval" from the table list window.<br>> ><br>> > The crash happens immediately, the dialog doesn't even open.<br>> ><br>> > Thanks<br>> ><br>> > Matt<br>> ><br>> ><br>> > Child crashed exiting: <0.17131.1> {function_clause,<br>> > [{observer_lib,interval_dialog,<br>> > [{wx_ref,294,wxListCtrl,[]},<br>> > undefined,10,300],<br>> ><br>> > [{file,"observer_lib.erl"},{line,40}]},<br>> > {observer_tv_table,handle_event,2,<br>> > [{file,"observer_tv_table.erl"},<br>> > {line,374}]},<br>> > {wx_object,handle_msg,5,<br>> > [{file,"wx_object.erl"},{line,394}]},<br>> > {proc_lib,init_p_do_apply,3,<br>> > [{file,"proc_lib.erl"},{line,227}]}]}<br>> > (plexxi@management)13><br>> > =ERROR REPORT==== 25-Jan-2012::08:14:38 ===<br>> > ** wx object server <0.17134.1> terminating<br>> > ** Last message in was {wx,402,<br>> > {wx_ref,268,wxFrame,[]},<br>> > [],<br>> > {wxCommand,command_menu_selected,[],0,0}}<br>> > ** When Server state == {state,<br>> > {wx_ref,220,wxListCtrl,[]},<br>> > {wx_ref,268,wxFrame,[]},<br>> > {wx_ref,294,wxListCtrl,[]},<br>> > {wx_ref,285,wxStatusBar,[]},<br>> > {wx_ref,293,wxBoxSizer,[]},<br>> > {search,true,<br>> > {wx_ref,295,wxBoxSizer,[]},<br>> > 'Search Area',<br>> > {wx_ref,298,wxTextCtrl,[]},<br>> > {wx_ref,309,wxTextCtrl,[]},<br>> > {{wx_ref,300,wxRadioButton,[]},<br>> > {wx_ref,302,wxRadioButton,[]},<br>> > {wx_ref,304,wxCheckBox,[]}},<br>> > undefined},<br>> > undefined,plexxi@management,2,<0.17135.1>,ets,<br>> > {tab,bob,81944,0,1228,<0.38.0>,ignore,protected,<br>> > set,1,none,false,false,undefined,undefined},<br>> > {attrs,<br>> > {wx_ref,287,wxListItemAttr,[]},<br>> > {wx_ref,288,wxListItemAttr,[]},<br>> > {wx_ref,289,wxListItemAttr,[]},<br>> > {wx_ref,290,wxListItemAttr,[]},<br>> > {wx_ref,291,wxListItemAttr,[]}},<br>> > undefined}<br>> > ** Reason for termination ==<br>> > ** {function_clause,<br>> > [{observer_lib,interval_dialog,<br>> > [{wx_ref,294,wxListCtrl,[]},undefined,10,300],<br>> > [{file,"observer_lib.erl"},{line,40}]},<br>> > {observer_tv_table,handle_event,2,<br>> > [{file,"observer_tv_table.erl"},{line,374}]},<br>> > {wx_object,handle_msg,5,[{file,"wx_object.erl"},{line,394}]},<br>> > {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}<br>> ><br>> ><br>> > _______________________________________________ erlang-bugs mailing list<br>> > erlang-bugs@erlang.org http://erlang.org/mailman/listinfo/erlang-bugs<br>> ><br>> > _______________________________________________ erlang-bugs mailing list<br>> > erlang-bugs@erlang.org http://erlang.org/mailman/listinfo/erlang-bugs<br>> ><br>> > _______________________________________________<br>> > erlang-bugs mailing list<br>> > erlang-bugs@erlang.org<br>> > http://erlang.org/mailman/listinfo/erlang-bugs<br>> ><br></div></div> </div></body>
</html>