This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/11720] New: on RHEL5 ppc, running the script from skipped.exp causes an internal gcc error


On ppc64, when running the skipped.exp testcase you'll get a gcc crash.

----
Running /root/src/testsuite/systemtap.base/skipped.exp ...
/tmp/stap3p7SU9/stap_b0646c5096a36184c41a7a9f0f6185ff_633.c: In function
?enter_profile_probes?:
/tmp/stap3p7SU9/stap_b0646c5096a36184c41a7a9f0f6185ff_633.c:346: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccVa5bSH.out file, please attach this to
your bugreport.
make[4]: *** [/tmp/stap3p7SU9/stap_b0646c5096a36184c41a7a9f0f6185ff_633.o] Error 1
make[3]: *** [_module_/tmp/stap3p7SU9] Error 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.
FAIL: skip tracking (4 0 0 0)
----

If you extract the script from the testcase and compile it, you'll get the same
crash:

# stap -vp4 -tug ../skipped.stp 
Pass 1: parsed user script and 70 library script(s) using
27264virt/20032res/6144shr kb, in 360usr/0sys/365real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 1 global(s)
using 27456virt/20608res/6464shr kb, in 10usr/0sys/9real ms.
Pass 3: translated to C into
"/tmp/stap2VkVCe/stap_de3a433ce6b3382f5b317dc50894438d_606.c" using
84160virt/25472res/9472shr kb, in 720usr/20sys/749real ms.
/tmp/stap2VkVCe/stap_de3a433ce6b3382f5b317dc50894438d_606.c: In function
?enter_profile_probes?:
/tmp/stap2VkVCe/stap_de3a433ce6b3382f5b317dc50894438d_606.c:346: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccifTkxi.out file, please attach this to
your bugreport.
make[1]: *** [/tmp/stap2VkVCe/stap_de3a433ce6b3382f5b317dc50894438d_606.o] Error 1
make: *** [_module_/tmp/stap2VkVCe] Error 2
Pass 4: compiled C into "stap_de3a433ce6b3382f5b317dc50894438d_606.ko" in
3340usr/120sys/3509real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

Doing some experimentation, it appears that the crash only happens when the
systemtap '-t' (collect timing information) option is used.  The '-u'
(unoptimized) option makes no difference.

System details:

Host: 2.6.18-194.el5 #1 SMP
Snapshot: version 1.2/0.137 non-git sources
GCC: 4.1.2 [gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)]
Distro: Red Hat Enterprise Linux Server release 5.5 (Tikanga)

-- 
           Summary: on RHEL5 ppc, running the script from skipped.exp causes
                    an internal gcc error
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: dsmith at redhat dot com
  GCC host triplet: ppc


http://sourceware.org/bugzilla/show_bug.cgi?id=11720

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]