Package: check
Version: 0.9.8-1
Severity: normal

I had check-0.9.6 installed in /usr/local and in /usr (via deb package).
Now that I updated to check-0.9.8, one of my tests suddenly started to
hang/crash.

It turns out that it was including the header from check-0.9.6 (/usr/local),
and linking to the lib in /usr/lib. Since 0.9.8 was just a micro release I
didn't expect incompatibilities.

Attached is a testcase: a test compiled with check.h from 0.9.6,
and linked to 0.9.8.
When run it hangs, because check continues to run the loop test with indices
beyond its limit. Depending on the test this just causes an infinite loop, or a
crash.

I think there should be a warning that 0.9.8 is not ABI compatible,
and you should always check for version compatibility (by comparing the version
defined in the header with the one from the global vars).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.4 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages check depends on:
ii  dpkg                      1.15.5.6       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 

check recommends no packages.

check suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to