WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 14878
r24843
introduces a crash on calling fork()
https://bugs.webkit.org/show_bug.cgi?id=14878
Summary
r24843 introduces a crash on calling fork()
Rosyna
Reported
2007-08-03 14:26:13 PDT
Something in
r24843
makes fork() call a NULL function pointer and then crash. This happens if the app that hosts WebKit calls fork() for whatever reason. This is a problem because I enjoy calling fork() often. Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 <<00000000>> 0x00000000 0 + 0 1 libSystem.B.dylib 0x900323cc fork + 44
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2007-08-03 14:29:16 PDT
Fork you! The issue here is that I left some of the "unused" malloc zone functions nulled out. Looks like they're not unneeded after all :) The fix here is to provide no-op stubs rather than leaving the function pointers null.
Mark Rowe (bdash)
Comment 2
2007-08-03 14:43:23 PDT
<
rdar://problem/5385145
>
Mark Rowe (bdash)
Comment 3
2007-08-04 02:02:50 PDT
Fixed in
r24868
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug