[erlang-questions] eprof bug?

24 views
Skip to first unread message

Tomas Morstein

unread,
Oct 1, 2012, 3:20:26 AM10/1/12
to erlang-q...@erlang.org
Hello,

I wanted to play with eprof a little, and found that it does not work
correctly on my system and anytime when I try to start profiling,
it ends up with SIGSEGV:
https://gist.github.com/3805252

We tested it on multiple systems with the same version of OTP (R15B)
built from source but the problem appears only on my laptop with
Linux 2.6.38/x86_64. The configure parameters is what I don't remember
at the moment :(

Is there anybody aware of such an issue?

Best regards,
Tom.


PS: In meantime, I'll try to compile the new R15B02 (with debugging
symbols) and check if it does there too...
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Björn-Egil Dahlberg

unread,
Oct 1, 2012, 4:36:58 AM10/1/12
to erlang-q...@erlang.org
On 2012-10-01 09:20, Tomas Morstein wrote:
> Hello,
>
> I wanted to play with eprof a little, and found that it does not work
> correctly on my system and anytime when I try to start profiling,
> it ends up with SIGSEGV:
> https://gist.github.com/3805252
>
> We tested it on multiple systems with the same version of OTP (R15B)
> built from source but the problem appears only on my laptop with
> Linux 2.6.38/x86_64. The configure parameters is what I don't remember
> at the moment :(
>
> Is there anybody aware of such an issue?
If memory serves, there was an issue with eprof (tracing) and HiPE. Is
there any chance you are running HiPE compiled libs, i.e. HiPE compiled
lists module?

If you find the same issue in R15B02, let me know.

// Björn-Egil

Tomas Morstein

unread,
Oct 7, 2012, 5:33:23 AM10/7/12
to erlang-q...@erlang.org
> > I wanted to play with eprof a little, and found that it does not
> > work
> > correctly on my system and anytime when I try to start profiling,
> > it ends up with SIGSEGV:
> > https://gist.github.com/3805252
> >
> > We tested it on multiple systems with the same version of OTP
> > (R15B)
> > built from source but the problem appears only on my laptop with
> > Linux 2.6.38/x86_64. The configure parameters is what I don't
> > remember
> > at the moment :(
> >
> > Is there anybody aware of such an issue?
> If memory serves, there was an issue with eprof (tracing) and HiPE.
> Is there any chance you are running HiPE compiled libs, i.e. HiPE
> compiled lists module?

I am not able to prove it now but I think it's possible it was accidentally configured with native libs...

> If you find the same issue in R15B02, let me know.

It works fine on R15B02!

Thanks,
Tom
Reply all
Reply to author
Forward
0 new messages