Bug 147543

Summary: [GLib] Crash in GMainLoopSource::voidCallback
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cgarcia, mcatanzaro, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1249383

Description Michael Catanzaro 2015-08-02 10:49:40 PDT
I wonder if "delete this" is legal?

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f0d78eef980 in WTF::GMainLoopSource::voidCallback (this=0x7f0d648091a8) at /usr/src/debug/webkitgtk-2.8.4/Source/WTF/wtf/gobject/GMainLoopSource.cpp:373
373	        delete this;

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 WTF::GMainLoopSource::voidCallback at /usr/src/debug/webkitgtk-2.8.4/Source/WTF/wtf/gobject/GMainLoopSource.cpp:373
 #1 WTF::GMainLoopSource::voidSourceCallback at /usr/src/debug/webkitgtk-2.8.4/Source/WTF/wtf/gobject/GMainLoopSource.cpp:456
 #2 operator() at /usr/src/debug/webkitgtk-2.8.4/Source/WTF/wtf/gobject/GMainLoopSource.cpp:248
 #3 WTF::<lambda(GSource*, GSourceFunc, gpointer)>::_FUN(GSource *, GSourceFunc, gpointer) at /usr/src/debug/webkitgtk-2.8.4/Source/WTF/wtf/gobject/GMainLoopSource.cpp:252
 #8 WTF::RunLoop::run at /usr/src/debug/webkitgtk-2.8.4/Source/WTF/wtf/gtk/RunLoopGtk.cpp:63
 #9 WebKit::ChildProcessMain<WebKit::NetworkProcess, WebKit::NetworkProcessMain> at /usr/src/debug/webkitgtk-2.8.4/Source/WebKit2/Shared/unix/ChildProcessMain.h:64
 #11 _start

Full backtrace downstream.
Comment 1 Michael Catanzaro 2015-08-02 10:52:42 PDT
(In reply to comment #0)
> I wonder if "delete this" is legal?

The Internet says "yes"....