ATF-log archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: #59: atf-0.10 doesn't work on freebsd 8.1
- Subject: Re: #59: atf-0.10 doesn't work on freebsd 8.1
- From: "atf trac notification" <nobody%julipedia.org@localhost>
- Date: Wed, 18 Aug 2010 10:23:22 -0000
#59: atf-0.10 doesn't work on freebsd 8.1
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: jmmv
Type: defect | Status: accepted
Priority: critical | Milestone:
Component: atf-run | Version:
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by bhattkm at gmail dot com):
0x0000000800bc03cc in write () from /lib/libc.so.7
#1 0x0000000000438fa7 in atf::io::systembuf::sync (this=0x7fffffffdbf8)
at atf-c++/io.cpp:219
#2 0x000000000043954d in ~systembuf (this=0x7fffffffdbf8)
at atf-c++/io.cpp:178
#3 0x00000000004271dd in atf::atf_run::get_metadata (executable=Variable
"executable" is not available.
)
at io.hpp:453
#4 0x000000000040700f in atf_run::run_test_program (this=0x7fffffffe890,
tp=@0x7fffffffe4c0, w=@0x7fffffffe540, config=@0x7fffffffe330,
ro_workdir=@0x800e041c0) at atf-run/atf-run.cpp:329
#5 0x00000000004086bb in atf_run::run_test (this=0x7fffffffe890,
tp=@0x7fffffffe4c0, w=@0x7fffffffe540, config=@0x7fffffffe430,
ro_workdir=@0x800e041c0) at atf-run/atf-run.cpp:183
#6 0x000000000040ae44 in atf_run::main (this=0x7fffffffe890)
at atf-run/atf-run.cpp:508
#7 0x000000000042eda0 in atf::application::app::run (this=0x7fffffffe890,
argc=Variable "argc" is not available.
) at atf-c++/application.cpp:295
#8 0x00000000004051c5 in main (argc=1, argv=0x7fffffffe978)
at atf-run/atf-run.cpp:520
It's a broken pipe. atf-c++/io.cpp line 178 (systembuf destructor). I
haven't looked at the systembuf implementation in detail but the systembuf
destructor has following comment:
sync(); //XXX Unsure if this is correct. But seems to be needed.
Uncommenting call to sync() fixes the problem.
Cheers
Kman (bhattkm at gmail dot com)
--
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/59#comment:2>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework
Home |
Main Index |
Thread Index |
Old Index