8000 Crash in recursive_insert · Issue #35 · armon/libart · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crash in recursive_insert #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
romanbsd opened this issue Apr 8, 2018 · 0 comments
Open

Crash in recursive_insert #35

romanbsd opened this issue Apr 8, 2018 · 0 comments

Comments

@romanbsd
Copy link
Contributor
romanbsd commented Apr 8, 2018

Unfortunately we weren't able to reproduce the crash locally, but it happens on arm devices in
art.c:578 -
add_child4(new_node, ref, l->key[depth+longest_prefix], SET_LEAF(l));

As far as I can tell, it's the access to l->key[depth+longest_prefix]

The assembly produced:

art.c:578
   633e6: 4435        add r5, r6
   633e8: 9803        ldr r0, [sp, #12]
   633ea: f044 0301   orr.w r3, r4, #1
   633ee: 4659        mov r1, fp
   633f0: 4428        add r0, r5
  *633f2: 7a02        ldrb  r2, [r0, #8]

I don't understand how it can happen, but it happens. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0