1

I am trying to parse corrupt .EMF image file.After successfully parsing and attempting to construct the image using Picture(android.Graphic) getting the Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1) error.

I searched on net and found that this is memory exception and also attempted the fix suggested by them fix1, fix2[recycle bitmap].There are lot of question related to this in Stackoverflow but nothing solve my problem.

And image size is around kb only.Is there any way to validate or check the .EMF file.

Platform:
4.2 & above

Devices:
Nexus 7.

Community
  • 1
  • 1
user492888
  • 207
  • 3
  • 17
  • 1
    Better is check whether EMF image file is corrupted before do anything – Ajay S Feb 20 '14 at 16:45
  • 1
    We also face this issue on Nexus 7 with PLatform 4.4. This is not necessarily due images big in size but also if you are working with socket connections (in our case) or function call being made from two different threads at the same time. You can check these 2 links for same. http://stackoverflow.com/questions/14023291/fatal-signal-11-sigsegv-at-0x00000000-code-1-phonegap, http://stackoverflow.com/questions/10662446/invalid-heap-address-and-fatal-signal-11/11812665#11812665 – Kanak Sony Feb 20 '14 at 17:00
  • @TGMCians : checked and EMF file is parsing correctly but error still continues in 4.2 & above platform. – user492888 Feb 21 '14 at 13:46
  • @KanakSony: Ya but don't how to exactly trace the issue.Any suggestions to find the cause of the error. – user492888 Feb 21 '14 at 13:58

0 Answers0