Walkingmind / embox

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

ti816x bm_memalign causing exception #688

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r13480,arm/ti816x
2.conf/mods.config

+     include third_party.lib.libgcc_toolchain
+     include third_party.cmd.sqlite3
 }
3.build/run embox

What is the expected output? What do you see instead?
Welcome to Embox and have a lot of fun!
--EMBOX--
embox>telnetd 
EXCEPTION:
r0=81081c9c r1=00000008 r2=0000001c r3=e51b1018
r4=811a2348 r5=53535353 r6=53535353 r7=53535353
r8=53535353 r9=53535353 r10=53535353 r11=81270714
r12=812706e0 r14=8106997c
cpsr=20000197 spsr=2000011f

--HOST--
$ telnet 192.168.0.102
Trying 192.168.0.102...
Connected to 192.168.0.102.
Escape character is '^]'.
embox>sqlite3
SQLite version 3.8.4.3 2014-04-03 16:53:12
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .read /demo_create.sql
telnet> quit
Connection closed.
$ telnet 192.168.0.102
Trying 192.168.0.102...^C

--DISASSEMBLER--
144956     for (link = free_blocks_list->next; link != free_blocks_list; link = 
link->next) {
144957 81069954:   e51b3018    ldr r3, [fp, #-24]
144958 81069958:   e5933004    ldr r3, [r3, #4]
144959 8106995c:   e50b3014    str r3, [fp, #-20]
144960 81069960:   ea000036    b   81069a40 <bm_memalign+0x150>
144961         block = (struct free_block *) ((uint32_t *) link - 1);
144962 81069964:   e51b3014    ldr r3, [fp, #-20]
144963 81069968:   e2433004    sub r3, r3, #4
144964 8106996c:   e50b3010    str r3, [fp, #-16]
144965         if ((size + sizeof(block->size)) > get_clear_size(block->size)) {
144966 81069970:   e51b3030    ldr r3, [fp, #-48]  ; 0x30
144967 81069974:   e2832004    add r2, r3, #4
144968 81069978:   e51b3010    ldr r3, [fp, #-16]
144969 8106997c:   e5933000    ldr r3, [r3]              <-- there
144970 81069980:   e3c33003    bic r3, r3, #3
144971 81069984:   e1520003    cmp r2, r3
144972 81069988:   9a000000    bls 81069990 <bm_memalign+0xa0>
144973             continue;
144974 8106998c:   ea000028    b   81069a34 <bm_memalign+0x144>
144975         }

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ki.stfu on 17 Apr 2014 at 9:24

GoogleCodeExporter commented 9 years ago
hasn't reproduced in r14112

Original comment by drakon.m...@gmail.com on 23 Jun 2014 at 3:12