Files
loongoffice/external
Noel Grandin fa50b71fb8 tsan: use of freed mutex
Because the mutex has already been freed because raptor calls
xmlCleanupParser

I have logged a feature request against raptor for a flag to turn off
this behaviour, but until that lands, this will have to do.

-----

make CppunitTest_filter_pdf results in

WARNING: ThreadSanitizer: use of an invalid mutex (e.g. uninitialized or
destroyed) (pid=330602)
0 pthread_mutex_lock
/home/noel/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1371
(discriminator 8) (cppunittester+0x7e1be)
1 xmlDictFree ??:? (libxml2.so.2+0x3404b) (BuildId:
14c9410dbe8278dfa121dabc48c9ae25eac169d1)
2 lt_xml_unref
/home/noel/libo-tsan/workdir/UnpackedTarball/liblangtag/liblangtag/lt-xml.c:351
(liblangtag-lo.so.1+0x1fc6a)
3 lt_db_finalize
/home/noel/libo-tsan/workdir/UnpackedTarball/liblangtag/liblangtag/lt-database.c:144
(liblangtag-lo.so.1+0xac22)
4 (anonymous namespace)::LiblangtagDataRef::teardown()
/home/noel/libo-tsan/i18nlangtag/source/languagetag/languagetag.cxx:219
(libi18nlangtag.so+0x20951)
5 (anonymous namespace)::LiblangtagDataRef::~LiblangtagDataRef()
/home/noel/libo-tsan/i18nlangtag/source/languagetag/languagetag.cxx:204
(libi18nlangtag.so+0x20951)
6 cxa_at_exit_callback_installed_at(void*)
/home/noel/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:445
(cppunittester+0x6e3af)
7 LanguageTagImpl::canonicalize()
/home/noel/libo-tsan/i18nlangtag/source/languagetag/languagetag.cxx:190
(libi18nlangtag.so+0xe370)
8 main /home/noel/libo-tsan/sal/cppunittester/cppunittester.cxx:482
(cppunittester+0x10cf6c)

Change-Id: I5d9ff1c5667f8e19e5858cd5a408e8f95d2a98e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177320
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-11-27 09:57:07 +01:00
..
2024-05-17 11:50:35 +02:00
2024-08-27 16:39:22 +02:00
2024-09-11 16:47:08 +02:00
2024-08-29 20:09:50 +02:00
2024-05-07 12:54:16 +02:00
2024-11-08 22:49:42 +01:00
2024-09-13 12:08:30 +02:00
2024-05-11 13:28:17 +02:00
2024-05-11 13:28:17 +02:00
2024-09-12 12:09:09 +02:00
2024-07-25 15:21:19 +02:00
2024-11-26 15:09:25 +01:00
2023-12-10 00:37:58 +01:00
2024-11-26 14:42:25 +01:00
2024-07-16 02:08:59 +02:00
2024-05-10 21:52:28 +02:00
2024-11-26 15:01:22 +01:00
2024-05-10 15:27:16 +02:00
2024-09-19 09:43:17 +02:00
2024-10-22 23:48:27 +02:00
2024-04-18 09:47:21 +02:00
2024-09-18 22:28:46 +02:00
2024-07-05 13:39:37 +02:00
2024-08-29 19:30:31 +02:00
2024-05-11 13:28:17 +02:00
2024-10-14 08:11:10 +02:00
2024-11-27 09:57:07 +01:00
2024-07-26 13:08:47 +02:00

External Projects

External projects bundled with LibreOffice.