Walkingmind / embox

Automatically exported from code.google.com/p/embox
2 stars 0 forks source link

Qt crash on VNC after waitq merge #663

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. update to r11797 and build template x86/qt-vnc
2. run ./auto_qemu -m 512 
3. try to connect to embox from your host with `xvncviewer 10.0.2.16`
4. login into embox and try to run texteditor or change wallpaper

What is the expected output? What do you see instead?

E.g. this occurs when I try to run texteditor:

ASSERTION FAILED at src/kernel/sched/sched.c : 99,
    in function sched_wake:

t != current
    ( )
kernel debug panic

Backtrace:
    pc         func + offset
    ---------- ------------------------
 63 0x00849b61 <__assertion_handle_failure+0x73>
 62 0x008255ce <sched_wake+0x34>
 61 0x0082635b <waitq_thread_notify+0x6e>
 60 0x00826445 <waitq_notify_all_err+0x35>
 59 0x001019df <waitq_notify_all+0x19>
 58 0x00101b70 <manual_event_set_and_notify+0x48>
 57 0x008361e9 <io_sync_enable+0x67>
 56 0x0083c97b <sock_rcv+0x80>
 55 0x001247cc <tcp_sock_rcv+0x102>
 54 0x0012595d <tcp_st_estabil+0x94>
 53 0x0012645a <tcp_handle+0xf8>
 52 0x001265e9 <tcp_process+0x64>
 51 0x001268ed <tcp4_rcv+0xe9>
 50 0x001214e2 <ip_rcv+0x3f4>
 49 0x0083eb26 <net_rx+0x1b5>
 48 0x0012874d <netif_poll+0x13>
 47 0x00128792 <netif_rx_action+0x2a>

Or somethimes even so:

ASSERTION FAILED at src/kernel/sched/waitq.c : 161,
    in function waitq_thread_notify:

__THREAD_STATE_WAITING & thread->state
    ( )
kernel debug panic

Backtrace:
    pc         func + offset
    ---------- ------------------------
 29 0x00849b61 <__assertion_handle_failure+0x73>
 28 0x0082633f <waitq_thread_notify+0x52>
 27 0x0082600f <timeout_handler+0x1f>
 26 0x00101fe2 <timer_strat_sched+0x83>
 25 0x008242ed <soft_clock_handler+0xb>
 24 0x00102400 <softirq_dispatch+0xa0>
 23 0x00102bdb <critical_dispatch_pending+0x65>
 22 0x00836bb5 <softirq_unlock+0x17>
 21 0x008374be <neighbour_get_haddr+0xd3>
 20 0x00838159 <nt_build_hdr+0xc5>
 19 0x00838275 <net_tx+0x7e>
 18 0x00121d73 <ip_xmit+0xdf>
 17 0x0012240f <ip_snd+0xa8>
 16 0x00124bfc <tcp_xmit+0xe4>
 15 0x00124eed <send_nonseq_from_sock+0x6b>
 14 0x00126577 <tcp_handle+0x215>
 13 0x001265e9 <tcp_process+0x64>
 12 0x001268ed <tcp4_rcv+0xe9>
 11 0x001214e2 <ip_rcv+0x3f4>
 10 0x0083eb26 <net_rx+0x1b5>
  9 0x0012874d <netif_poll+0x13>
  8 0x00128792 <netif_rx_action+0x2a>
  7 0x0083eb41 <softirq_wrap+0x19>
  6 0x00102400 <softirq_dispatch+0xa0>
  5 0x00102bdb <critical_dispatch_pending+0x65>
  4 0x001003d3 <irq_handler+0x7f>
  3 0x0010004c <irq_stub+0x1c>
  2 0x00100864 <arch_idle+0x4>
  1 0x00103c9d <thread_trampoline+0x97>

Original issue reported on code.google.com by alexkalmuk@gmail.com on 25 Nov 2013 at 2:11

GoogleCodeExporter commented 9 years ago
fixed. see r11815

Original comment by Vita.Loginova on 26 Nov 2013 at 8:22