public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390
@ 2008-05-14 16:22 harihare at in dot ibm dot com
  2008-05-14 17:13 ` [Bug runtime/6520] " harihare at in dot ibm dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-05-14 16:22 UTC (permalink / raw)
  To: systemtap

Systemtap 20080503 and 20080510 drop fails with following error on s390

error as below when SELINUX is enabled.

[root : obj]# ./stap -h
./stap: error while loading shared libraries: cannot restore segment prot after
reloc: Permission denied


error as below when SELINUX is disabled

[root : obj]# ./stap -h
Segmentation fault
[root : obj]#

-- 
           Summary: Systemtap 20080503 and 20080510 snapshot fails on s390
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: harihare at in dot ibm dot com


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
@ 2008-05-14 17:13 ` harihare at in dot ibm dot com
  2008-05-14 17:32 ` fche at redhat dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-05-14 17:13 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From harihare at in dot ibm dot com  2008-05-14 13:24 -------
systemtap-20080426.tar.bz2 snapshot works fine. but not on 20080503 and 20080510
drops.


-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
  2008-05-14 17:13 ` [Bug runtime/6520] " harihare at in dot ibm dot com
@ 2008-05-14 17:32 ` fche at redhat dot com
  2008-05-14 20:17 ` harihare at in dot ibm dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: fche at redhat dot com @ 2008-05-14 17:32 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-05-14 14:27 -------
This would have to relate to the new "-fpie" / "-z roreloc" / "-z now" flags.
selinux should not complain about this as far as I can see; it's probably
appropriate to file an selinux policy bug.

stap shouldn't SEGV anyway.  Could you run it under a debugger to see where
exactly the crash occurs?   

% gdb --args stap -V
(gdb) run
SEGV?
(gdb) backtrace

It may occur in the glibc/ld.so code, in which case glibc-debuginfo should
be loaded onto the machine, and quite possibly a bug report against those
components is also appropriate.

This is not a systemtap bug, but you can probably work around these
issues by configuring your build tree with "--disable-pie".


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
  2008-05-14 17:13 ` [Bug runtime/6520] " harihare at in dot ibm dot com
  2008-05-14 17:32 ` fche at redhat dot com
@ 2008-05-14 20:17 ` harihare at in dot ibm dot com
  2008-05-14 20:19 ` fche at redhat dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-05-14 20:17 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From harihare at in dot ibm dot com  2008-05-14 16:21 -------
[root : obj]# gdb --args ./stap -V
GNU gdb Red Hat Linux (6.5-37.el5rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "s390x-redhat-linux-gnu"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) run
Starting program: /home/systemtap/tmp/stap_testing_200805141252/obj/stap -V
[Thread debugging using libthread_db enabled]
[New Thread 2199027856704 (LWP 21778)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2199027856704 (LWP 21778)]
0x000002ab0012f6b4 in ?? ()
(gdb) bt 
#0  0x000002ab0012f6b4 in ?? ()
#1  0x000002aaaade6370 in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535) at
/usr/lib/gcc/s390x-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iostream:76
#2  0x000002aaaade6410 in global constructors keyed to
_Z19print_coverage_infoR17systemtap_session () at
/home/systemtap/tmp/stap_testing_200805141252/src/coveragedb.cxx:368
#3  0x000002aaaadee750 in __do_global_ctors_aux () from
/home/systemtap/tmp/stap_testing_200805141252/obj/stap
#4  0x000002aaaab48c84 in _init () from
/home/systemtap/tmp/stap_testing_200805141252/obj/stap
#5  0x000002aaaadee6b2 in __libc_csu_init () from
/home/systemtap/tmp/stap_testing_200805141252/obj/stap
#6  0x00000200002c8244 in __libc_start_main () from /lib64/libc.so.6
#7  0x000002aaaab49218 in _start () from
/home/systemtap/tmp/stap_testing_200805141252/obj/stap
(gdb) 


-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (2 preceding siblings ...)
  2008-05-14 20:17 ` harihare at in dot ibm dot com
@ 2008-05-14 20:19 ` fche at redhat dot com
  2008-05-14 20:43 ` harihare at in dot ibm dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: fche at redhat dot com @ 2008-05-14 20:19 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-05-14 17:12 -------
The crash appears to occur within the c++ static constructor belonging
to the iostream clog/... objects.  This seems to be a g++/linker bug
on s390.  It may help those developers to build a copy of systemtap
with CXXFLAGS="-fverbose-asm -save-temps -fpie -fPIC", and supply
the stap-coveragedb* files as attachments.

In the mean time, please confirm that configuring with "--disable-pie"
makes the build work.

-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (3 preceding siblings ...)
  2008-05-14 20:19 ` fche at redhat dot com
@ 2008-05-14 20:43 ` harihare at in dot ibm dot com
  2008-05-15 16:31 ` harihare at in dot ibm dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-05-14 20:43 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From harihare at in dot ibm dot com  2008-05-14 17:31 -------
Configuring with "--disable-pie" worked fine.

-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (4 preceding siblings ...)
  2008-05-14 20:43 ` harihare at in dot ibm dot com
@ 2008-05-15 16:31 ` harihare at in dot ibm dot com
  2008-05-15 16:49   ` Ananth N Mavinakayanahalli
  2008-05-16 15:26 ` ananth at in dot ibm dot com
                   ` (4 subsequent siblings)
  10 siblings, 1 reply; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-05-15 16:31 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From harihare at in dot ibm dot com  2008-05-15 11:01 -------
The problem is is handled in bugzilla 
https://bugzilla.linux.ibm.com/show_bug.cgi?id=41734

-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot  fails on s390
  2008-05-15 16:31 ` harihare at in dot ibm dot com
@ 2008-05-15 16:49   ` Ananth N Mavinakayanahalli
  0 siblings, 0 replies; 13+ messages in thread
From: Ananth N Mavinakayanahalli @ 2008-05-15 16:49 UTC (permalink / raw)
  To: harihare at in dot ibm dot com; +Cc: systemtap

On Thu, May 15, 2008 at 11:01:11AM -0000, harihare at in dot ibm dot com wrote:
> The problem is is handled in bugzilla 
> https://bugzilla.linux.ibm.com/show_bug.cgi?id=41734

Is that similar to https://bugzilla.redhat.com/show_bug.cgi?id=246623

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (5 preceding siblings ...)
  2008-05-15 16:31 ` harihare at in dot ibm dot com
@ 2008-05-16 15:26 ` ananth at in dot ibm dot com
  2008-05-19 13:55 ` harihare at in dot ibm dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: ananth at in dot ibm dot com @ 2008-05-16 15:26 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From ananth at in dot ibm dot com  2008-05-15 11:10 -------
Subject: Re:  Systemtap 20080503 and 20080510 snapshot
	fails on s390

On Thu, May 15, 2008 at 11:01:11AM -0000, harihare at in dot ibm dot com wrote:
> The problem is is handled in bugzilla 
> https://bugzilla.linux.ibm.com/show_bug.cgi?id=41734

Is that similar to https://bugzilla.redhat.com/show_bug.cgi?id=246623


-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (6 preceding siblings ...)
  2008-05-16 15:26 ` ananth at in dot ibm dot com
@ 2008-05-19 13:55 ` harihare at in dot ibm dot com
  2008-06-02 17:07 ` fche at redhat dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-05-19 13:55 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From harihare at in dot ibm dot com  2008-05-18 14:38 -------
Error Message are similar.

-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (7 preceding siblings ...)
  2008-05-19 13:55 ` harihare at in dot ibm dot com
@ 2008-06-02 17:07 ` fche at redhat dot com
  2008-07-10 15:25 ` fche at redhat dot com
  2008-07-11  5:30 ` harihare at in dot ibm dot com
  10 siblings, 0 replies; 13+ messages in thread
From: fche at redhat dot com @ 2008-06-02 17:07 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-06-02 14:56 -------
Please submit a bugzilla.redhat.com or issuetracker bug report for
-fpie working on s390.

-- 


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (8 preceding siblings ...)
  2008-06-02 17:07 ` fche at redhat dot com
@ 2008-07-10 15:25 ` fche at redhat dot com
  2008-07-11  5:30 ` harihare at in dot ibm dot com
  10 siblings, 0 replies; 13+ messages in thread
From: fche at redhat dot com @ 2008-07-10 15:25 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-07-10 15:25 -------
Fixed in commit 7b53a460d4edb65a110fcbfd18c74f66538277f1
to use -fPIE instead of -fpie.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug runtime/6520] Systemtap 20080503 and 20080510 snapshot fails on s390
  2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
                   ` (9 preceding siblings ...)
  2008-07-10 15:25 ` fche at redhat dot com
@ 2008-07-11  5:30 ` harihare at in dot ibm dot com
  10 siblings, 0 replies; 13+ messages in thread
From: harihare at in dot ibm dot com @ 2008-07-11  5:30 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From harihare at in dot ibm dot com  2008-07-11 05:29 -------
Bug Verified Succesfully, 
Hence closing the bug.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-07-11  5:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-14 16:22 [Bug runtime/6520] New: Systemtap 20080503 and 20080510 snapshot fails on s390 harihare at in dot ibm dot com
2008-05-14 17:13 ` [Bug runtime/6520] " harihare at in dot ibm dot com
2008-05-14 17:32 ` fche at redhat dot com
2008-05-14 20:17 ` harihare at in dot ibm dot com
2008-05-14 20:19 ` fche at redhat dot com
2008-05-14 20:43 ` harihare at in dot ibm dot com
2008-05-15 16:31 ` harihare at in dot ibm dot com
2008-05-15 16:49   ` Ananth N Mavinakayanahalli
2008-05-16 15:26 ` ananth at in dot ibm dot com
2008-05-19 13:55 ` harihare at in dot ibm dot com
2008-06-02 17:07 ` fche at redhat dot com
2008-07-10 15:25 ` fche at redhat dot com
2008-07-11  5:30 ` harihare at in dot ibm dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).