This is an Ubuntu specific bug. The same package in Debian is not
affected. Steps to reproduce:
cat > test.sh <<EOF
#!/usr/bin/env bash
set -eux
apt update
apt install -y tkrzw-utils
tkrzw_dbm_util create db.hash
tkrzw_dbm_util set db.hash a 1
tkrzw_dbm_util set db.hash b 2
tkrzw_dbm_util set db.hash c 3
tkrzw_dbm_util remove db.hash a
apt policy tkrzw-utils
tkrzw_dbm_util list db.hash | sort | cat -A
EOF
chmod +x test.sh
podman run --rm -it -v $PWD/test.sh:/test.sh docker.io/library/debian
/test.sh
###
This ends with the expected result:
```
+ apt policy tkrzw-utils
tkrzw-utils:
Installed: 1.0.32-1+b1
Candidate: 1.0.32-1+b1
Version table:
*** 1.0.32-1+b1 500
500 http://deb.debian.org/debian trixie/main amd64 Packages
100 /var/lib/dpkg/status
+ tkrzw_dbm_util list db.hash
+ sort
+ cat -A
b^I2$
c^I3$
```
podman run --rm -it -v $PWD/test.sh:/test.sh
docker.io/library/ubuntu:devel /test.sh
```
...
+ apt policy tkrzw-utils
tkrzw-utils:
Installed: 1.0.32-1build1
Candidate: 1.0.32-1build1
Version table:
*** 1.0.32-1build1 500
500 http://archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
100 /var/lib/dpkg/status
+ tkrzw_dbm_util list db.hash
+ sort
+ cat -A
a^I M-^M-- $
b^I2$
c^I3$
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142937
Title:
tkrzw remove fails or leaves corrupted data when compiled with default
optimizations
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tkrzw/+bug/2142937/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs