eimrine / phantomuserland

Automatically exported from code.google.com/p/phantomuserland
GNU Lesser General Public License v3.0
0 stars 0 forks source link

sem release must be callable from intr #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attempt to create sema from sem_release causes panic.

BTW, who holds spin here?

Panic: t_schedule.c:459, thread_block: assertion 
'global_lock_entry_count[GET_CPU_ID()] == 2' failed
tid 13 Stack:-   18d1f4: _stack_dump
-   181a12: _panic
-   1837b9: _thread_block
-   1810b8: _hal_mutex_lock
-   11eba4: _malloc
-   18aea1: _calloc
-   18211e: _hal_sem_init
-   1821d5: _checkinit
-   182757: _hal_sem_release
-   11e0a2: _drv_video_window_receive_event
-   11db42: _push_event
-   11db14: _event_push_thread
-   1814a2: _kernel_thread_starter
-   1847b3: _phantom_thread_c_starter
-   184874: _phantom_thread_trampoline

Original issue reported on code.google.com by dmitry.zavalishin@gmail.com on 24 Jul 2011 at 12:20

GoogleCodeExporter commented 9 years ago
does not happen. generally sema release works from interrupt

Original comment by dmitry.zavalishin@gmail.com on 6 Oct 2011 at 8:54