c9s / r3

libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
http://c9s.github.com/r3/bench.html
MIT License
813 stars 83 forks source link

ASAN reports SEGV on unknown address 0x000000000000 #90

Open c9s opened 8 years ago

c9s commented 8 years ago

Hi @czchen

I added __attribute__((aligned)) to the node struct, however ASAN reports SEGV on unknown address 0x000000000000, do you have idea about that?

https://travis-ci.org/c9s/r3/jobs/90737673#L1369

czchen commented 8 years ago

No idea, let me study it.

czchen commented 8 years ago

Cannot reprocedure in my machine (Debian/sid, clang-3.7). Let me try to upgrade clang in travis-ci to see if the issue remains.

c9s commented 8 years ago

I have more changed on 2.0 branch, maybe there are some invalid usecase in test cases

c9s commented 8 years ago

This one doesn't use ASAN, but it failed with clang compiled check

https://travis-ci.org/c9s/r3/jobs/91597984