On Tue, Aug 6, 2013 at 8:40 PM, Massimo Maiurana <maiur...@gmail.com> wrote:
> Cedric BAIL, il 06/08/2013 08:20, ha scritto:
>> All your backtrace point to either malloc or free. This is a clear
>> sign of memory corruption. It also means that those backtrace are
>> sadly useless. You need to run enlightenment with valgrind to tell us
>> what is going on.
>
> The problem is that the only constant is the high CPU usage, that
> segfault happened only once until now and I can't say when it will
> happen again.
> I guess in this case a valgrind log, like the one I already sent, is
> just as useless as the backtrace :(

Nop, there was indeed nothing in the trace at all (even not an
uninitialized jump in any third party library). You may want to try
callgrind instead of valgrind to have a backtrace on where E is
spending his time if you can't reproduce the memory corruption, maybe
that would point to something.

>> You should be able to get the problem under Xephyr
>> to (at least try there first, if it doesn't show anything, then you
>> are good for a slow motion session).

> Do you mean that I could use valgrind under Xephyr to track the memory
> usage of an already running E when it segs, just as I would attaching
> gdb to it?
> Currently when I need to use valgrind I invoke it via xinit.

Well, it is required to run from the beginning. So you will have a
'Xephyr :1.0' running and then 'enlightenment_start -valgrind -display
:1.0'. It should give you something on the console. The main things is
that Xephyr doesn't allow OpenGL, so you will have E switching back to
software. This may change the profile usage of E, so it is useful only
to try catching the memory corruption.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to