Subject: A global variable gets an erroneous value

From: Tommi Höynälänmaa <[email-masked]>
Date: Wed, 5 Jan 2022 11:15:16 +0200

This bug is present only in hppa and m68k architectures, see

https://buildd.debian.org/status/fetch.php?pkg=theme-d&arch=hppa&ver=4.1.0-2&stamp=1640945222&raw=0

and

https://buildd.debian.org/status/fetch.php?pkg=theme-d&arch=m68k&ver=4.1.0-2&stamp=1640945363&raw=0

The backtrace in those logs contains the following lines:

In theme-d/translator/theme-d-representation.scm:
    2275:0  2 (_)
In theme-d/translator/theme-d-entities.scm:
     297:2  1 (tno-field-set! 1 type #(#(#(#t "hrecord-type" 5 …) …) …))

See 
https://salsa.debian.org/tohoyn-guest/theme-d/-/blob/master/theme-d/translator/theme-d-representation.scm.in 
for theme-d-representation.scm.

Now the call argument to procedure tno-field-set! in line 2275 is 
tc-pair-fields, which is initialized to a list in line 1356. However, 
the backtrace shows that the value of this argument is 1.

      - Tommi Höynälänmaa

-- 
Kotisivu / Homepage:http://www.iki.fi/tohoyn/
Sähköposti / E-Mail:[email-masked]
GPG-sormenjälki / GPG fingerprint:
55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83
FM, Debian-ylläpitäjä / M.Sc., Debian Maintainer