kayws426 / embox

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

fatal on running #612

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r9920,x86/nonvga_debug
2.run embox, and press enter

What is the expected output? What do you see instead?
Starting shell [tish] at device [uart]
root@embox:/#qemu: fatal: Trying to execute code outside RAM or ROM at 
0xe824834b

EAX=ffffff00 EBX=00000001 ECX=00000001 EDX=00000023
ESI=00000000 EDI=00000000 EBP=00145d72 ESP=0028f540
EIP=e824834b EFL=00000202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]
SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     00238020 0000002f
IDT=     00238060 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 
DR6=ffff0ff0 DR7=00000400
CCS=00000004 CCD=0028f534 CCO=EFLAGS  
EFER=0000000000000000
FCW=037f FSW=0100 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=ae4b375f9fcd8000 bff9
FPR6=0000000000000000 0000 FPR7=a666666666666800 3fff
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000

----or-------
    test: running embox.test.framework.mod.member.ops_test . done
    test: running embox.test.recursion . done
    test: running embox.test.kernel.timer.sleep_test 
    failure at src/tests/sleep/sleep_test.c : 32, in function __test_case_at_line_26
        test_assert_true(epsilon < EPSILON_BORDER)
       case at src/tests/sleep/sleep_test.c : 26
        "one sleep"

ASSERTION FAILED at ./src/include/../util/prioq_impl.h : 54,
    in function prioq_enqueue_link:

list_is_empty(&new_link->elem_list)
kernel debug panic

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
  9  00297dc8  00196f85  <__assertion_handle_failure+0x73>
  8  00297e08  0018d908  <prioq_enqueue_link+0x237>
  7  00297e58  0018de1c  <runq_queue_insert+0x4d>
  6  QEMU: Terminated

-------------or------------
    test: running embox.test.recursion . done
    test: running embox.test.kernel.timer.sleep_test 
    failure at src/tests/sleep/sleep_test.c : 32, in function __test_case_at_line_26
        test_assert_true(epsilon < EPSILON_BORDER)
       case at src/tests/sleep/sleep_test.c : 26
        "one sleep"
    .
ASSERTION FAILED at ./src/include/kernel/thread/state.h : 97,
    in function thread_state_do_outcpu:

thread_state_oncpu(state)
kernel debug panic

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
  9  0028fdf0  00196f85  <__assertion_handle_failure+0x73>
  8  0028fe30  001546dc  <thread_state_do_outcpu+0x2e>
  7  0028fe50  00154c38  <runq_switch+0xc6>
  6  0028fe80  00154359  <sched_switch+0x6f>
  5  0028feb0  00140404  <critical_dispatch_pending+0x66>
  4  0028fef0  0010040b  <irq_handler+0x80>
  3  0028ff30  0010004c  <_traps_text_start+0x1c>
  2  0028ff78  0010052c  <arch_idle+0x4>
  1  0028ff88  001102df  <thread_trampoline+0x85>

QEMU: Terminated
-----or----------
    test: running embox.test.framework.mod.member.ops_test . done
    test: running embox.test.recursion . done
    test: running embox.test.kernel.timer.sleep_test ..EXCEPTION [0x1]: error = 00000000
EAX=fee00000    EBX=00000001 ECX=ffffffff EDX=f000ff53
 GS=00000010     FS=00000010  ES=00000010  DS=00000010
EDI=00000000    ESI=0028ffbc EBP=0028fe60 EIP=00000001
 CS=00000008 EFLAGS=00000202 ESP=00000001  SS=00112933

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
  9  0028fd38  00142617  <exception_handler+0x15d>
  8  0028fde8  00100079  <excep_stub+0x1c>
  7  0028fe60  00000001
  6  0028fe70  00111fa8  <softirq_dispatch+0xa0>
  5  0028feb0  00140404  <critical_dispatch_pending+0x66>
  4  0028fef0  0010040b  <irq_handler+0x80>
  3  0028ff30  0010004c  <_traps_text_start+0x1c>
  2  0028ff78  0010052c  <arch_idle+0x4>
  1  0028ff88  001102df  <thread_trampoline+0x85>

QEMU: Terminated

Original issue reported on code.google.com by ki.stfu on 27 Jun 2013 at 8:15

GoogleCodeExporter commented 9 years ago
OMG.. at r9825:
    unit: initializing embox.kernel.time.timekeeper: done
    test: running embox.test.fs.filesystem_test ...
ASSERTION FAILED at src/compat/posix/util/environ.c : 27,
    in function env_lookup:

vals[i] != NULL
kernel debug panic

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
 26  00dd7ad8  001953ad  <__assertion_handle_failure+0x73>
 25  00dd7b18  00191988  <env_lookup+0x98>
 24  00dd7b48  00191a68  <getenv+0x82>
 23  00dd7b78  00146d7a  <vfs_get_leaf+0x12>
 22  00dd7ba8  00148152  <kremove+0xb>
 21  00dd7bd8  00192c8d  <remove+0x11>
 20  00dd7c08  001167e2  <__test_case_at_line_59+0x3d>
 19  00dd7c28  0018cdfa  <test_run+0x47>
 18  00dd7c88  0018cd52  <test_case_run+0x52>
 17  00dd7cb8  0018cc74  <test_suite_run+0xbb>
 16  00dd7cf8  0018ca3f  <test_mod_enable+0x14>
 15  00dd7d18  0018c604  <invoke_mod_enable+0x3d>
 14  00dd7d48  0018c706  <do_enable+0x53>
 13  00dd7d78  0018c50f  <mod_traverse_rec_safe+0x131>
 12  00dd7dc8  0018c205  <mod_enable_rec_safe+0x34>
 11  00dd7df8  0018c220  <mod_enable+0x19>
 10  00dd7e18  0018d07f  <rl_mod_enable+0x43>
  9  00dd7e58  0018c604  <invoke_mod_enable+0x3d>
  8  00dd7e88  0018c706  <do_enable+0x53>
  7  00dd7eb8  0018c50f  <mod_traverse_rec_safe+0x131>
  6  00dd7f08  0018c205  <mod_enable_rec_safe+0x34>
  5  00dd7f38  0018c220  <mod_enable+0x19>
  4  00dd7f58  0018d1f2  <runlevel_enter+0x35>
  3  00dd7f88  0018d182  <runlevel_set+0x24>
  2  00dd7fb8  001000ff  <init+0x24>
  1  00dd7fe8  001000bd  <kernel_start+0x10>

QEMU: Terminated
.
Yesterday I update my system to Mint15. Maybe this is the reason?

Original comment by ki.stfu on 27 Jun 2013 at 8:54

GoogleCodeExporter commented 9 years ago
r9800:

Starting shell [tish] at device [uart]
root@embox:/#EXCEPTION [0x6]: error = 00000000
EAX=6bf0005c    EBX=00000001 ECX=00287f31 EDX=00145c30
 GS=00000010     FS=00000010  ES=00000010  DS=00000010
EDI=00000004    ESI=00000005 EBP=00244d80 EIP=0000004c
 CS=00000008 EFLAGS=00000206 ESP=00000001  SS=00000001

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
  3  00287dd8  001420b7  <exception_handler+0x15d>
  2  00287e88  00100079  <excep_stub+0x1c>
  1  00244d80  0000004c

Most likely I'm right.

Original comment by ki.stfu on 27 Jun 2013 at 9:01

GoogleCodeExporter commented 9 years ago
the same in r9750:

Starting shell [tish] at device [uart]
root@embox:/#qemu: fatal: Trying to execute code outside RAM or ROM at 
0x000a0000

EAX=00040000 EBX=00000001 ECX=00243d60 EDX=53000010
ESI=00000001 EDI=00000001 EBP=627501e6 ESP=ffffff80
EIP=0009fff6 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]
SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     00236020 0000002f
IDT=     00236060 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 
DR6=ffff0ff0 DR7=00000400
CCS=00040000 CCD=00040000 CCO=ADDB    
EFER=0000000000000000
FCW=037f FSW=0100 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=ae4b375f9fcd8000 bff9
FPR6=0000000000000000 0000 FPR7=a666666666666800 3fff
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000

Original comment by ki.stfu on 27 Jun 2013 at 12:08

GoogleCodeExporter commented 9 years ago
Too many errors from various places. More information should be provided

Original comment by drakon.m...@gmail.com on 5 Jul 2013 at 5:28

GoogleCodeExporter commented 9 years ago
fixed by r10019, r10021.

Original comment by ki.stfu on 10 Jul 2013 at 2:20