kayws426 / embox

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

irq_handler recursion #621

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r10085, nonvga_debug/x86
2.run embox
3.start httpd and try to open http://10.0.2.16 (this step not required)

What is the expected output? What do you see instead?
Starting shell [tish] at device [uart]
root@embox:/#httpd
Welcome to http://10.0.2.16

ASSERTION FAILED at src/arch/x86/kernel/irq_handler.c : 21,
    in function irq_handler:

!critical_inside(CRITICAL_IRQ_LOCK)
kernel debug panic

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
  8  002e3dac  00197dd1  <__assertion_handle_failure+0x73>
  7  002e3dec  001003c2  <irq_handler+0x37>
  6  002e3e2c  0010004c  <_traps_text_start+0x1c>
  5  002e3eb0  00112047  <ipl_init+0x20>
  4  002e3ef0  0010040b  <irq_handler+0x80>
  3  002e3f30  0010004c  <_traps_text_start+0x1c>
  2  002e3f78  0010052c  <arch_idle+0x4>
  1  002e3f88  00110480  <thread_trampoline+0x85>

QEMU: Terminated

-----------------------------------------------------------------------
> ifconfig eth0 10.0.2.16 netmask 255.255.255.0 hw ether AA:BB:CC:DD:EE:02 up 
> route add 10.0.2.0 netmask 255.255.255.0 eth0 
> route add defau
ASSERTION FAILED at src/arch/x86/kernel/irq_handler.c : 21,
    in function irq_handler:

!critical_inside(CRITICAL_IRQ_LOCK)
kernel debug panic

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
 27  0115e9a4  00197d9d  <__assertion_handle_failure+0x73>
 26  0115e9e4  001003c2  <irq_handler+0x37>
 25  0115ea24  0010004c  <_traps_text_start+0x1c>
 24  0115eaa8  00112047  <ipl_init+0x20>
 23  0115eae8  0010040b  <irq_handler+0x80>
 22  0115eb28  0010004c  <_traps_text_start+0x1c>
 21  0115eb98  001438d2  <iodev_putc+0x1d>
 20  0115ebb8  00198677  <print_s+0x147>
 19  0115ebf8  00199b8d  <__print+0x6d1>
 18  0115ec88  0019a226  <printk+0x52>
 17  0115ecb8  001213c9  <run_script+0x8f>
 16  0115ece8  0018f34b  <unit_mod_enable+0x53>
 15  0115ed18  0018e698  <invoke_mod_enable+0x3d>
 14  0115ed48  0018e79a  <do_enable+0x53>
 13  0115ed78  0018e5a3  <mod_traverse_rec_safe+0x131>
 12  0115edc8  0018e299  <mod_enable_rec_safe+0x34>
 11  0115edf8  0018e2b4  <mod_enable+0x19>
 10  0115ee18  0018f113  <rl_mod_enable+0x43>
  9  0115ee58  0018e698  <invoke_mod_enable+0x3d>
  8  0115ee88  0018e79a  <do_enable+0x53>
  7  0115eeb8  0018e5a3  <mod_traverse_rec_safe+0x131>
  6  0115ef08  0018e299  <mod_enable_rec_safe+0x34>
  5  0115ef38  0018e2b4  <mod_enable+0x19>
  4  0115ef58  0018f286  <runlevel_enter+0x35>
  3  0115ef88  0018f216  <runlevel_set+0x24>
  2  0115efb8  001000ff  <init+0x24>
  1  0115efe8  001000bd  <kernel_start+0x10>

QEMU: Terminated

Please use labels and text to provide additional information.
qemu 1.5.1

Original issue reported on code.google.com by ki.stfu on 17 Jul 2013 at 1:28

GoogleCodeExporter commented 9 years ago

Original comment by drakon.m...@gmail.com on 17 Jul 2013 at 1:29