cloudius-systems / osv

OSv, a new operating system for the cloud.
osv.io
Other
4.11k stars 605 forks source link

tst-regex.so fails on Jenkins machine #906

Open nyh opened 7 years ago

nyh commented 7 years ago

On the latest build, we see a new failure - http://jenkins.cloudius-systems.com:8080/job/osv-build/1280/console

TEST tst-regex.so                       OSv v0.24-435-gc446634
Aborted

[backtrace]
0x0000000000449b2c <osv::generate_signal(siginfo&, exception_frame*)+140>
0x0000000000449b5a <osv::handle_mmap_fault(unsigned long, int, exception_frame*)+26>
0x0000000000328e73 <mmu::vm_fault(unsigned long, exception_frame*)+163>
0x0000000000388a48 <page_fault+136>
0x00000000003878d6 <???+3700950>
0x00001000000049ba <???+18874>
0x00000000004135cd <osv::application::run_main(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, char**)+381>
0x0000000000415de2 <osv::application::run_main()+674>
0x000000000020c22e <osv::application::main()+110>
0x000000000041622b <osv::application::start_and_join(waiter*)+331>
0x0000000000416935 <osv::application::run_and_join(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const*, waiter*)+165>
0x000000000040c96e <osv::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, int*, bool, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const*)+30>
0x0000000000425036 <???+4345910>
0x000000000021349a <do_main_thread(void*)+202>
0x0000000000445175 <???+4477301>
0x00000000003e4f16 <thread_main_c+38>
0x0000000000388852 <???+3704914>
Test tst-regex.so FAILED

Since the following build succeeded (see http://jenkins.cloudius-systems.com:8080/job/osv-build/1281/consoleFull), and since the latest patch had nothing to do with this test (it only modified the httpserver module), this appears to be yet another rare sporadic bug :-(

Unfortunately, I can't reproduce this failure on my local machine, despite trying 500 times, so I can't provide a better stack trace.

nyh commented 7 years ago

Unfortunately a similar failure with identical backtrace of tst-kill.so, in Jenkins run http://jenkins.cloudius-systems.com:8080/job/osv-build-nightly/1230/console:

  TEST tst-kill.so                        OSv v0.24-436-g024e92a
Aborted

[backtrace]
0x0000000000449b2c <osv::generate_signal(siginfo&, exception_frame*)+140>
0x0000000000449b5a <osv::handle_mmap_fault(unsigned long, int, exception_frame*)+26>
0x0000000000328e73 <mmu::vm_fault(unsigned long, exception_frame*)+163>
0x0000000000388a48 <page_fault+136>
0x00000000003878d6 <???+3700950>
0x00001000000049ba <???+18874>
0x00000000004135cd <osv::application::run_main(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, char**)+381>
0x0000000000415de2 <osv::application::run_main()+674>
0x000000000020c22e <osv::application::main()+110>
0x000000000041622b <osv::application::start_and_join(waiter*)+331>

I still can't reproduce this on my machine.

nyh commented 7 years ago

Seemingly same crash in tst-pthread-clock.so - http://jenkins.cloudius-systems.com:8080/job/osv-build-nightly/1239/console

 TEST tst-pthread-clock.so               OSv v0.24-447-gc203748
Aborted

[backtrace]
0x0000000000449cec <osv::generate_signal(siginfo&, exception_frame*)+140>
0x0000000000449d1a <osv::handle_mmap_fault(unsigned long, int, exception_frame*)+26>
0x0000000000328a03 <mmu::vm_fault(unsigned long, exception_frame*)+163>
0x00000000003885d8 <page_fault+136>
0x0000000000387466 <???+3699814>
0x00001000000049ba <???+18874>
0x000000000041365d <osv::application::run_main(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, char**)+381>
0x0000000000415e72 <osv::application::run_main()+674>
0x000000000020c1fe <osv::application::main()+110>
...

This is probably a general bug, having nothing to do with these specific tests.