connectFree / lev

Levitate your app with Lev!
Apache License 2.0
101 stars 9 forks source link

MessagePack: add test codes; #90

Closed kazupon closed 12 years ago

kristate commented 12 years ago

Kazupon -- let's check your output from travis -- I am seeing this from line 907:

✔ lev.mpack:  custom data: 130/130 within 2.619 ms
✔ lev.mpack:  pack,unpack: integer negative fixnum: 64/64 within 0.076 ms
*lev: a core has exited with status 0, signal 11 -- SEGFAULT
kazupon commented 12 years ago

I tried to check the SEGFAULT. In the environment of my OSX, did not occur SEGFAULT. In an environment of linux, occurred SEGFAULT. Please see gist 3768604. https://gist.github.com/3768604

kristate commented 12 years ago

@kazupon -- this bug might have already been fixed with the commit I sent a few days ago[1] -- please merge against master and resend!

[1] https://github.com/connectFree/lev/commit/5a45461ca88a4019fb00e0e63de4e5e56a7a9903#L7R116

kazupon commented 12 years ago

[1] connectFree/lev@5a45461#L7R116

I merge 5a45461, and checked in an environment of Linux(debian) & OSX. All of messagepack tests are OK. :)

kristate commented 12 years ago

@kazupon please look at this commit: https://github.com/connectFree/lev/commit/1297ca329a4416f2f2b8c1bef126150e4c7941cd