[webkit-gtk] Problems with web inspector

Niranjan Rao nhrdls at gmail.com
Wed Feb 5 20:13:39 PST 2014


I am using release 2.2.4. Everything else works correctly except web 
inspector. Web inspector seems to be hit and miss in my case even when 
running Minibrowser. This is on Ubuntu 12.04/64bit. Everything compiled 
locally.

Two independent observations

1. Whole window of Minibrowser grays out when I click on inspect 
element. It does come back after 4/5 minutes after some thread in 
WebProcess times out. Things work normally after this point.
2. Web process dumps the core.

Web process dumping core is more frequent case for me. It does dump the 
core almost immediately after clicking inspect element. GDB/Core does 
not show any useful information even if webkit is built with complete 
debug information. I have even tried attaching gdb before viewing 
inspector. I can see debugging symbols and debug the code for purposes, 
but not for this crash.

Based on general observations in gdb, it looks like web process spawns 
multiple threads to process request for inspector. These threads 
terminate and then we get crash. The crash is sigsegv and seems to be in 
main loop thread, at least based gdb thread ids. No other symbol 
information.

Any help is greatly appreciated. If more information is needed, I can 
spend some more time on debugging if some guidance is provided - 
basically which functions dev team is suspecting to figure out at what 
point crash happens.


GDB Trace

gdb) core ./webkit-2.2.4/build/webkitgtk-2.2.4/core
[New LWP 2334]
[New LWP 2349]
[New LWP 2357]
[New LWP 2351]
[New LWP 2356]
[New LWP 2350]
[New LWP 2372]
[New LWP 2355]
[New LWP 2358]
[New LWP 2646]
[New LWP 2645]
[New LWP 2647]
[New LWP 2354]
[New LWP 2362]
[New LWP 2352]
Core was generated by 
`/finovera/niranjan/work/fiport_work/webkit/webkit-2.2.4/build/webkitgtk-2.2.4/P'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f98d4af359b in ?? ()
(gdb) bt
#0  0x00007f98d4af359b in ?? ()
#1  0x00007f98964279b0 in ?? ()
#2  0x00007f9800000000 in ?? ()
#3  0x00007f98c97b6c58 in ?? ()
#4  0xffff000000000006 in ?? ()
#5  0x00007f9900000000 in ?? ()
#6  0x00007f9895fd4f40 in ?? ()
#7  0x000000000000002c in ?? ()
#8  0x00007f989528b940 in ?? ()
#9  0x00007f98cab1f878 in ?? ()
#10 0x00007f98d49a0920 in ?? ()
#11 0x00007f99149bde28 in ?? ()
#12 0x00007f98cabfea18 in ?? ()
#13 0x0000000000000000 in ?? ()

Regards,

Niranjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140205/fd6214b3/attachment.html>


More information about the webkit-gtk mailing list