Test Report

deterministic

MetricCount
Total Test Cases79
Number of Successes35
Number of Failures44
Number of Compilation Failure Native0
Number of Runtime Failure Native0
Number of Segmentation Fault Native0
Number of Timeout During Native0
Number of Lind Wasm Compile Failure0
Number of Lind Wasm Runtime Failure0
Number of Lind Wasm Segmentation Failure0
Number of Timeout During Lind Wasm run0
Number of Unknown Failure0
Number of GCC and Wasm Output mismatch0

non_deterministic

MetricCount
Total Test Cases46
Number of Successes17
Number of Failures29
Number of Compilation Failure Native0
Number of Runtime Failure Native0
Number of Segmentation Fault Native0
Number of Timeout During Native0
Number of Lind Wasm Compile Failure0
Number of Lind Wasm Runtime Failure0
Number of Lind Wasm Segmentation Failure0
Number of Timeout During Lind Wasm run0
Number of Unknown Failure0
Number of GCC and Wasm Output mismatch0

deterministic

non_deterministic

deterministic:

Test CaseStatusError TypeOutput
/home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.cFailureLind_wasm_compiling
/home/lind/lind-wasm/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04/bin/clang -pthread --target=wasm32-unknown-wasi --sysroot /home/lind/lind-wasm/src/glibc/sysroot -Wl,--import-memory,--export-memory,--max-memory=67108864,--export=__stack_pointer,--export=__stack_low /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.c -g -O0 -o /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.wasm &&  /home/lind/lind-wasm/tools/binaryen/bin/wasm-opt --epoch-injection --asyncify -O2 --debuginfo /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.wasm -o /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.wasm && /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime compile /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.wasm -o /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.cwasm

/home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/cpuid.c:10:31: error: invalid output constraint '=a' in asm
   10 |         __asm__ volatile ( "cpuid" : "=a"(reg[3]), "=b"(reg[0]), "=c"(reg[2]), "=d"(reg[1]) : "a"(0) : "cc");
      |                                      ^
1 error generated.
/home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/dnstest.cFailureLind_wasm_Segmentation_Fault
is sockfd valid? yes

thread 'main' panicked at crates/rawposix/src/interface/types.rs:287:64:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f05a802e7c4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  8195 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/config_tests/deterministic/dnstest.cwasm
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/chmod.cSuccessNone
Mode changed successfully
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/cloexec.cFailureOutput_mismatch
=== native Output ===
fstat on fd1 returns 0, should succeed
fstat on fd2 returns -1, should fail

=== WASM Output ===

/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/close.cSuccessNone
File opened and closed 2000 times successfully.
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/creat_access.cFailureOutput_mismatch
=== native Output ===
Created file
File exists
File has the right permissions

=== WASM Output ===
Created file
COULD NOT ACCESS FILE: No such file or directory
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/doubleclose.cSuccessNone
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/dup2.cSuccessNone
Testing dup2
I should be printed before the file contents!
I will be printed in the file dup2test.txt
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/dupwrite.cSuccessNone
write succeeded
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/fchmod.cSuccessNone
Mode changed successfully
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/fcntl.cSuccessNone
Original FD: 3
F_DUPFD duplicated FD: 100
F_DUPFD_CLOEXEC duplicated FD: 101
Original FD flags: FD flags = 0x0
F_DUPFD duplicated FD flags: FD flags = 0x0
F_DUPFD_CLOEXEC duplicated FD flags: FD flags = 0x1
After F_SETFD on F_DUPFD duplicated FD: FD flags = 0x1
Test completed successfully.
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/fdatasync.cFailureFailure_native_running
Error opening file: Permission denied
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/filetest.cSuccessNone
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/filetest1000.cSuccessNone
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/flock.cFailureLind_wasm_Segmentation_Fault
Obtained exclusive lock on file
Released exclusive lock on file
Obtained shared lock on file

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  8885 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/flock.cwasm
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/fstat.cSuccessNone
running fstat("testfiles/fstatfile.txt")
size: 19
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/fsync.cFailureFailure_native_running
Error opening file: Permission denied
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/ioctl.cSuccessNone
[For 0 = False and  = True]
[The answers should be F, T, F]

(0) Is the socket set for non-blocking I/O?: 0
[Setting socket for non_blocking I/O]
(1) Is the socket set for non-blocking I/O?: 2048
[Clearing socket for non-blocking I/O]
(2) Is the socket set for non-blocking I/O?: 0
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/mkdir_rmdir.cSuccessNone
Created directory successfully
Removed directory successfully
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.cFailureLind_wasm_compiling
/home/lind/lind-wasm/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04/bin/clang -pthread --target=wasm32-unknown-wasi --sysroot /home/lind/lind-wasm/src/glibc/sysroot -Wl,--import-memory,--export-memory,--max-memory=67108864,--export=__stack_pointer,--export=__stack_low /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.c -g -O0 -o /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.wasm &&  /home/lind/lind-wasm/tools/binaryen/bin/wasm-opt --epoch-injection --asyncify -O2 --debuginfo /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.wasm -o /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.wasm && /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime compile /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.wasm -o /home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/popen.cwasm

[wasm-validator error in function __clone_internal_fallback] unexpected false: non-final block elements returning a value must be dropped, on 
(block (result i32)
 (global.set $__stack_pointer
  (local.tee $3
   (i32.sub
    (global.get $__stack_pointer)
    (i32.const 16)
   )
  )
 )
 (local.set $4
  (i64.load offset=32
   (local.get $0)
  )
 )
 (local.set $5
  (i64.load
   (local.get $0)
  )
 )
 (local.set $6
  (i32.load offset=48
   (local.get $0)
  )
 )
 (local.set $7
  (i32.load offset=40
   (local.get $0)
  )
 )
 (local.set $8
  (i64.load offset=24
   (local.get $0)
  )
 )
 (local.set $9
  (i64.load offset=56
   (local.get $0)
  )
 )
 (i64.store32 offset=8
  (local.get $3)
  (i64.load offset=16
   (local.get $0)
  )
 )
 (i64.store32 offset=4
  (local.get $3)
  (local.get $9)
 )
 (i64.store32
  (local.get $3)
  (local.get $8)
 )
 (local.get $1)
 (i32.add
  (local.get $7)
  (local.get $6)
 )
 (i32.wrap_i64
  (i64.or
   (local.get $4)
   (local.get $5)
  )
 )
 (local.get $2)
 (local.get $3)
 (local.set $0
  (call $__GI___clone)
 )
 (global.set $__stack_pointer
  (i32.add
   (local.get $3)
   (i32.const 16)
  )
 )
 (local.get $0)
)
(on index 10:
0x557639bc6ef0
), type: i32
[wasm-validator error in function __clone_internal_fallback] unexpected false: non-final block elements returning a value must be dropped, on 
(block (result i32)
 (global.set $__stack_pointer
  (local.tee $3
   (i32.sub
    (global.get $__stack_pointer)
    (i32.const 16)
   )
  )
 )
 (local.set $4
  (i64.load offset=32
   (local.get $0)
  )
 )
 (local.set $5
  (i64.load
   (local.get $0)
  )
 )
 (local.set $6
  (i32.load offset=48
   (local.get $0)
  )
 )
 (local.set $7
  (i32.load offset=40
   (local.get $0)
  )
 )
 (local.set $8
  (i64.load offset=24
   (local.get $0)
  )
 )
 (local.set $9
  (i64.load offset=56
   (local.get $0)
  )
 )
 (i64.store32 offset=8
  (local.get $3)
  (i64.load offset=16
   (local.get $0)
  )
 )
 (i64.store32 offset=4
  (local.get $3)
  (local.get $9)
 )
 (i64.store32
  (local.get $3)
  (local.get $8)
 )
 (local.get $1)
 (i32.add
  (local.get $7)
  (local.get $6)
 )
 (i32.wrap_i64
  (i64.or
   (local.get $4)
   (local.get $5)
  )
 )
 (local.get $2)
 (local.get $3)
 (local.set $0
  (call $__GI___clone)
 )
 (global.set $__stack_pointer
  (i32.add
   (local.get $3)
   (i32.const 16)
  )
 )
 (local.get $0)
)
(on index 11:
0x557639bc6f38
), type: i32
[wasm-validator error in function __clone_internal_fallback] unexpected false: non-final block elements returning a value must be dropped, on 
(block (result i32)
 (global.set $__stack_pointer
  (local.tee $3
   (i32.sub
    (global.get $__stack_pointer)
    (i32.const 16)
   )
  )
 )
 (local.set $4
  (i64.load offset=32
   (local.get $0)
  )
 )
 (local.set $5
  (i64.load
   (local.get $0)
  )
 )
 (local.set $6
  (i32.load offset=48
   (local.get $0)
  )
 )
 (local.set $7
  (i32.load offset=40
   (local.get $0)
  )
 )
 (local.set $8
  (i64.load offset=24
   (local.get $0)
  )
 )
 (local.set $9
  (i64.load offset=56
   (local.get $0)
  )
 )
 (i64.store32 offset=8
  (local.get $3)
  (i64.load offset=16
   (local.get $0)
  )
 )
 (i64.store32 offset=4
  (local.get $3)
  (local.get $9)
 )
 (i64.store32
  (local.get $3)
  (local.get $8)
 )
 (local.get $1)
 (i32.add
  (local.get $7)
  (local.get $6)
 )
 (i32.wrap_i64
  (i64.or
   (local.get $4)
   (local.get $5)
  )
 )
 (local.get $2)
 (local.get $3)
 (local.set $0
  (call $__GI___clone)
 )
 (global.set $__stack_pointer
  (i32.add
   (local.get $3)
   (i32.const 16)
  )
 )
 (local.get $0)
)
(on index 12:
0x557639bc6fb8
), type: i32
[wasm-validator error in function __clone_internal_fallback] unexpected false: non-final block elements returning a value must be dropped, on 
(block (result i32)
 (global.set $__stack_pointer
  (local.tee $3
   (i32.sub
    (global.get $__stack_pointer)
    (i32.const 16)
   )
  )
 )
 (local.set $4
  (i64.load offset=32
   (local.get $0)
  )
 )
 (local.set $5
  (i64.load
   (local.get $0)
  )
 )
 (local.set $6
  (i32.load offset=48
   (local.get $0)
  )
 )
 (local.set $7
  (i32.load offset=40
   (local.get $0)
  )
 )
 (local.set $8
  (i64.load offset=24
   (local.get $0)
  )
 )
 (local.set $9
  (i64.load offset=56
   (local.get $0)
  )
 )
 (i64.store32 offset=8
  (local.get $3)
  (i64.load offset=16
   (local.get $0)
  )
 )
 (i64.store32 offset=4
  (local.get $3)
  (local.get $9)
 )
 (i64.store32
  (local.get $3)
  (local.get $8)
 )
 (local.get $1)
 (i32.add
  (local.get $7)
  (local.get $6)
 )
 (i32.wrap_i64
  (i64.or
   (local.get $4)
   (local.get $5)
  )
 )
 (local.get $2)
 (local.get $3)
 (local.set $0
  (call $__GI___clone)
 )
 (global.set $__stack_pointer
  (i32.add
   (local.get $3)
   (i32.const 16)
  )
 )
 (local.get $0)
)
(on index 13:
0x557639bc6fd8
), type: i32
[wasm-validator error in function __clone_internal_fallback] unexpected false: non-final block elements returning a value must be dropped, on 
(block (result i32)
 (global.set $__stack_pointer
  (local.tee $3
   (i32.sub
    (global.get $__stack_pointer)
    (i32.const 16)
   )
  )
 )
 (local.set $4
  (i64.load offset=32
   (local.get $0)
  )
 )
 (local.set $5
  (i64.load
   (local.get $0)
  )
 )
 (local.set $6
  (i32.load offset=48
   (local.get $0)
  )
 )
 (local.set $7
  (i32.load offset=40
   (local.get $0)
  )
 )
 (local.set $8
  (i64.load offset=24
   (local.get $0)
  )
 )
 (local.set $9
  (i64.load offset=56
   (local.get $0)
  )
 )
 (i64.store32 offset=8
  (local.get $3)
  (i64.load offset=16
   (local.get $0)
  )
 )
 (i64.store32 offset=4
  (local.get $3)
  (local.get $9)
 )
 (i64.store32
  (local.get $3)
  (local.get $8)
 )
 (local.get $1)
 (i32.add
  (local.get $7)
  (local.get $6)
 )
 (i32.wrap_i64
  (i64.or
   (local.get $4)
   (local.get $5)
  )
 )
 (local.get $2)
 (local.get $3)
 (local.set $0
  (call $__GI___clone)
 )
 (global.set $__stack_pointer
  (i32.add
   (local.get $3)
   (i32.const 16)
  )
 )
 (local.get $0)
)
(on index 14:
0x557639bc6ff0
), type: i32
Fatal: error validating input
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/pread_pwrite.cSuccessNone
[file is opened]
[succeeded write(1) process]
[reading(1) data] from pwrite.txt
[Lind is amazing!]
-----------------------------------
[succeeded write(2) process]
[reading(2) data] from pwrite.txt
[NYU is amazing!]
[succeeded in close]
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/printf.cSuccessNone
Hello, World!
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/readbytes.cSuccessNone
This is a test of the wonderful fork call in lind.
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/readlink.cFailureOutput_mismatch
=== native Output ===
=== Test Case 1: Valid symbolic link ===
Symbolic link points to: /home/lind/lind-wasm/src/RawPOSIX/tmp/testfiles/readlinkfile.txt

=== Test Case 2: Path is not a symbolic link ===
Expected failure: Invalid argument

=== Test Case 3: Symbolic link with buffer too small ===
Symbolic link truncated result: /home

=== Test Case 4: Non-existent path ===
Expected failure: No such file or directory

=== WASM Output ===
=== Test Case 1: Valid symbolic link ===
Symbolic link points to: testfiles/readlinkfile.txt

=== Test Case 2: Path is not a symbolic link ===
Expected failure: Invalid argument

=== Test Case 3: Symbolic link with buffer too small ===
Symbolic link truncated result: test

=== Test Case 4: Non-existent path ===
Expected failure: No such file or directory
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/readlinkat.cFailureOutput_mismatch
=== native Output ===
Test Case 1: Symbolic link points to: /home/lind/lind-wasm/src/RawPOSIX/tmp/testfiles/readlinkfile.txt
Test Case 3: Expected failure: No such file or directory
Test Case 4: Expected failure: Bad file descriptor

=== WASM Output ===
Test Case 1: Symbolic link points to: /home/lind/lind-wasm/src/RawPOSIX/tmp/testfiles/readlinkfile.txt
Test Case 2: Symbolic link points to: /home/lind/lind-wasm/src/RawPOSIX/tmp/testfiles/readlinkfile.txt
Test Case 3: Expected failure: No such file or directory
Test Case 4: Expected failure: Bad file descriptor
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/rename.cSuccessNone
SUCCESS WITH RENAMING
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/stat.cSuccessNone
running stat("testfiles/statfile.txt")
size: 18
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/sync_file_range.cFailureFailure_native_running
Error opening file: Permission denied
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/truncate.cSuccessNone
Test truncate(const char *, off_t)
Truncating testfiles/truncatefile.txt from 32 to 155
Success
Truncating testfiles/truncatefile.txt from 155 to 32
Success
Test ftruncate(int, off_t)
Truncating testfiles/truncatefile.txt from 32 to 155
Success
Truncating testfiles/truncatefile.txt from 155 to 32
Success
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/unlinkat.cSuccessNone
=== Test Case 1: Remove valid file ===
Test Case 1: Successfully removed testfiles/unlinkatfile.txt

=== Test Case 2: Remove non-existent file ===
Test Case 2: Expected failure: No such file or directory

=== Test Case 3: Remove file in a subdirectory ===
Test Case 3: Successfully removed file in subdirectory

=== Test Case 4: Remove a directory with AT_REMOVEDIR ===
Test Case 4: Successfully removed directory testfiles/unlinkatsubdir

=== Test Case 5: Remove a directory without AT_REMOVEDIR ===
Test Case 5: Expected failure: Is a directory
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/write.cSuccessNone
Hello world from Coulson's WASM
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/writeloop.cSuccessNone
write succeeded
/home/lind/lind-wasm/tests/unit-tests/file_tests/deterministic/writepartial.cSuccessNone
write
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/malloc.cSuccessNone
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/malloc_large.cFailureOutput_mismatch
=== native Output ===
0x7f2fb1212010: 42

=== WASM Output ===
0xefffe010: 42
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/memcpy.cSuccessNone
Hello, World!
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap-nagative1.cFailureFailure_native_running
Segmentation fault (core dumped)
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap-nagative2.cFailureFailure_native_running
Segmentation fault (core dumped)
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap.cFailureFailure_native_compiling
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap.c: In function ‘main’:
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap.c:9:26: warning: implicit declaration of function ‘__builtin_wasm_memory_size’ [-Wimplicit-function-declaration]
    9 |     int linear_mem_end = __builtin_wasm_memory_size(0);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccSTNnD3.o: in function `main':
mmap.c:(.text+0x2a): undefined reference to `__builtin_wasm_memory_size'
/usr/bin/ld: mmap.c:(.text+0x79): undefined reference to `__builtin_wasm_memory_size'
collect2: error: ld returned 1 exit status
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap_complicated.cFailureLind_wasm_Segmentation_Fault
Parent: Waiting for child to write.
Child: Writing to shared memory.
Parent: Reading from shared memory: 'Hello from the child process!'

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  3380 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap_complicated.cwasm
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap_file.cSuccessNone
Data written to memory-mapped file: Hello, mmap!
Data read back from memory-mapped file: Hello, mmap!
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmap_shared.cFailureOutput_mismatch
=== native Output ===
parent value: 1234, 4321
parent value after fork: 1234, 4321
parent value after modification: 2333, 3332
parent value: 1234, 4321
child value after fork: 1234, 4321
child value after modification: 2333, 4321

=== WASM Output ===
parent value: 1234, 4321
child value after fork: 1234, 4321
parent value after fork: 1234, 4321
parent value after modification: 2333, 3332
child value after modification: 2333, 4321
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mmaptest.cSuccessNone
Testfile for mmaptest
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/mprotect.cSuccessNone
Mprotect write test text
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/sbrk.cFailureOutput_mismatch
=== native Output ===
Initial program break: 0x559bcb3ff000
New program break after allocation: 0x559bcb421000
Content in allocated memory: Hello, sbrk memory!
Program break after deallocation: 0x559bcb420c00

=== WASM Output ===
Initial program break: 0x30000
New program break after allocation: 0x31000
Content in allocated memory: Hello, sbrk memory!
Program break after deallocation: 0x30000
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/shmtest.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/memory_tests/deterministic/vtable.cFailureOutput_mismatch
=== native Output ===
Shape 0 area: 12.000000
Shape 1 area: 19.634954

=== WASM Output ===
Shape 0 area: 12
Shape 1 area: 19.635
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/makepipe.cSuccessNone
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/pipepong.cFailureUnknown_Failure
Parent sending 1
Child received 1
Child sends 2
Parent received 2
Parent sending 3
Child received 3
Child sends 4
Parent received 4
Parent sending 5
Child received 5
Child sends 6
Parent received 6
Parent sending 7
Child received 7
Child sends 8
Parent received 8
Parent sending 9
Child received 9
Child sends 10
Parent received 10
Parent sending 11
Child received 11
Child sends 12
Parent received 12
Parent sending 13
Child received 13
Child sends 14
Parent received 14
Parent sending 15
Child received 15
Child sends 16
Parent received 16
Parent sending 17
Child received 17
Child sends 18
Parent received 18
Parent sending 19
Child received 19
Child sends 20
Parent received 20
Parent sending 21
Child received 21
Child sends 22
Parent received 22
Parent sending 23
Child received 23
Child sends 24
Parent received 24
Parent sending 25
Child received 25
Child sends 26
Parent received 26
Parent sending 27
Child received 27
Child sends 28
Parent received 28
Parent sending 29
Child received 29
Child sends 30
Parent received 30
Parent sending 31
Child received 31
Child sends 32
Parent received 32
Parent sending 33
Child received 33
Child sends 34
Parent received 34
Parent sending 35
Child received 35
Child sends 36
Parent received 36
Parent sending 37
Child received 37
Child sends 38
Parent received 38
Parent sending 39
Child received 39
Child sends 40
Parent received 40
Parent sending 41
Child received 41
Child sends 42
Parent received 42
Parent sending 43
Child received 43
Child sends 44
Parent received 44
Parent sending 45
Child received 45
Child sends 46
Parent received 46
Parent sending 47
Child received 47
Child sends 48
Parent received 48
Parent sending 49
Child received 49
Child sends 50
Parent received 50
Parent sending 51
Child received 51
Child sends 52
Parent received 52
Parent sending 53
Child received 53
Child sends 54
Parent received 54
Parent sending 55
Child received 55
Child sends 56
Parent received 56
Parent sending 57
Child received 57
Child sends 58
Parent received 58
Parent sending 59
Child received 59
Child sends 60
Parent received 60
Parent sending 61
Child received 61
Child sends 62
Parent received 62
Parent sending 63
Child received 63
Child sends 64
Parent received 64
Parent sending 65
Child received 65
Child sends 66
Parent received 66
Parent sending 67
Child received 67
Child sends 68
Parent received 68
Parent sending 69
Child received 69
Child sends 70
Parent received 70
Parent sending 71
Child received 71
Child sends 72
Parent received 72
Parent sending 73
Child received 73
Child sends 74
Parent received 74
Parent sending 75
Child received 75
Child sends 76
Parent received 76
Parent sending 77
Child received 77
Child sends 78
Parent received 78
Parent sending 79
Child received 79
Child sends 80
Parent received 80
Parent sending 81
Child received 81
Child sends 82
Parent received 82
Parent sending 83
Child received 83
Child sends 84
Parent received 84
Parent sending 85
Child received 85
Child sends 86
Parent received 86
Parent sending 87
Child received 87
Child sends 88
Parent received 88
Parent sending 89
Child received 89
Child sends 90
Parent received 90
Parent sending 91
Child received 91
Child sends 92
Parent received 92
Parent sending 93
Child received 93
Child sends 94
Parent received 94
Parent sending 95
Child received 95
Child sends 96
Parent received 96
Parent sending 97
Child received 97
Child sends 98
Parent received 98
Parent sending 99
Child received 99
Child sends 100
signal_callback export not found

thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/signal.rs:33:52:
called `Result::unwrap()` on an `Err` value: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/poll.cSuccessNone
stdout is ready for writing.
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/socket.cSuccessNone
Socket opened succesfully.
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/socketpair.cSuccessNone
-->In Xanadu, did Kublai Khan . . .
-->A stately pleasure dome decree . . .
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/uds-getsockname.cFailureLind_wasm_Segmentation_Fault
Error: failed to run main module `/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/uds-getsockname.cwasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0:  0x33e - uds-getsockname.wasm!undefined_weak:main
           1: 0x10e9 - uds-getsockname.wasm!__main_void
           2:  0xdd3 - uds-getsockname.wasm!_start
           3: 0x148bc - uds-getsockname.wasm!_start.command_export
       note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
    2: wasm trap: wasm `unreachable` instruction executed
/home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/uds-nb-select.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f7d27ffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7189 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/deterministic/uds-nb-select.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/chain_thread.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f806bffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  5084 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/chain_thread.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/exit.cSuccessNone
Exiting...
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forkdup.cFailureLind_wasm_Segmentation_Fault
I'm the parent

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4308 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forkdup.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forkexecuid.cFailureLind_wasm_Segmentation_Fault
printing getgid:
thread 'lind-fork-2' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4454 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forkexecuid.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forkexecv.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4237 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forkexecv.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forknodup.cFailureLind_wasm_Segmentation_Fault
I'm the PARENT

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4525 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/forknodup.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/function-ptr.cSuccessNone
Hello, World!
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/getppid.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4943 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/getppid.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/getuid.cFailureOutput_mismatch
=== native Output ===
printing getgid:
1000
printing getuid:
1000
printing getegid:
1000
printing geteuid:
1000

=== WASM Output ===
printing getgid:
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/hello.cSuccessNone
wark
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/mutex.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f126fffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4167 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/mutex.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/noforkfiles.cSuccessNone
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sem_forks.cFailureUnknown_Failure
signal_callback export not found

thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/signal.rs:33:52:
called `Result::unwrap()` on an `Err` value: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.cFailureLind_wasm_compiling
/home/lind/lind-wasm/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04/bin/clang -pthread --target=wasm32-unknown-wasi --sysroot /home/lind/lind-wasm/src/glibc/sysroot -Wl,--import-memory,--export-memory,--max-memory=67108864,--export=__stack_pointer,--export=__stack_low /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.c -g -O0 -o /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.wasm &&  /home/lind/lind-wasm/tools/binaryen/bin/wasm-opt --epoch-injection --asyncify -O2 --debuginfo /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.wasm -o /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.wasm && /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime compile /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.wasm -o /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/setsid.cwasm

wasm-ld: error: /tmp/setsid-104812.o: undefined symbol: setsid
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sigalrm.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sigchld.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  5573 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sigchld.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/signal-fork.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/signal-simple.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sigpipe.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sigprocmask.cFailureLind_wasm_Segmentation_Fault
Error: failed to run main module `/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/sigprocmask.cwasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0:  0x352 - sigprocmask.wasm!undefined_weak:main
           1: 0x10fd - sigprocmask.wasm!__main_void
           2:  0xde7 - sigprocmask.wasm!_start
           3: 0x149f0 - sigprocmask.wasm!_start.command_export
       note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
    2: wasm trap: wasm `unreachable` instruction executed
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/thread-test.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f7da7ffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  4665 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/thread-test.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/thread.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f74dbffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  5223 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/deterministic/thread.cwasm
/home/lind/lind-wasm/tests/unit-tests/signal_tests/deterministic/alarm.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/deterministic/setitimer.cFailureLind_wasm_timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/deterministic/signal_resethand.cFailureFailure_native_running
child send SIGINT
child send SIGINT again

non_deterministic:

Test CaseStatusError TypeOutput
/home/lind/lind-wasm/tests/unit-tests/config_tests/non-deterministic/gethostname.cSuccessNone
Hostname: a331361f2686
/home/lind/lind-wasm/tests/unit-tests/config_tests/non-deterministic/getifaddrs.cFailureUnknown_Failure
thread 'main' panicked at crates/rawposix/src/safeposix/dispatcher.rs:323:78:
called `Result::unwrap()` on an `Err` value: -95
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
/home/lind/lind-wasm/tests/unit-tests/config_tests/non-deterministic/sysconf.cSuccessNone
calling sysconf(sysconf())
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/chdir_getcwd.cSuccessNone
current working directory is: / :: /
current working directory is: / :: /
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/clock_gettime_highlevel.cSuccessNone
Running 1,000,000 iterations...

Start time: 17257 clock ticks
End time: 23261 clock ticks
Elapsed CPU time: 0.006004 seconds
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/clock_gettime_simple.cSuccessNone
Current time: 1747762936 seconds and 754074100 nanoseconds
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/dup.cSuccessNone
duped fd: 3
attempting to write to dup() fd

write to dup() fd succeeded
write to old fd succeeded
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/fchdir.cSuccessNone
current working directory is: / :: /
Error with open: No such file or directory
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/fstatfs.cSuccessNone
Filesystem type: 794c7630
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/getcwd.cSuccessNone
current working directory is: / :: /
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/read.cSuccessNone
open(): No such file or directory
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/sc-writev.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f50bbffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229: 10821 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/sc-writev.cwasm
/home/lind/lind-wasm/tests/unit-tests/file_tests/non-deterministic/statfs.cSuccessNone
Filesystem type: 794c7630
/home/lind/lind-wasm/tests/unit-tests/memory_tests/non-deterministic/segfault.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/memory_tests/non-deterministic/shm.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipe.cSuccessNone
pipe() ret: [3, 4]
write() ret: 3
read() ret: 3
hi
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipe2.cSuccessNone
pipe2() ret: [3, 4]
write() ret: 3
read() ret: 3
hi
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipeinput.cFailureLind_wasm_Segmentation_Fault
about to write to pipe in parent
I'm parent with pid: 2
H
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7756 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipeinput.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipeinput2.cFailureLind_wasm_Segmentation_Fault
about to write to pipe in parent
I'm parent with pid: 2
He
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  8002 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipeinput2.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipeonestring.cFailureLind_wasm_Segmentation_Fault
about to write to pipe in parent
I'm parent with pid: 2
I'm child with pid: 0

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  8125 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipeonestring.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/pipewrite.cSuccessNone
Made pipe with write end 3 and read end 4
wrote 16
write 16
wrote 16
wrote three messages to the pipe
msg 0, length 16: hello, world #1
msg 1, length 16: hello, world #2
msg 2, length 16: hello, world #3
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/serverclient.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f63a3ffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7818 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/serverclient.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/shutdown.cFailureLind_wasm_Segmentation_Fault
Starting Ponger

thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f2f77ffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7573 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/shutdown.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/shutdown_fork.cFailureLind_wasm_Segmentation_Fault
0000119

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7879 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/shutdown_fork.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/socketepoll.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7efd5bffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7512 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/socketepoll.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/socketselect.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7ff43fffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  8064 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/socketselect.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/uds-serverclient.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7ff11fffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7941 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/uds-serverclient.cwasm
/home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/uds-socketselect.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f8f63ffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  7695 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/networking_tests/non-deterministic/uds-socketselect.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/fork.cFailureUnknown_Failure
[#1:L20] pid 1 forking
[#2:L57] pid 1 forking
[#2:L29] pid 2 forking
[#3:L41] pid 2 waiting on -1 (PID_ANY), child is 4
[#3:L37] pid = 4, ret = 0, status = 0
[#3:L65] pid = 3, ret = 0, status = 0
signal_callback export not found

thread 'lind-fork-2' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/signal.rs:33:52:
called `Result::unwrap()` on an `Err` value: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
signal_callback export not found

thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/signal.rs:33:52:
called `Result::unwrap()` on an `Err` value: ()
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/fork2malloc.cFailureLind_wasm_Segmentation_Fault
first malloc
Address of mptr1 0x301a0
Contents of mptr1 deadbeef
pre-fork

thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  6132 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/fork2malloc.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/fork_simple.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  5696 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/fork_simple.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/forkandopen.cSuccessNone
Parent: Testing open in parent: pid 2!
Child: Testing open in child: pid 0!
Parent: Pid 2 opened fd 3
Child: Pid 0 opened fd -1
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/forkfiles.cFailureUnknown_Failure
signal_callback export not found

thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/signal.rs:33:52:
called `Result::unwrap()` on an `Err` value: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/forkmalloc.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at crates/rawposix/src/interface/types.rs:219:17:
null pointer dereference occurred
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  5946 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/forkmalloc.cwasm
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/getpid.cSuccessNone
printing pidSuccess
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/template.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/tls_test.cFailureLind_wasm_Segmentation_Fault
thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f44dfffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  5635 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/process_tests/non-deterministic/tls_test.cwasm
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal.cSuccessNone
main starts!
parent in loop, pid=1
child ready to kill
child done kill
parent in loop, pid=1
parent in loop, pid=1
Terminated
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_SIGCHLD.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_fork.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_int_thread.cFailureLind_wasm_Segmentation_Fault
main starts!

thread 'main' panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-common/src/lib.rs:57:43:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x7f3e6fffe5e4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
/home/lind/lind-wasm/scripts/lindtool.sh: line 229:  6592 Aborted                 (core dumped) /home/lind/lind-wasm/src/wasmtime/target/debug/wasmtime run --allow-precompiled --wasi threads=y --wasi preview2=n /home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_int_thread.cwasm
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_longjmp.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_nodefer.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_procmask.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_recursive.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)
/home/lind/lind-wasm/tests/unit-tests/signal_tests/non-deterministic/signal_sa_mask.cFailureLind_wasm_Timeout
Timed Out (timeout: 5s)