… | |
… | |
4 | TODO: channel->maxsize(newsize)? |
4 | TODO: channel->maxsize(newsize)? |
5 | TODO: __GCC_HAVE_DWARF2_CFI_ASM |
5 | TODO: __GCC_HAVE_DWARF2_CFI_ASM |
6 | TODO: swap_sv, maybe add scope_swap_sv, andallow to unswap by repeat? |
6 | TODO: swap_sv, maybe add scope_swap_sv, andallow to unswap by repeat? |
7 | TODO: swap_sv not undone in pool |
7 | TODO: swap_sv not undone in pool |
8 | |
8 | |
9 | Program terminated with signal 11, Segmentation fault. |
9 | 6.36 Tue Mar 4 07:11:59 CET 2014 |
10 | #0 coro_semaphore_adjust (av=0x0, adjust=0) at State.xs:2915 |
10 | - semaphores would not clear the destroy hook when interrupted |
11 | 2915 State.xs: No such file or directory. |
11 | by ->throw, causing segfaults or worse. |
12 | (gdb) bt |
12 | - ->throw on a thread waiting for a semaphore did not acquire |
13 | #0 coro_semaphore_adjust (av=0x0, adjust=0) at State.xs:2915 |
13 | the semaphore, but also didn't wake up other waiters, |
14 | #1 0x00007f638f0c0703 in slf_destroy (coro=0x5957180) at State.xs:2605 |
14 | possibly causing a deadlock. |
15 | #2 coro_state_destroy (coro=0x5957180) at State.xs:1712 |
|
|
16 | #3 0x00007f638f0c150c in coro_state_destroy (coro=<optimized out>) at State.xs:1709 |
|
|
17 | #4 XS_Coro__destroy (cv=<optimized out>) at State.xs:3853 |
|
|
18 | #5 0x00000000004b572d in Perl_pp_entersub () at pp_hot.c:2881 |
|
|
19 | #6 0x00000000004adfe3 in Perl_runops_standard () at run.c:42 |
|
|
20 | #7 0x000000000044335f in S_run_body (oldscope=<optimized out>) at perl.c:2462 |
|
|
21 | #8 perl_run (my_perl=<optimized out>) at perl.c:2383 |
|
|
22 | #9 0x00007f638f0ba3a1 in cctx_run (arg=<optimized out>) at State.xs:1478 |
|
|
23 | #10 0x00007f638f0b74d5 in coro_init () at libcoro/coro.c:96 |
|
|
24 | (gdb) up |
|
|
25 | #1 0x00007f638f0c0703 in slf_destroy (coro=0x5957180) at State.xs:2605 |
|
|
26 | 2605 in State.xs |
|
|
27 | (gdb) p coro->slf_frame |
|
|
28 | $1 = { |
|
|
29 | prepare = 0x7f638f0baf60 <prepare_schedule>, |
|
|
30 | check = 0x7f638f0b6e70 <slf_check_repeat>, |
|
|
31 | data = 0x0, |
|
|
32 | destroy = 0x7f638f0bb820 <coro_semaphore_destroy> |
|
|
33 | |
|
|
34 | |
|
|
35 | TODO: warnhook reports from wrong line number now, when arg is Math::GMP number. |
|
|
36 | - FATAL: $Coro::IDLE blocked itself will now use Carp::confess |
15 | - "FATAL: $Coro::IDLE blocked itself" will now use Carp::confess |
37 | to report a full stacktrace, which should help find out |
16 | to report a full stacktrace, which should help find out |
38 | where the actual call is. |
17 | where the actual call is. |
39 | - "atomically" destroy data in slf_destroy, because it is |
18 | - "atomically" destroy data in slf_destroy, because it is |
40 | the right thing to do, just in case. |
19 | the right thing to do, just in case. |
41 | - disable ecb.h libm dependency, to compile on ancient systems |
20 | - disable ecb.h libm dependency, to compile on ancient systems |