Skip to content
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

Barby / Semacode segfaults randomly #4

Open
AndrewRayCode opened this issue Aug 22, 2017 · 0 comments
Open

Barby / Semacode segfaults randomly #4

AndrewRayCode opened this issue Aug 22, 2017 · 0 comments

Comments

@AndrewRayCode
Copy link

Likely related: toretore/barby#83

Open tests/test.rb

Change the last line to be the troublesome data:

require 'json'
semacode = DataMatrix::Encoder.new(JSON.generate({ hello: "TEST TEST TEST TEST" }))

Then

while ruby tests/test.rb; do :; done

Eventually:

ruby(42018,0x7fffe3cd23c0) malloc: *** error for object 0x7fde87a14620: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
@AndrewRayCode AndrewRayCode changed the title Semacode segfaults randomly Barby / Semacode segfaults randomly Aug 23, 2017
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