[erlang-bugs] Segfault when using Observer

Adam Lindberg hello@REDACTED
Mon Mar 30 15:45:20 CEST 2015


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 <dangud@REDACTED> wrote:
> 
> On Mon, Mar 30, 2015 at 2:27 PM, Adam Lindberg <hello@REDACTED <mailto: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 <mailto: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 <mailto: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 <https://gist.github.com/eproxus/3d517e895c3e05f93bcb>
>> 
>> Cheers,
>> Adam
>> 
>> 
>> _______________________________________________
>> erlang-bugs mailing list
>> erlang-bugs@REDACTED <mailto:erlang-bugs@REDACTED>
>> http://erlang.org/mailman/listinfo/erlang-bugs <http://erlang.org/mailman/listinfo/erlang-bugs>
>> 
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150330/c29ef949/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150330/c29ef949/attachment.bin>


More information about the erlang-bugs mailing list