On Sun, Jul 05, 2009 at 02:20:29PM +0100, Steve Cotton wrote: > The BTS doesn't automatically forward mail to the bug submitter > (unless bugnumber-submit...@b.d.o is CC˙d). > > On Tue, Jun 30, 2009 at 08:25:55AM +0200, gurkan wrote: > > I just can't reproduce the segfault, it scrolls up and up here, and I can > > make points... > > Are you testing with a 32 bit or 64 bit executables? Josh and I > are both using 64 bits; I've just found it works OK when built in > a (lenny) 32 bit chroot. > > Doing a > s/unsigned long/unsigned int/g > on spout.c and then building for 64 bit also works, and the bits > of code that it's changing seem to expect "pL++" to move the > pointer four bytes rather than eight.
Ah, that would explain it. If the code does expect a four byte value, it should use uint32_t (guaranteed to use 32 bits), not unsigned long (which has 32 bits on most 32-bit platforms) *or* unsigned int (which has 32 bits on most current platforms). - Josh Triplett -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org