Created
March 28, 2024 13:11
-
-
Save varshneydevansh/0065a11af27334091ce0704ed220990d to your computer and use it in GitHub Desktop.
SAL_USE_VCLPLUGIN=gen make CppunitTest_uui_dialogs_test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~/libreoffice] | |
✘ devansh 132007_improve_pswd_msg_lckd_dcmnt SAL_USE_VCLPLUGIN=gen make CppunitTest_uui_dialogs_test | |
make -j 3 -rs -f /home/devansh/libreoffice/Makefile.gbuild CppunitTest_uui_dialogs_test | |
[CUT] uui_dialogs_test | |
Aborted (core dumped) | |
LO_TEST_LOCALE=en-US | |
[_RUN_____] UuiDialogsTest::openAnyDialog | |
cppunittester: /home/devansh/libreoffice/vcl/source/window/layout.cxx:1580: virtual const vcl::Window* VclFrame::get_child() const: Assertion `GetChildCount() == 2 || pWindowImpl->mbInDispose' failed. | |
Fatal exception: Signal 6 | |
Stack: | |
#0 sal::backtrace_get(unsigned int) at /home/devansh/libreoffice/sal/osl/unx/backtraceapi.cxx:42 (discriminator 3) | |
#1 (anonymous namespace)::printStack(int) at /home/devansh/libreoffice/sal/osl/unx/signal.cxx:286 | |
#2 (anonymous namespace)::callSystemHandler(int, siginfo_t*, void*) at /home/devansh/libreoffice/sal/osl/unx/signal.cxx:327 | |
#3 (anonymous namespace)::signalHandlerFunction(int, siginfo_t*, void*) at /home/devansh/libreoffice/sal/osl/unx/signal.cxx:424 | |
#4 __restore_rt at libc_sigaction.c:? | |
#5 __pthread_kill_implementation at ./nptl/pthread_kill.c:44 | |
#6 __GI_raise at ./signal/../sysdeps/posix/raise.c:27 | |
#7 __GI_abort at ./stdlib/abort.c:81 (discriminator 21) | |
#8 _nl_load_domain at ./intl/loadmsgcat.c:1177 | |
#9 __GI___assert_fail at :? | |
#10 VclFrame::get_child() const at /home/devansh/libreoffice/vcl/source/window/layout.cxx:1581 | |
#11 VclFrame::calculateRequisition() const at /home/devansh/libreoffice/vcl/source/window/layout.cxx:1503 | |
#12 VclContainer::GetOptimalSize() const at /home/devansh/libreoffice/vcl/source/window/layout.cxx:81 | |
#13 vcl::Window::get_ungrouped_preferred_size() const at /home/devansh/libreoffice/vcl/source/window/window2.cxx:1701 | |
#14 vcl::Window::get_preferred_size() const at /home/devansh/libreoffice/vcl/source/window/window2.cxx:1716 | |
#15 VclContainer::getLayoutRequisition(vcl::Window const&) at /home/devansh/libreoffice/vcl/source/window/layout.cxx:172 | |
#16 VclBox::calculateRequisition() const at /home/devansh/libreoffice/vcl/source/window/layout.cxx:261 | |
#17 VclContainer::GetOptimalSize() const at /home/devansh/libreoffice/vcl/source/window/layout.cxx:81 | |
#18 vcl::Window::get_ungrouped_preferred_size() const at /home/devansh/libreoffice/vcl/source/window/window2.cxx:1701 | |
#19 vcl::Window::get_preferred_size() const at /home/devansh/libreoffice/vcl/source/window/window2.cxx:1716 | |
#20 VclContainer::getLayoutRequisition(vcl::Window const&) at /home/devansh/libreoffice/vcl/source/window/layout.cxx:172 | |
#21 SystemWindow::GetOptimalSize() const at /home/devansh/libreoffice/vcl/source/window/syswin.cxx:1021 | |
#22 vcl::Window::get_ungrouped_preferred_size() const at /home/devansh/libreoffice/vcl/source/window/window2.cxx:1701 | |
#23 vcl::Window::get_preferred_size() const at /home/devansh/libreoffice/vcl/source/window/window2.cxx:1716 | |
#24 SystemWindow::setOptimalLayoutSize(bool) at /home/devansh/libreoffice/vcl/source/window/syswin.cxx:1079 | |
#25 SystemWindow::DoInitialLayout() at /home/devansh/libreoffice/vcl/source/window/syswin.cxx:1109 | |
#26 Dialog::StateChanged(StateChangedType) at /home/devansh/libreoffice/vcl/source/window/dialog.cxx:763 | |
#27 vcl::Window::CompatStateChanged(StateChangedType) at /home/devansh/libreoffice/vcl/source/window/window.cxx:3913 | |
#28 vcl::Window::ImplCallInitShow() at /home/devansh/libreoffice/vcl/source/window/event.cxx:497 | |
#29 vcl::Window::ImplCallInitShow() at /home/devansh/libreoffice/vcl/source/window/event.cxx:512 | |
#30 vcl::Window::Show(bool, ShowFlags) [clone .localalias] at /home/devansh/libreoffice/vcl/source/window/window.cxx:2319 | |
#31 vcl::Window::Show(bool, ShowFlags) [clone .localalias] at /home/devansh/libreoffice/vcl/source/window/window.cxx:2347 | |
#32 SystemWindow::createScreenshot() at /home/devansh/libreoffice/vcl/source/window/syswin.cxx:1125 | |
#33 SalInstanceWindow::screenshot() at /home/devansh/libreoffice/vcl/source/app/salvtables.cxx:1707 | |
#34 ScreenshotTest::saveScreenshot(weld::Window&) at /home/devansh/libreoffice/test/source/screenshot_test.cxx:125 | |
#35 ScreenshotTest::dumpDialogToPath(weld::Builder&) at /home/devansh/libreoffice/test/source/screenshot_test.cxx:205 | |
#36 ScreenshotTest::dumpDialogToPath(std::basic_string_view<char, std::char_traits<char> >) at /home/devansh/libreoffice/test/source/screenshot_test.cxx:230 | |
#37 ScreenshotTest::processDialogBatchFile(std::basic_string_view<char16_t, std::char_traits<char16_t> >) at /home/devansh/libreoffice/test/source/screenshot_test.cxx:283 | |
#38 UuiDialogsTest::openAnyDialog() at /home/devansh/libreoffice/uui/qa/unit/uui-dialogs-test.cxx:52 | |
#39 void std::__invoke_impl<void, void (UuiDialogsTest::*&)(), UuiDialogsTest*&>(std::__invoke_memfun_deref, void (UuiDialogsTest::*&)(), UuiDialogsTest*&) at /usr/include/c++/12/bits/invoke.h:74 (discriminator 4) | |
#40 std::__invoke_result<void (UuiDialogsTest::*&)(), UuiDialogsTest*&>::type std::__invoke<void (UuiDialogsTest::*&)(), UuiDialogsTest*&>(void (UuiDialogsTest::*&)(), UuiDialogsTest*&) at /usr/include/c++/12/bits/invoke.h:97 | |
#41 void std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) at /usr/include/c++/12/functional:497 | |
#42 void std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>::operator()<, void>() at /usr/include/c++/12/functional:582 | |
#43 void std::__invoke_impl<void, std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>&>(std::__invoke_other, std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>&) at /usr/include/c++/12/bits/invoke.h:61 | |
#44 std::enable_if<is_invocable_r_v<void, std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>&>, void>::type std::__invoke_r<void, std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>&>(std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()>&) at /usr/include/c++/12/bits/invoke.h:117 | |
#45 std::_Function_handler<void (), std::_Bind<void (UuiDialogsTest::*(UuiDialogsTest*))()> >::_M_invoke(std::_Any_data const&) at /usr/include/c++/12/bits/std_function.h:291 | |
#46 std::function<void ()>::operator()() const at /usr/include/c++/12/bits/std_function.h:591 | |
#47 CppUnit::TestCaller<UuiDialogsTest>::runTest() at /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/include/cppunit/TestCaller.h:176 | |
#48 CppUnit::TestCaseMethodFunctor::operator()() const in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#49 (anonymous namespace)::Protector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) at /home/devansh/libreoffice/test/source/vclbootstrapprotector.cxx:46 | |
#50 CppUnit::ProtectorChain::ProtectFunctor::operator()() const in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#51 (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) at /home/devansh/libreoffice/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx:79 | |
#52 CppUnit::ProtectorChain::ProtectFunctor::operator()() const in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#53 (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) at /home/devansh/libreoffice/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx:62 | |
#54 CppUnit::ProtectorChain::ProtectFunctor::operator()() const in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#55 CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#56 CppUnit::ProtectorChain::ProtectFunctor::operator()() const in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#57 CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#58 CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#59 CppUnit::TestCase::run(CppUnit::TestResult*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#60 CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#61 CppUnit::TestComposite::run(CppUnit::TestResult*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#62 CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#63 CppUnit::TestComposite::run(CppUnit::TestResult*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#64 CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#65 CppUnit::TestResult::runTest(CppUnit::Test*) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#66 CppUnit::TestRunner::run(CppUnit::TestResult&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in /home/devansh/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1 | |
#67 (anonymous namespace)::ProtectedFixtureFunctor::run() const at /home/devansh/libreoffice/sal/cppunittester/cppunittester.cxx:327 (discriminator 4) | |
#68 main2() at /home/devansh/libreoffice/sal/cppunittester/cppunittester.cxx:485 | |
#69 sal_main() at /home/devansh/libreoffice/sal/cppunittester/cppunittester.cxx:630 | |
#70 main at /home/devansh/libreoffice/sal/cppunittester/cppunittester.cxx:625 | |
#71 __libc_start_call_main at ./csu/../sysdeps/nptl/libc_start_call_main.h:58 | |
#72 call_init at ./csu/../csu/libc-start.c:128 | |
#73 _start in /home/devansh/libreoffice/workdir/LinkTarget/Executable/cppunittester | |
No core file identified in directory /home/devansh/libreoffice/workdir/CppunitTest/uui_dialogs_test.test.core | |
To show backtraces for crashes during test execution, | |
enable core files with: | |
ulimit -c unlimited | |
Error: a unit test failed, please do one of: | |
make CppunitTest_uui_dialogs_test CPPUNITTRACE="gdb --args" | |
# for interactive debugging on Linux | |
make CppunitTest_uui_dialogs_test VALGRIND=memcheck | |
# for memory checking | |
make CppunitTest_uui_dialogs_test DEBUGCPPUNIT=TRUE | |
# for exception catching | |
You can limit the execution to just one particular test by: | |
make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params... | |
make[1]: *** [/home/devansh/libreoffice/solenv/gbuild/CppunitTest.mk:130: /home/devansh/libreoffice/workdir/CppunitTest/uui_dialogs_test.test] Error 134 | |
make: *** [Makefile:169: CppunitTest_uui_dialogs_test] Error 2 | |
[~/libreoffice] | |
✘ devansh 132007_improve_pswd_msg_lckd_dcmnt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment