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

Error when read large gif image #3

Closed
kylin17 opened this issue Sep 12, 2013 · 5 comments
Closed

Error when read large gif image #3

kylin17 opened this issue Sep 12, 2013 · 5 comments
Assignees
Labels

Comments

@kylin17
Copy link

kylin17 commented Sep 12, 2013

Gif image is almost 5M, repeat twice and then get error and force close

09-12 18:27:00.368: E/dalvikvm(20336): Unknown format 32 in dvmGetExpandedRegisterMap

09-12 18:27:00.368: E/dalvikvm(20336): VM aborting

09-12 18:27:00.368: A/libc(20336): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)

@ghost ghost assigned koral-- Sep 12, 2013
@koral--
Copy link
Owner

koral-- commented Sep 12, 2013

Does the problem appear if call to #free() (line #133) is commented out?

@kylin17
Copy link
Author

kylin17 commented Sep 13, 2013

No, I just imported the example code and run it. Did not change anything.

@koral--
Copy link
Owner

koral-- commented Sep 13, 2013

OK I've managed to reproduce this error.
It looks like something is wrong with memory allocation in native code (malloc, realloc, free).

@koral--
Copy link
Owner

koral-- commented Sep 14, 2013

Now it should work.

@koral-- koral-- closed this as completed Sep 14, 2013
@kylin17
Copy link
Author

kylin17 commented Sep 14, 2013

Aha, now it works, very grateful

@niplus niplus mentioned this issue Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants