1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
2714:pth_lib.c:0070: pth_init: enter
2714:pth_lib.c:0231: pth_spawn: enter
2714:pth_mctx.c:0251: pth_mctx_set: enter
2714:pth_mctx.c:0395: pth_mctx_set_trampoline: return to caller
2714:pth_mctx.c:0399: pth_mctx_set_trampoline: reentered from caller
2714:pth_mctx.c:0437: pth_mctx_set_trampoline_jumpin: switch back to caller
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_mctx.c:0367: pth_mctx_set: leave
2714:pth_lib.c:0328: pth_spawn: leave
2714:pth_lib.c:0231: pth_spawn: enter
2714:pth_lib.c:0328: pth_spawn: leave
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_mctx.c:0444: pth_mctx_set_trampoline_jumpin: reentered from scheduler
2714:pth_sched.c:0169: pth_scheduler: bootstrapping
2714:pth_sched.c:0196: pth_scheduler: new thread "main" moved to top of ready queue
2714:pth_sched.c:0214: pth_scheduler: thread "main" selected (prio=0, qprio=0)
2714:pth_sched.c:0239: pth_scheduler: switching to thread 0x4794928 ("main")
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_lib.c:0134: pth_init: leave
2714:pth_lib.c:0231: pth_spawn: enter
2714:pth_mctx.c:0251: pth_mctx_set: enter
2714:pth_mctx.c:0395: pth_mctx_set_trampoline: return to caller
2714:pth_mctx.c:0399: pth_mctx_set_trampoline: reentered from caller
2714:pth_mctx.c:0437: pth_mctx_set_trampoline_jumpin: switch back to caller
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_mctx.c:0367: pth_mctx_set: leave
2714:pth_lib.c:0328: pth_spawn: leave
2714:pth_lib.c:0231: pth_spawn: enter
2714:pth_mctx.c:0251: pth_mctx_set: enter
2714:pth_mctx.c:0395: pth_mctx_set_trampoline: return to caller
2714:pth_mctx.c:0399: pth_mctx_set_trampoline: reentered from caller
2714:pth_mctx.c:0437: pth_mctx_set_trampoline_jumpin: switch back to caller
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_mctx.c:0367: pth_mctx_set: leave
2714:pth_lib.c:0328: pth_spawn: leave
2714:pth_event.c:0394: pth_wait: enter from thread "main"
2714:pth_event.c:0400: pth_wait: waiting on event 0x477b4c0
2714:pth_lib.c:0502: pth_yield: enter from thread "main"
2714:pth_lib.c:0524: pth_yield: give up control to scheduler
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_sched.c:0256: pth_scheduler: cameback from thread 0x4794928 ("main")
2714:pth_sched.c:0265: pth_scheduler: thread "main" ran 0.134300
2714:pth_sched.c:0347: pth_scheduler: moving thread "main" to waiting queue
2714:pth_sched.c:0410: pth_sched_eventmanager: enter in polling mode
2714:pth_sched.c:0838: pth_sched_eventmanager: leaving
2714:pth_sched.c:0196: pth_scheduler: new thread "gui_message_loop" moved to top of ready queue
2714:pth_sched.c:0196: pth_scheduler: new thread "app_main" moved to top of ready queue
2714:pth_sched.c:0214: pth_scheduler: thread "app_main" selected (prio=0, qprio=0)
2714:pth_sched.c:0239: pth_scheduler: switching to thread 0x4794c60 ("app_main")
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_mctx.c:0444: pth_mctx_set_trampoline_jumpin: reentered from scheduler
2714:pth_lib.c:0231: pth_spawn: enter
2714:pth_mctx.c:0251: pth_mctx_set: enter
2714:pth_mctx.c:0395: pth_mctx_set_trampoline: return to caller
2714:pth_mctx.c:0399: pth_mctx_set_trampoline: reentered from caller
2714:pth_mctx.c:0437: pth_mctx_set_trampoline_jumpin: switch back to caller
==== THREAD CONTEXT SWITCH ===========================================
2714:pth_mctx.c:0367: pth_mctx_set: leave
Segmentation fault (core dumped)