tel8618217223380 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use HEAPCHECK=normal to analysis WebKit on Ubuntu, But segment fault crash #541

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Use HEAPCHECK=normal to analysis WebKit on Ubuntu, But segment fault crash

(gdb) r
Starting program: /opt/webkit-201203/WebKitBuild/Release/bin/QtTestBrowser 
-platform xlibgl -gl-viewport -graphicsbased -viewport-update-mode Full 
http://localhost/html5_launcher/

Program received signal SIGSEGV, Segmentation fault.
0x00010c46 in ?? ()
(gdb) bt
#0  0x00010c46 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

Original issue reported on code.google.com by ctengc...@gmail.com on 19 Jun 2013 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by alkondratenko on 6 Jul 2013 at 11:16

GoogleCodeExporter commented 9 years ago
The memory leak had been found to be a Qt bug in fbo(frame buffer object) pool 
implementation.

The is due to the software OpenGL driver(the machine has no real graphics gpu 
hardware) which doesn't support `multi-sample` feature.

My question is: why does HEAPCHECK tool fail in this situation?

Original comment by ctengc...@gmail.com on 9 Jul 2013 at 1:34

GoogleCodeExporter commented 9 years ago
Valgrind can work in this situation, but it only found a lot of small 
"possible" leaks which were in fact not related.

I've an idea: could HEAPCHECK tool only check memory blocks which size is > 
given threshold? For wasting extra memory recording small-size blocks is no 
useful.

Original comment by ctengc...@gmail.com on 9 Jul 2013 at 1:39

GoogleCodeExporter commented 9 years ago
> I've an idea: could HEAPCHECK tool only check memory blocks which size is > 
given threshold? For wasting extra memory recording small-size blocks is no 
useful.

If you contribute such change we'll gladly accept it :)

Original comment by alkondratenko on 24 Jul 2013 at 5:10