[erlang-bugs] Segfault when using Observer

Dan Gudmundsson dangud@REDACTED
Mon Mar 30 15:24:25 CEST 2015


On Mon, Mar 30, 2015 at 2:27 PM, Adam Lindberg <hello@REDACTED> 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 <dangud@REDACTED> 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 <hello@REDACTED> 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
>>
>> Cheers,
>> Adam
>>
>>
>> _______________________________________________
>> erlang-bugs mailing list
>> erlang-bugs@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-bugs
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150330/7a226eba/attachment.htm>


More information about the erlang-bugs mailing list