Bug#489444: gcc-4.3: [arm] occasional but reproducible segfaults in 'install'
Some additional information.
This seems to be a very tricky issue.
I can reliably reproduce it when I run debuild as normal user (using
fakeroot), for example with a loop in debian/rules running
dh_installdocs:
cnt=1; while :; do echo $cnt; dh_installdocs || echo "Error"; cnt=$((cnt +
1)); done
1
2
dh_installdocs: command returned error code 11
Error
3
dh_installdocs: command returned error code 11
Error
4
5
6
7
dh_installdocs: command returned error code 11
Error
8
However, if I run debuild as root or using sudo, the segfault no longer
occurs. But I can also not reproduce the error by just running the
failing install command directly with fakeroot. The following produces no
errors:
while :; do fakeroot install -g 0 -o 0 -m 644 -p debian/copyright \
debian/qcontrol/usr/share/doc/qcontrol/copyright || \
echo $?; done
The backtrace was created by modifying dh_installdocs to run 'install'
inside gdb. Installing libc6-dbg did not result in a more usable
backtrace.
If needed I can provide access to the box that shows the failures.
Cheers,
FJP
Reply to: