kayws426 / embox

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

terminate telnet subprocess #649

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r11000, x86/nonvga_debug
2.run telnetd
3.open telnet connection on host machine and run httpd over telnet
4.kill telnetd

What is the expected output? Wh6/at do you see instead?
2:
==EMBOX==
Started shell [tish] on device [ttyS0]
loading start script:
> ifconfig lo 127.0.0.1 netmask 255.0.0.0 up 
> route add 127.0.0.0 netmask 255.0.0.0 lo 
> 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 default gw 10.0.2.10 eth0 
> export PWD=/ 
> export HOME=/ 
root@embox:/#telnetd

3:
==HOST==
$ telnet 10.0.2.16
Trying 10.0.2.16...
Connected to 10.0.2.16.
Escape character is '^]'.
root@embox:/#httpd
Welcome to http://10.0.2.16

4:
==EMBOX==
root@embox:/#telnetd
^Croot@embox:/#
root@embox:/#
ASSERTION FAILED at src/kernel/sched/strategy/runq.c : 70,
    in function runq_wake_thread:

thread_state_sleeping(t->state)
kernel debug panic

Backtrace:

     sp        pc         func + offset
     --------  --------  --------------------------
 12  0038bd70  001a3761  <__assertion_handle_failure+0x73>
 11  0038bdb0  00197d72  <runq_wake_thread+0x6b>
 10  0038bde0  0015d189  <sched_wake+0x40>
  9  0038be00  0015da8b  <notify_work+0x9b>
  8  0038be30  0014b782  <work_queue_run+0x5a>
  7  0038be60  0015d97f  <sched_wait_run+0x12>
  6  0038be80  0015d4d3  <sched_switch+0x37>
  5  0038beb0  001446f0  <critical_dispatch_pending+0x66>
  4  0038bef0  00100413  <irq_handler+0x80>
  3  0038bf30  0010004c  <_traps_text_start+0x1c>
  2  0038bf78  00100534  <arch_idle+0x4>
  1  0038bf88  0011408f  <thread_trampoline+0x98>

QEMU: Terminated

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ki.stfu on 28 Sep 2013 at 3:44

GoogleCodeExporter commented 9 years ago
Can't reproduce in r14105. 

Original comment by drakon.m...@gmail.com on 20 Jun 2014 at 11:28