<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>14878</bug_id>
          
          <creation_ts>2007-08-03 14:26:13 -0700</creation_ts>
          <short_desc>r24843 introduces a crash on calling fork()</short_desc>
          <delta_ts>2007-08-04 02:02:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rosyna">webkit-bugs</reporter>
          <assigned_to name="Mark Rowe (bdash)">mrowe</assigned_to>
          <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3042</commentid>
    <comment_count>0</comment_count>
    <who name="Rosyna">webkit-bugs</who>
    <bug_when>2007-08-03 14:26:13 -0700</bug_when>
    <thetext>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   &lt;&lt;00000000&gt;&gt; 	0x00000000 0 + 0
1   libSystem.B.dylib              	0x900323cc fork + 44</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3046</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-08-03 14:29:16 -0700</bug_when>
    <thetext>Fork you!

The issue here is that I left some of the &quot;unused&quot; malloc zone functions nulled out.  Looks like they&apos;re not unneeded after all :)

The fix here is to provide no-op stubs rather than leaving the function pointers null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3028</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-08-03 14:43:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/5385145&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3002</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-08-04 02:02:50 -0700</bug_when>
    <thetext>Fixed in r24868.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>