Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualpolyfrag

Posted 28 March 2013 - 01:55 AM

I'm using AAsset_getLength, AAsset_seek and AAsset_getRemainingLength to read the whole file directly.

 

http://minigamestudio.googlecode.com/svn-history/r407/trunk/source/render/android/ola_afile.cpp

 

It was only showing ~1000 characters because that was the logcat limit.

 

PNG now says:

 

03-28 00:53:21.293: A/libc(26952): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 26967 (engame.pathogen)


#3polyfrag

Posted 28 March 2013 - 01:54 AM

I'm using AAsset_getLength, AAsset_seek and AAsset_getRemainingLength to read the whole file directly.

 

http://minigamestudio.googlecode.com/svn-history/r407/trunk/source/render/android/ola_afile.cpp

 

It was only showing ~1000 characters because that was the logcat limit.

 

PNG now says:

 

03-28 00:38:33.410: A/libc(26857): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 26872 (engame.pathogen)


#2polyfrag

Posted 28 March 2013 - 01:46 AM

I'm using AAsset_getLength, AAsset_seek and AAsset_getRemainingLength to read the whole file directly.

 

http://minigamestudio.googlecode.com/svn-history/r407/trunk/source/render/android/ola_afile.cpp

 

It was only showing ~1000 characters because that was the logcat limit.

 

PNG now says:

 

03-28 00:38:33.410: A/libc(26857): bionic/libstdc++/src/pure_virtual.cpp:6: void __cxa_pure_virtual(): assertion "!"Pure virtual function called. Are you calling virtual methods from a destructor?"" failed

03-28 00:38:33.410: A/libc(26857): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 26872 (engame.pathogen)

#1polyfrag

Posted 28 March 2013 - 01:42 AM

I'm using AAsset_getLength, AAsset_seek and AAsset_getRemainingLength to read the whole file directly.

 

http://minigamestudio.googlecode.com/svn-history/r407/trunk/source/render/android/ola_afile.cpp

 

In the console it still only shows up to 979-980 characters. I tried substituting null terminators but it didn't help. Either there's other binary characters that are preventing the full string from being shown in logcat or that's the max character string that logcat can show.

 

Also, png now says:

 

03-28 00:38:33.410: A/libc(26857): bionic/libstdc++/src/pure_virtual.cpp:6: void __cxa_pure_virtual(): assertion "!"Pure virtual function called. Are you calling virtual methods from a destructor?"" failed

03-28 00:38:33.410: A/libc(26857): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 26872 (engame.pathogen)

PARTNERS