Re: Segfault when using Observer
Adam Krupicka <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CACsNEs18-_dCi8sHSWRg8h-PgOcT-z5s-VoYwf2ZraogaRHiRg@mail.gmail.com> |
Hi, I think I have discovered a very similar (if not the same) issue. The
difference is that on my linux machine, only the observer app crashes and
gives a bit more useful stacktrace. I posted this on erlang-bugs about 25
hours ago, but I still can't see the mail being published, so I will quote
it in its entirety here. Here goes:
Hi,
I have discovered a bug that seems to sometimes occur when
opening a process status window. It looks like the observer expects
a string but, for some reason, gets an atom. Same thing was
happening on all nodes in the cluster, however, when I restarted
the cluster the problem disappeared. Probably just some random
glitch, but for the sake of completeness I thought I'd post here.
Here's the crash:
Child (unknown) crashed exiting: <0.51.0> {function_clause,
[{wxTextCtrl,appendText,
[{wx_ref,1083,wxTextCtrl,[]},
'[email protected]'],
[{file,"gen/wxTextCtrl.erl"},
{line,126}]},
{observer_lib,link_entry2,3,
[{file,"observer_lib.erl"},
{line,487}]},
{observer_lib,
'-add_entries/6-fun-0-',5,
[{file,"observer_lib.erl"},
{line,383}]},
{observer_lib,
'-add_entries/6-lc$^0/1-0-',2,
[{file,"observer_lib.erl"},
{line,387}]},
{observer_lib,add_box,6,
[{file,"observer_lib.erl"},
{line,376}]},
{observer_lib,
'-create_box/2-lc$^0/1-1-',2,
[{file,"observer_lib.erl"},
{line,410}]},
{observer_lib,
'-create_box/2-lc$^0/1-1-',2,
[{file,"observer_lib.erl"},
{line,410}]},
{observer_lib,create_box,2,
[{file,"observer_lib.erl"},
{line,410}]}]}
If I find some extra time I'll have a look at the code and see if I can
submit a pull request.
Wx version I'm using is 3.0.2-2 (arch).
Hope this helps,
AK
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs