From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26357 invoked by alias); 16 Feb 2015 10:17:26 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 26273 invoked by uid 48); 16 Feb 2015 10:17:22 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/17982] rlimit.exp stalls on f20 Date: Mon, 16 Feb 2015 10:17:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00153.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17982 --- Comment #2 from Martin Cermak --- Under GDB the testcase segfaults on both f20 and el7. Without GDB the testcase segfaults on el7, but on f20 it hangs stap in a way that it can't be killed. F20 segfault under GDB: ======= [mcermak@hp-ml350gen8-01 ~]$ uname -r 3.18.6-100.fc20.i686+PAE [mcermak@hp-ml350gen8-01 ~]$ id uid=1001(mcermak) gid=1001(mcermak) groups=1001(mcermak),156(stapusr),158(stapdev) [mcermak@hp-ml350gen8-01 ~]$ gdb -q -args /usr/bin/stap --disable-cache --rlimit-stack=1 --rlimit-stack=999999999999 -wvvp4 -e probe\ kernel.function\(\"\*ar\*\"\).call\ \{\ println\(\$\$vars\)\ \} Reading symbols from /usr/bin/stap...done. (gdb) r Starting program: /usr/bin/stap --disable-cache --rlimit-stack=1 --rlimit-stack=999999999999 -wvvp4 -e probe\ kernel.function\(\"\*ar\*\"\).call\ \{\ println\(\$\$vars\)\ \} [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Unable to set resource limits for rlimit_stack : Operation not permitted Systemtap translator/driver (version 2.7/0.161, commit release-2.6-274-gbabad5b31b70 + changes) Copyright (C) 2005-2014 Red Hat, Inc. and others This is free software; see the source for copying conditions. enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS DYNINST JAVA LIBVIRT LIBXML2 Created temporary directory "/tmp/stapfIf8l0" Session arch: i386 release: 3.18.6-100.fc20.i686+PAE Searched for library macro files: "/usr/share/systemtap/tapset/linux/*.stpm", found: 3, processed: 3 Searched for library macro files: "/usr/share/systemtap/tapset/*.stpm", found: 5, processed: 5 Searched: "/usr/share/systemtap/tapset/linux/i386/*.stp", found: 3, processed: 3 Searched: "/usr/share/systemtap/tapset/linux/*.stp", found: 70, processed: 70 Searched: "/usr/share/systemtap/tapset/i386/*.stp", found: 1, processed: 1 Searched: "/usr/share/systemtap/tapset/*.stp", found: 24, processed: 24 Pass 1: parsed user script and 106 library script(s) using 35160virt/23864res/5868shr/18476data kb, in 220usr/10sys/239real ms. Attempting to extract kernel debuginfo build ID from /lib/modules/3.18.6-100.fc20.i686+PAE/build/vmlinux.id focused on module 'kernel' = [0xc0400000-0xc11ad000, bias 0 file /usr/lib/debug/lib/modules/3.18.6-100.fc20.i686+PAE/vmlinux ELF machine i?86| (code 3) probe i386_start_kernel@arch/x86/kernel/head32.c:32 kernel reloc=.dynamic pc=0xc0d76265 - blacklisted ... stuff deleted ... probe xen_mc_extend_args@arch/x86/xen/multicalls.c:163 kernel reloc=.dynamic pc=0xc04046d0 Program received signal SIGSEGV, Segmentation fault. 0x4f39a1c8 in read_srclines () from /lib/libdw.so.1 Missing separate debuginfos, use: debuginfo-install avahi-libs-0.6.31-21.fc20.i686 bzip2-libs-1.0.6-9.fc20.i686 elfutils-libelf-0.161-2.fc20.i686 elfutils-libs-0.161-2.fc20.i686 libacl-2.2.52-4.fc20.i686 libdb-5.3.28-1.fc20.i686 lua-5.2.2-5.fc20.i686 nspr-4.10.8-1.fc20.i686 nss-3.17.4-1.fc20.i686 nss-util-3.17.4-1.fc20.i686 popt-1.16-2.fc20.i686 rpm-libs-4.11.3-2.fc20.i686 sqlite-3.8.8-2.fc20.i686 (gdb) bt #0 0x4f39a1c8 in read_srclines () from /lib/libdw.so.1 #1 0x4f39b4fe in __libdw_getsrclines () from /lib/libdw.so.1 #2 0x4f39b6f5 in dwarf_getsrclines () from /lib/libdw.so.1 #3 0x4f3a0c08 in dwarf_decl_file () from /lib/libdw.so.1 #4 0x081f650b in dwflpp::function_file (this=0x93f98f8, c=c@entry=0xbfffd688) at dwflpp.cxx:2536 #5 0x0813731b in query_dwarf_func (func=func@entry=0x9da4094, q=0xbfffde3c) at tapsets.cxx:2092 #6 0x081fe761 in dwflpp::iterate_over_functions (this=0x93f98f8, callback=callback@entry=0x8136f90 , data=data@entry=0xbfffde3c, function="*ar*") at dwflpp.cxx:1040 #7 0x08178071 in iterate_over_functions (function="*ar*", data=0xbfffde3c, callback=0x8136f90 , this=) at dwflpp.h:278 #8 query_cu (cudie=cudie@entry=0x9cb0ac0, q=0xbfffde3c) at tapsets.cxx:2152 #9 0x081fd907 in dwflpp::iterate_over_cus (this=0x93f98f8, callback=callback@entry=0x8177ee0 , data=data@entry=0xbfffde3c, want_types=want_types@entry=false) at dwflpp.cxx:478 #10 0x08178d9b in iterate_over_cus (want_types=false, data=0xbfffde3c, callback=0x8177ee0 , this=) at dwflpp.h:246 #11 dwarf_query::query_module_dwarf (this=this@entry=0xbfffde3c) at tapsets.cxx:1049 #12 0x08179068 in dwarf_query::handle_query_module (this=0xbfffde3c) at tapsets.cxx:1143 #13 0x0814187a in query_module (mod=0x93f9d00, name=0x93f9e20 "kernel", addr=3225419776, q=0xbfffde3c) at tapsets.cxx:2472 #14 0x4f3afa97 in dwfl_getmodules () from /lib/libdw.so.1 #15 0x081f5986 in dwflpp::iterate_over_modules (this=0x93f98f8, callback=callback@entry=0x8140fe0 , data=0xbfffde3c) at dwflpp.cxx:410 #16 0x0816e458 in iterate_over_modules (data=0xbfffde3c, callback=0x8140fe0 , this=) at dwflpp.h:232 Python Exception list index out of range: #17 dwarf_builder::build (this=0x93f36d8, sess=..., base=0x93958a8, location=0x93a5570, parameters=std::map with 3 elements, finished_results=std::vector of length 6, capacity 8 = {...}) at tapsets.cxx:7942 #18 0x080cb64e in match_node::find_and_build (this=0x93f39e0, s=..., p=p@entry=0x93958a8, loc=loc@entry=0x93a5570, pos=pos@entry=3, results=std::vector of length 6, capacity 8 = {...}) at elaborate.cxx:466 #19 0x080cbf30 in match_node::find_and_build (this=0x93f39b0, s=..., p=p@entry=0x93958a8, loc=loc@entry=0x93a5570, pos=pos@entry=2, results=std::vector of length 6, capacity 8 = {...}) at elaborate.cxx:633 #20 0x080cbf30 in match_node::find_and_build (this=0x93f19d0, s=..., p=p@entry=0x93958a8, loc=loc@entry=0x93a5570, pos=pos@entry=1, results=std::vector of length 6, capacity 8 = {...}) at elaborate.cxx:633 #21 0x080cbf30 in match_node::find_and_build (this=0x82deec0, s=..., p=p@entry=0x93958a8, loc=0x93a5570, pos=pos@entry=0, results=std::vector of length 6, capacity 8 = {...}) at elaborate.cxx:633 #22 0x080ccd53 in derive_probes (s=..., p=0x93958a8, dps=std::vector of length 6, capacity 8 = {...}, optional=optional@entry=false, rethrow_errors=rethrow_errors@entry=false) at elaborate.cxx:1004 #23 0x080d06d0 in semantic_pass_symbols (s=...) at elaborate.cxx:1741 #24 semantic_pass (s=...) at elaborate.cxx:1980 #25 0x08058e5f in passes_0_4 (s=...) at main.cxx:819 #26 0x08053ed1 in main (argc=7, argv=0xbffff384) at main.cxx:1207 (gdb) ======= -- You are receiving this mail because: You are the assignee for the bug.