Gabe Rives-Corbett
2017-01-19 14:41:25 UTC
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
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