Re: CppunitTest_xmlsecurity_signing Unit Test Failure on 32-bit Linux
Hi Luke, Luke Benes wrote: > This is not a 32/64 bit issue, as I'm seeing this on my 64 bit > Ubuntu 17.10 system. The full, unedited log built with > SAL_LOG="+WARN.+INFO.xmlsecurity+INFO.comphelper.crypto" > Hmm, nothing really helpful standing out there. If you please could: make CppunitTest_xmlsecurity_signing CPPUNIT_TEST_NAME=testODFEncryptedGPG CPPUNITTRACE="gdb --args" , and then stick a breakpoint here: break appopen.cxx:240 (and then run)? If you hit that breakpoint - do a 'catch throw', then keep single-stepping. If you reach the end of the CheckPasswd_Impl() function, I'm at a loss. If you hit exceptions before, I'd be interested in backtraces for all of them. Cheers, -- Thorsten signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: CppunitTest_xmlsecurity_signing Unit Test Failure on 32-bit Linux
Luke Benes wrote: > This was on my 64-bit Ubuntu 17.10 box. Anything useful here? > Hi Luke, no, not really - could you please do the 'catch throw' part, too, from my earlier mail? And then single-step inside appopen.cxx, until you hit an exception? Cheers, -- Thorsten signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: CppunitTest_xmlsecurity_signing Unit Test Failure on 32-bit Linux
Luke Benes wrote: > Let me know if there is anything else I can do to help. > Hi Luke, terribly sorry, but the BTs still don't give any useful hint at what's going wrong. Are you building with optimisation? Since appopen.cxx:240 really contains no throwing (but the called function decryptGpgSession() does in a few places). So if I could ask you for one extra trial? Same setup as before, but then instead of catch throw, please issue a break docpasswordhelper.cxx:499 (or whatever the 1st line of DocPasswordHelper::decryptGpgSession() is in your tree), and then single-step that method, until an exception is thrown? Cheers, -- Thorsten signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: CppunitTest_xmlsecurity_signing Unit Test Failure on 32-bit Linux
Hi Luke, this one indeed clears it up: Luke Benes wrote: > [pid 24144] write(2, "gpg: can't connect to the agent: File name too > long", 51) = 51 > This is quite unexpected. There's a thread about it on the upstream gpg list: https://lists.gt.net/gnupg/users/79522 I'll mull over if we can somehow prevent that for this test... Cheers, -- Thorsten signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: CppunitTest_xmlsecurity_signing Unit Test Failure on 32-bit Linux
I wrote: > I'll mull over if we can somehow prevent that for this test... > https://gerrit.libreoffice.org/#/c/50978/ - can you try if that fixes your issue? Cheers, -- Thorsten signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice