libera/#clasp - IRC Chatlog
Search
22:35:11
drmeister
It's a particular frame that causes this problem. Many frames work fine. But the one that is bad is always the same one.
22:35:40
drmeister
DWARFContext/"/home/meister/Development/clasp/src/lisp/regression-tests/framework.fasp"@21-21
22:36:01
drmeister
It's fine the first time the dwarf.lisp file evaluates - the second time this one throws up these errors.
22:38:34
drmeister
The start and size of the object file don't change from when it works to when it doesn't. That suggests that the SectionTableSize or SectionTableOffset has changed - or the object file was damaged.
22:39:08
drmeister
I'll calculate a checksum of each object file and print that to check for the contents of the object files changing.
23:14:45
drmeister
../../src/core/backtrace.cc:154:args_from_offset When trying to get arguments from CL frame read what should be a closure 0x7ffd9d16fa40 but it isn't
23:16:04
drmeister
Ok, the object file memory is being written into between the first time it runs successfully and the second time that it screws up.
23:18:01
drmeister
So the object file in memory for framework.fasp is being damaged because the crc32 is changing from 5735e8ad to 8bc17eb6
23:20:02
drmeister
All of the object files I see are aligned to a page boundary so I could mprotect them and detect when they are being written to.
23:22:00
drmeister
DWARFContext/"/home/meister/Development/clasp/src/lisp/regression-tests/framework.fasp"@21-21
0:51:17
drmeister
Bike: we don't execute object files. They are used to generate runnable Code_O objects.
0:51:56
drmeister
But yes - it appears that something is writing into an object file and when we get a DWARFContext on it after its written into - we get a problem.
1:33:41
drmeister
I dumped the first words before we get the DWARFContext the first time and the second time and there are changes.
1:42:36
drmeister
The system-construction.lisp regression tests compile-file-parallel and compile-file-serial framework.lisp - I think that's when the memory buffer for the object file is being changed.
1:48:41
drmeister
I'd ask lhames about MemoryBuffer on Discord but I just searched for "MemoryBuffer" and I've asked an embarrassing number of questions about "MemoryBuffer"s.