orlandos-nl / BSON

Native Swift library for BSON (http://bsonspec.org)
https://orlandos.nl/docs/mongokitten/articles/bson
MIT License
108 stars 36 forks source link

5.1.5 - exc_bad_access on dictionaryRepresenation #36

Closed zirinisp closed 1 year ago

zirinisp commented 6 years ago

I haven't look into this bug further, but it was not there in the past. I am getting the following:

screen shot 2017-10-24 at 08 38 58 screen shot 2017-10-24 at 08 42 26

I hope the screenshots help

Joannis commented 6 years ago

Thanks for the report, I don't really know what could cause this though (not from the screenshots). We did fix a bug that would crash once roughly every (3?) million runs, so that might be the bug. It was fixed 2-3 versions ago. So a few versions after 5.1.5. But other than that I can't do much with this bug now.

Thanks for the report though :) I'll keep an eye out, and thanks for the screenshots.

zirinisp commented 6 years ago

I know the screenshots are not very helpful.

Tried to get the last version, but there were some changes and I got error all over the place.

I will stick with 5.1.4 for the moment. With the release of iOS 11 all I have been doing is trying to make things work again.

Joannis commented 6 years ago

What kind of errors did you get?

zirinisp commented 6 years ago

You have refactored some functions and they have different names. So it would not compile.

Joannis commented 6 years ago

Which functions are those? I might have merged the wrong code into master.