alloc error when running tests #104

Closed
opened 2020-09-01 16:49:23 +08:00 by sb10q · 3 comments
test/coredevice> env ARTIQ_ROOT=/home/sb/artiq-zynq/examples python -m unittest *.py  -v
...
test_array_large (test_performance.TransferTest) ... ok
test_array_small (test_performance.TransferTest) ... ok
test_async_throughput (test_performance.TransferTest) ... 

(freezes here)

UART log:

[   286.653961s] DEBUG(runtime::kernel::core1): Core1 started
[   286.660414s] DEBUG(dyld): ELF target: 69664 bytes, align to 10000, allocated at 00A10000
[   286.668514s] DEBUG(dyld): Relocating 0 rela, 0 rel, 32 pltrel
[   286.674280s] DEBUG(runtime::kernel::core1): kernel loaded
[   286.680060s]  INFO(runtime::kernel::core1): kernel starting
Core 1 panic at /home/sb/.cargo/git/checkouts/zynq-rs-86025542dc0aa80d/a73df78/libsupport_zynq/src/ram.rs:91:5: Core 1 alloc_error, layout: Layout { size_: 2097180, align_: 1 }, used memory: 7410276
Backtrace: 
0x1239e0 0x127cec 0x13c024 0x12799c 0x127968 0x127890 0x1216e8 0xa104a4 0xa10380 0x11d5c8 0x1001a4 
End backtrace

```text test/coredevice> env ARTIQ_ROOT=/home/sb/artiq-zynq/examples python -m unittest *.py -v ... test_array_large (test_performance.TransferTest) ... ok test_array_small (test_performance.TransferTest) ... ok test_async_throughput (test_performance.TransferTest) ... ``` (freezes here) UART log: ```text [ 286.653961s] DEBUG(runtime::kernel::core1): Core1 started [ 286.660414s] DEBUG(dyld): ELF target: 69664 bytes, align to 10000, allocated at 00A10000 [ 286.668514s] DEBUG(dyld): Relocating 0 rela, 0 rel, 32 pltrel [ 286.674280s] DEBUG(runtime::kernel::core1): kernel loaded [ 286.680060s] INFO(runtime::kernel::core1): kernel starting Core 1 panic at /home/sb/.cargo/git/checkouts/zynq-rs-86025542dc0aa80d/a73df78/libsupport_zynq/src/ram.rs:91:5: Core 1 alloc_error, layout: Layout { size_: 2097180, align_: 1 }, used memory: 7410276 Backtrace: 0x1239e0 0x127cec 0x13c024 0x12799c 0x127968 0x127890 0x1216e8 0xa104a4 0xa10380 0x11d5c8 0x1001a4 End backtrace ```
Poster
Owner

This is reproduced easily on a fresh boot simply by running test_performance.TransferTest.test_async_throughput.

Looks like a regression.

This is reproduced easily on a fresh boot simply by running test_performance.TransferTest.test_async_throughput. Looks like a regression.
Poster
Owner

Disabled temporarily to reduce noise in CI
f0289d49ab

Disabled temporarily to reduce noise in CI https://github.com/m-labs/artiq/commit/f0289d49ab1c7686e10c8390d0d28af7125abe59

Fixed in 805f1d4eff

Fixed in 805f1d4eff
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#104
There is no content yet.