<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://sourceware.org/bugzilla/bugzilla.dtd">

<bugzilla version="4.0.10"
          urlbase="http://sourceware.org/bugzilla/"
          
          maintainer="overseers@sourceware.org"
>

    <bug>
          <bug_id>2685</bug_id>
          
          <creation_ts>2006-05-22 18:19:00 +0000</creation_ts>
          <short_desc>need to skip probes on insufficient stack</short_desc>
          <delta_ts>2006-11-26 23:28:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>systemtap</product>
          <component>translator</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Frank Ch. Eigler">fche</reporter>
          <assigned_to name="Frank Ch. Eigler">fche</assigned_to>
          
          <cf_gcchost></cf_gcchost>
          <cf_gcctarget></cf_gcctarget>
          <cf_gccbuild></cf_gccbuild>
          

      

      

      

          <long_desc isprivate="0">
            <commentid>10218</commentid>
            <who name="Frank Ch. Eigler">fche</who>
            <bug_when>2006-05-22 18:19:41 +0000</bug_when>
            <thetext>Similarly to bug #2185, because we don&apos;t have a separate stack for kprobe
handling (bug #931), we may have stack exhaustion problems in ordinary usage
without reentrancy.  We go out of our way to minimize stack usage, but we need to
- estimate or measure stack usage of a worst-case scenario (kprobes handler,
deeply nested systemtap expression, calling into the most complex runtime routine)
- add code to the probe entry functions to check for available stack space, and
punt (skip probe) if it&apos;s not sufficient</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>13584</commentid>
            <who name="Frank Ch. Eigler">fche</who>
            <bug_when>2006-11-26 23:28:56 +0000</bug_when>
            <thetext>patch committed.  The default MINSTACKSPACE may need to be tuned in the future.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>