libarchive / libarchive

Multi-format archive and compression library

Home Page:http://www.libarchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`make check` hangs

eworm-de opened this issue · comments

Just built new version 3.7.4, but make check hangs since about 20 minutes. Looks like ./libarchive_test is running in an infinite loop.

Thin hangs in test_read_format_xar_doublelink, though only in my build environment.

22ea7d9 comes to mind... Is it possible that is causes a loop instead of fixing it?

Ah, the test is new... Also introduced with this commit.

Hi,

22ea7d9 comes to mind... Is it possible that is causes a loop instead of fixing it?

The loop already exists in 3.7.3, which can be seen by running bsdtar -tf libarchive/test/test_read_format_xar_doublelink.xar.uu which enters the infinite loop.

Since you've already stated that it fails in your build environment, I checked again and it turns out that if xar uses expat instead of libxml2, the loop still exists.

This means that my commit only fixed the libxml2 case, which is kind of no surprise to me, because libxml2 wins over expat and I thought that the source outside of these ifdef-checks would behave the same, regardless of source.

So, it was a great idea by the maintainers to add the test!