[Webkit-unassigned] [Bug 130262] Web Inspector: Gracefully handle nil name -[JSContext setName:]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 14 14:10:20 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=130262





--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2014-03-14 14:10:41 PST ---
* TEST:
JSContext *ctx = [[JSContext alloc] init];
ctx.name = nil;

* CRASH:
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation          0x00007fff8e6deb1f CFStringGetLength + 15
1   com.apple.JavaScriptCore          0x00007fff87e87b54 JSStringCreateWithCFString + 36
2   com.apple.JavaScriptCore          0x00007fff88205ac2 -[JSContext setName:] + 34
3   a.out                             0x000000010024df36 main + 102
4   libdyld.dylib                     0x00007fff90dcd5c9 start + 1

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list