[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Silent crash when processing some Scheme's bytevectors

From: Bruno Haible
Subject: Re: [bug-gettext] Silent crash when processing some Scheme's bytevectors
Date: Mon, 14 May 2018 21:04:32 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-119-generic; KDE/5.18.0; x86_64; ; )


Florent Angly wrote:
> inputFile contains the paths to numerous Scheme source files and the xgettext
> command seems to run fine (no errors reported), but the expected pot file is
> not generated. When inspecting the exit code of xgettext, I get the value 127,
> confirming an abnormal exit. I managed to narrow the issue to a single source
> file that contains SRFI-4/R7RS bytevector statements like: '#u8(0 10 5) .
> Uncommenting these statements with a ';' made the failure disappear.

Thanks for reporting it and for having nailed it down to this particular syntax.
There is indeed a memory management bug here.

> Note that the failure is not systematic. It seems to depend on the position 
> of '#u8(). For example, this works:
>     #(0 10 5)
>    '#(0 10 5)
>     #u8(0 10 5)
>    '#u8(0 10 5)
>     #vu8(0 10 5)
>    '#vu8(0 10 5)

Thanks for mentioning this #vu8 syntax. I wasn't aware of it.

The bug will be fixed, and proper support for #vu8 etc. added in the next



reply via email to

[Prev in Thread] Current Thread [Next in Thread]