kayws426 / embox

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

unaligned access after DNS #670

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.arm/ti816x
2.r12354
3.

What is the expected output? What do you see instead?
embox>ping ya.ru
EXCEPTION:
r0=00000000 r1=8111c67c r2=8111c681 r3=8111c67f
r4=00000c12 r5=80000100 r6=806f5fbc r7=806f7633
r8=806f5fe0 r9=00000af0 r10=8072e5a8 r11=8111c40c
r12=8111c3a0 r14=81055674
cpsr=80000197 spsr=8000011f

116312 static void vtparse_callback(struct vtparse *parser, struct vt_token 
*token) {
116313 81055644:   e1a0c00d    mov ip, sp
116314 81055648:   e92dd810    push    {r4, fp, ip, lr, pc}
116315 8105564c:   e24cb004    sub fp, ip, #4
116316 81055650:   e24dd014    sub sp, sp, #20
116317 81055654:   e50b0020    str r0, [fp, #-32]
116318 81055658:   e50b1024    str r1, [fp, #-36]  ; 0x24
116319     TERMINAL *terminal = (TERMINAL *) parser->user_data;
116320 8105565c:   e51b3020    ldr r3, [fp, #-32]
116321 81055660:   e5933028    ldr r3, [r3, #40]   ; 0x28
116322 81055664:   e50b3018    str r3, [fp, #-24]
116323     int *queue_len = &terminal->vt_token_queue_len;
116324 81055668:   e51b3018    ldr r3, [fp, #-24]
116325 8105566c:   e283306c    add r3, r3, #108    ; 0x6c
116326 81055670:   e50b301c    str r3, [fp, #-28]
116327     if (*queue_len < VTPARSER_TOKEN_QUEUE_AMOUNT) {
116328 81055674:   e51b301c    ldr r3, [fp, #-28]
116329 81055678:   e5933000    ldr r3, [r3]
116330 8105567c:   e3530002    cmp r3, #2

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ki.stfu on 13 Jan 2014 at 7:37

GoogleCodeExporter commented 9 years ago
instruction pointer is r14

Original comment by ki.stfu on 13 Jan 2014 at 7:38

GoogleCodeExporter commented 9 years ago
i think that it happen after DNS request

Original comment by ki.stfu on 13 Jan 2014 at 7:51

GoogleCodeExporter commented 9 years ago
it was a 2-3 times and i can't reproduce it again. i think this is due to 
authoritative answers

Original comment by ki.stfu on 13 Jan 2014 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by Anton.Bo...@gmail.com on 10 Jun 2014 at 2:32