Thanks to visit codestin.com
Credit goes to github.com

Skip to content

free(): invalid pointer in when_any test #347

@jbaldwin

Description

@jbaldwin

free(): invalid pointer in when_any test

 1: [thread_pool]
1: 
1: before event thread_id = 140369580648000
1: setting event
1: after event thread_id = 140369563866688
1: 1749658469571047061 wait for 1seconds
1: 1749658470571119922 wait for 1seconds
1: 1749658471569111712 wait for 3seconds
1: 1749658471571187963 wait for 1seconds
1: 1749658472571251957 wait for 1seconds
1: 1749658473571321260 wait for 1seconds
1: 1749658474569182616 wait for 3seconds
1: 1749658477569253975 wait for 3seconds
1: 1749658480569326225 wait for 3seconds
1: 1749658483569399492 wait for 3seconds
1: g_count = 	200000
1: [~thread_pool]
1: 
1: [when_all]
1: 
1: [~when_all]
1: 
1: [when_any]
1: 
1: BEGIN when_any two tasks
1: BEGIN when_any return void
1: BEGIN when_any tuple return void (monostate)
1: BEGIN when_any two tasks one long running
1: free(): invalid pointer
1/1 Test #1: libcoro_tests ....................Subprocess aborted***Exception: 115.16 sec
Errors while running CTest
Output from these tests are in: /__w/libcoro/libcoro/Release/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 115.16 sec

The following tests FAILED:
	  1 - libcoro_tests (Subprocess aborted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions