The plot thickens. Compiling with asan on ARM gives the following for downloadertest: Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0xb6b19344 in pthread_cond_init () from /usr/lib/arm-linux-gnueabihf/libasan.so.1 #2 0xb6a70e96 in xmlNewRMutex__internal_alias () at ../../threads.c:308 #3 0xb6aa7fd8 in __xmlInitializeDict () at ../../dict.c:179 #4 0xb6927092 in pthread_once () from /lib/arm-linux-gnueabihf/libpthread.so.0 #5 0xb6a710da in xmlIsMainThread__internal_alias () at ../../threads.c:803 #6 0xb6a70916 in __xmlGenericError__internal_alias () at ../../globals.c:865 #7 0xb6a28ce2 in xmlInitParser__internal_alias () at ../../parser.c:14728 #8 0xb6a38110 in xmlInitParser__internal_alias () at ../../parser.c:15297 #9 xmlReadMemory__internal_alias (buffer=0xb3a0175c "http://dummy", size=63, URL=0x0, encoding=0x0, options=257) at ../../parser.c:15293 #10 0x0005ce0a in LastFMDownloader::parseXML (this=0xbeffee80, xml=...) at ../src/lastfmdownloader.cpp:44 #11 0x0005d4ba in LastFMDownloader::download (this=0xbeffee80, artist=..., album=..., fname=...) at ../src/lastfmdownloader.cpp:75 #12 0x00056140 in Downloader_canned_Test::TestBody (this=0xb44008d0) at ../tests/download.cpp:54 #13 0x0008f2b0 in testing::internal::HandleSehExceptionsInMethodIfSupported (object=0xb44008d0, method=&virtual testing::Test::TestBody(), location=0xa50c0 "the test body") at /usr/src/gtest/src/gtest.cc:2078 #14 0x00087bd6 in testing::internal::HandleExceptionsInMethodIfSupported (object=0xb44008d0, method=&virtual testing::Test::TestBody(), location=0xa50c0 "the test body") at /usr/src/gtest/src/gtest.cc:2114 #15 0x0006628a in testing::Test::Run (this=0xb44008d0) at /usr/src/gtest/src/gtest.cc:2151 #16 0x00066d8c in testing::TestInfo::Run (this=0xb3402b90) at /usr/src/gtest/src/gtest.cc:2326 #17 0x00067632 in testing::TestCase::Run (this=0xb4a02980) at /usr/src/gtest/src/gtest.cc:2444 #18 0x00070790 in testing::internal::UnitTestImpl::RunAllTests (this=0xb3203dc0) at /usr/src/gtest/src/gtest.cc:4315 #19 0x00091034 in testing::internal::HandleSehExceptionsInMethodIfSupported (object=0xb3203dc0, method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x70121 , location=0xa74c0 "auxiliary test code (environments or event listeners)") at /usr/src/gtest/src/gtest.cc:2078 #20 0x0008969e in testing::internal::HandleExceptionsInMethodIfSupported (object=0xb3203dc0, method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x70121 , location=0xa74c0 "auxiliary test code (environments or event listeners)") at /usr/src/gtest/src/gtest.cc:2114 #21 0x0006e70c in testing::UnitTest::Run (this=0xd1c60 ) at /usr/src/gtest/src/gtest.cc:3929 #22 0x000573ec in RUN_ALL_TESTS () at /usr/include/gtest/gtest.h:2288 #23 0x00056da0 in main (argc=1, argv=0xbefff344) at ../tests/download.cpp:109