Hi All,

I’m getting a segfault with this code: http://pastebin.com/FJVxAEpp 
<http://pastebin.com/FJVxAEpp>

Here’s what’s being reported in from valgrind, I can’t figure out why the 
frameID read would be bad:

==4466== Thread 1:
==4466== Invalid read of size 8
==4466==    at 0x77D2194: WebKit::WebFrameProxy::frameID() const 
(WebFrameProxy.h:68)
==4466==    by 0x77FC48A: 
WebKit::WebPageProxy::drawPagesForPrinting(WebKit::WebFrameProxy*, 
WebKit::PrintInfo const&, WTF::PassRefPtr<WebKit::GenericCallback<API::Error*> 
>) (WebPageProxy.cpp:5873)
==4466==    by 0x7BD49B1: 
webkitPrintOperationPrintPagesForFrame(_WebKitPrintOperation*, 
WebKit::WebFrameProxy*, _GtkPrintSettings*, _GtkPageSetup*) 
(WebKitPrintOperation.cpp:280)
==4466==    by 0x7BD52D1: webkit_print_operation_print 
(WebKitPrintOperation.cpp:444)
==4466==    by 0x401D74: main (main.cpp:90)
==4466==  Address 0x68 is not stack'd, malloc'd or (recently) free’d


Any help would be appreciated, thanks!

—
Gabe Rives-Corbett
Engineering Lead, untapt

_______________________________________________
webkit-help mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to