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/14432] tempdir isn't always removed


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

--- Comment #5 from William Cohen <wcohen at redhat dot com> 2012-08-24 19:55:38 UTC ---
For cmd_parse14 doesn't seems to be exiting stap. See something like the
following pstee when running the test:

$ pstree -p 15099
make(15099)âââsh(15100)âââexecrc(15136)âââexpect(15137)âââsh(15424)âââstap(15427)
                                                        ââ{expect}(15158)

Started gdb to see where stap is stuck:

(gdb) where
#0  0x00000034a52c5630 in __write_nocancel () from /lib64/libc.so.6
#1  0x00000034a526a6b3 in _IO_new_file_write (f=0x34a5551860, data=0xfbd14a8, 
    n=29) at fileops.c:1260
#2  0x00000034a526baf3 in _IO_new_file_xsputn (f=0x34a5551860, 
    data=<value optimized out>, n=29) at fileops.c:514
#3  0x00000034a5260dfb in _IO_fwrite (buf=0xfbd14a8, size=1, count=29, 
    fp=0x34a5551860) at iofwrite.c:45
#4  0x00000034aba8e5dd in std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <char, std::char_traits<char>, std::allocator<char>
>(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () from
/usr/lib64/libstdc++.so.6
#5  0x000000000053dcee in stap_waitpid (verbose=<value optimized out>, 
    pid=15428) at ../systemtap/util.cxx:618
#6  0x0000000000540adc in stap_system (verbose=2, description="rm", 
    args=std::vector of length 3, capacity 4 = {...}, null_out=false, 
    null_err=<value optimized out>) at ../systemtap/util.cxx:817
#7  0x000000000041818a in stap_system (this=0x7fffe37b6830)
    at ../systemtap/util.h:73
#8  systemtap_session::remove_tmp_dir (this=0x7fffe37b6830)
    at ../systemtap/session.cxx:1781
#9  0x0000000000418497 in systemtap_session::~systemtap_session (this=0x2, 
    __in_chrg=<value optimized out>) at ../systemtap/session.cxx:360
#10 0x000000000041332b in main (argc=6, argv=0x7fffe37b71f8)
---Type <return> to continue, or q <return> to quit---
    at ../systemtap/main.cxx:1135
(gdb)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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