Re: Segfault when using Observer

Adam Lindberg <[email protected]> Mon, 30 Mar 2015 15:45:20 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
OS X 10.10.2 (14C1514) with wxMac 3.0.2 (both bottled and non-bottled) installed via Homebrew.

Cheers,
Adam

> On 30 Mar 2015, at 15:24 , Dan Gudmundsson <[email protected]> wrote:
> 
> On Mon, Mar 30, 2015 at 2:27 PM, Adam Lindberg <[email protected] <mailto:[email protected]>> wrote:
> After some more investigation, it happens with “any” erlang version 17.0, 17.3, 17.4 (haven’t tested older ones). I re-installed wxMac via Hombrew and compiled it myself (instead of installing the bottle) with the same results, but this still has the issue. Most likely it is something with my OS installation + wxMac version that doesn’t play well together, especially if it looks to you like the crash is inside wxWidgets code.
> 
> 
> Which OS version?
> 
> It might still be something observer or wx does wrong, but it is really hard to debug when I
> can't reproduce it or guess where something goes wrong since the stack is clean of any wx code except the call to the wxWidgets loop.
> 
> Cheers
> /Dan
> 
> Cheers,
> Adam
> 
>> On 27 Mar 2015, at 14:48 , Dan Gudmundsson <[email protected] <mailto:[email protected]>> wrote:
>> 
>> Hi Adam
>> 
>> I tested and could of course not replicate the issue here with wxWidgets-3.0.2.
>> 
>> It is a bit weird that it happens, since it its the same code that is used
>> to open a process info window.
>> 
>> Also the stacktrace seems to indicate that it is inside wxWidgets event handling and not
>> in wx driver code. So that gives me no clues either.
>> 
>> 
>> On Mon, Mar 23, 2015 at 12:58 PM, Adam Lindberg <[email protected] <mailto:[email protected]>> wrote:
>> When using observer from 17.4 built with wxMac 3.0.2 on OS X 10.10.2, it segfaults when inspecting a process from the Applications tab. This does not happen when inspecting a process from the Processes tab.
>> 
>>     $ erl
>>     Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
>> 
>>     Eshell V6.3  (abort with ^G)
>>     1> observer:start().
>>     ok
>>     2> [1]    52545 segmentation fault  erl
>>     $
>> 
>> Full stack trace from OS X can be found here: https://gist.github.com/eproxus/3d517e895c3e05f93bcb <https://gist.github.com/eproxus/3d517e895c3e05f93bcb>
>> 
>> Cheers,
>> Adam
>> 
>> 
>> _______________________________________________
>> erlang-bugs mailing list
>> [email protected] <mailto:[email protected]>
>> http://erlang.org/mailman/listinfo/erlang-bugs <http://erlang.org/mailman/listinfo/erlang-bugs>
>> 
>> 
> 
>

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
signature.asc (application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVGVNwAAoJEPXQe/xAmQN7fb0P/3VBsCsC4OEwgjyi1DnOIeb2
eFQmX7feH071cJeIbcs4FEMwR62EO3S4vHJP+fngpPR5CQMg1HidYUo1ZGwUmQ48
SXuNEm46yQ/sFRm/1n5O0UkAGIUqwlZtdCcm8Mty5HBW+RK5SOiNRd17fEL8HUHR
9bnnRAiCC4QH9IlHdANN9uP2NbGdd1YWQDVsSTQ6EQg6oZuqRcMfyvJ2yy4Bquvu
D0qm4AiSvqfT3apUimEdsyNeq0cmxWtsMCb+OMl88PPAvB9v+8DrlY+EBz8CqkN7
LuDDI7BkTqSekc1SLvpD7NekceDmg1cTTZWkTSMpfKxgXk01dtRhYe7vNPCXJos1
p0mNnRfKw61orh85R2maThV3t8/bxSS+qdf74vEabuYgL/G0w/ZBgBdiOSR85Gpe
RAkYjHD2rWTvhkVWmsWI+ang+/VH3I4kaqyPU14HtJb7QDqIjzQOq1nif3r/Ov8m
Y4DphbK71FwSSY8eHLD3X22U4XkXPiJuVTqzED9fgsEknM/U1fEf9+2I5eVgFImB
SnLtuoeYy6MOa40SqBthUsWo+B1yc5asTBuAJT/UiS7NnK+clhY+trwqcUl2eg0p
1wmjSkjpM26GwyMIi5CEP7B9QI+L//ynKTkJ9VYbGQXymTmEaD9GgKGNgcAN0NNT
3K0CDKU00M24KXVg0eau
=h10B
-----END PGP SIGNATURE-----