[Debian-science-sagemath] Bug#844789: gap: bad interaction between SAGE/atomic_write and GAP/SaveWorkspace [WAS: issue related to compressed manual.six]

Jerome BENOIT calculus at rezozer.net
Tue Nov 22 22:47:24 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

On 22/11/16 22:28, Bill Allombert wrote:
> On Tue, Nov 22, 2016 at 05:52:11AM +0000, Jerome BENOIT wrote:
>> I guess that the random bytes in /tmp/gapsage.log are not expected at
>> all, and that they somehow feed some GAP variable.
>> My current assumption is that the unpatched GAP (i.e., the upstream
>> version) is blind to those random bytes, while the patched version
>> (the one effectively in Debian unstable) is not, and it is getting
>> confused. Given that the random bytes are certainly a copy
>> of the workspace, this means that the current sage potentially deals
>> with this large amount of random bytes for nothing but wasting its
>> time: it could be an important hidden bug.
> 
> You are falling short of providing evidence of this, however.
> 
>> In short, atomic_write seems to badly interact with SaveWorkspace .

I made no claim.
I am still confused here: why those random bytes are printed ?

>>
>> SaveWorkspace is implemented in C in the source file <GAP>/src/saveload.c [1]
>> atomic_write is part of sagemath [2]
> 
> Why not simply remove atomic_write ? atomic_write seems to make
> assumption on GAP I/O that are unwarranted.

Which assumption ?

Jerome

> 
> Cheers,
> 

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

iQQcBAEBCgAGBQJYNMr7AAoJED+SGaZ/NsaLzeUgAIX48Mc6npzdkgeu5pmBVBYy
XxbO8GT26hFWV6OXCLE75cR1VRM8EFGRi+SbCtBvWW9a/d6Wrhb50+8I4dvRZoNR
p1t5Zf4Cc1xAkSKS9YoNp1iSgZt4GlqEua1BHRlARWnY5q6CvtpX063bvjXStikP
vohOizwYT31ICZsXLymLnFHHeKmfyL9yWt2XT1jzujqT1nq+VJuS6EaxlKA4LQZV
8oUxxOX1pi5PXHPxfbXUmoP0rn+FLwKc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aIDJdqf4vytV7SuD7fJhSMuXgsGykj/JKAjp3p2pZ9cMI=
=4kGu
-----END PGP SIGNATURE-----



More information about the Debian-science-sagemath mailing list