Forums

OverviewV-Play Plugins Support › Chartboost SDK

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #8201

    Nour

    Hi

     

    I think there a problem with chartboost latest SDK for android, it always crash the app

    D/ActivityThread( 7181): hoder:android.app.IActivityManager$ContentProviderHolder@415706e0,provider,holder.Provider:android.content.ContentProviderProxy@4156f3b8

    V/Provider/Settings( 7181): from db cache, name = android_id , value = 9c2525f31343e372

    F/libc ( 7181): Fatal signal 11 (SIGSEGV) at 0x00477024 (code=1), thread 7346 (alward.Dominoes)

    F/libc ( 7181): Send stop signal to pid:7181 in debugger_signal_handler

     

    But when replace the chartboost.jar by the one with the sample code its working great

     

    Best

    #8213

    Nour

    Also i am not able to run Flurry

     

    D/libc-netbsd(12746): getaddrinfo: ev.v-play.net get result from proxy >>

    D/dalvikvm(12746): threadid=14: interp stack at 0x61f99000

    F/libc (12746): Fatal signal 11 (SIGSEGV) at 0x00000029 (code=1), thread 12762 (alward.Dominoes)

    F/libc (12746): Send stop signal to pid:12746 in debugger_signal_handler

    #8214

    Alex
    V-Play Team

    Hi,

    are you trying to run our demo project on Github or your own project? If it’s the demo project which crashes, could you please send it to support@v-play.net?

    Thanks,

    Alex

    #8218

    Nour

    Its no the demo

    i its happen after integrating chartboost or Flurry sdks, i think there something missed or not documented in the documentation

     

    #8223

    Alex
    V-Play Team

    Hi,

    we unfortunately can’t reproduce the issue with our test projects and the integration guide, could you probably move your custom QML files out of the project temporarily and send it to us (support@v-play.net) so that we can have a look at it?

    Thanks,

    Alex

    #8332

    Mathias

    I’m having the same problem since I updated chartboost plugin to 1.0.4. I tried to run the demo project in Github. I get following console output:

    D/dalvikvm(16367): Late-enabling CheckJNI

    D/dalvikvm(16367): GC_CONCURRENT freed 180K, 14% free 9542K/11015K, paused 27ms+2ms, total 74ms

    D/dalvikvm(16367): GC_CONCURRENT freed 365K, 15% free 9643K/11271K, paused 13ms+3ms, total 59ms

    D/dalvikvm(16367): GC_CONCURRENT freed 419K, 15% free 9669K/11335K, paused 12ms+13ms, total 58ms

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libgnustl_shared.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libgnustl_shared.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libgnustl_shared.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Core.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Core.so 0x4247c4f0

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Network.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Network.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Network.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Qml.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Qml.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Qml.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Gui.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Gui.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Gui.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Quick.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Quick.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5Quick.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5QuickParticles.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5QuickParticles.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5QuickParticles.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5AndroidExtras.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5AndroidExtras.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5AndroidExtras.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libVPlayBasePlugin.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libVPlayBasePlugin.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libVPlayBasePlugin.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libChartboostPlugin.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libChartboostPlugin.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libChartboostPlugin.so 0x4247c4f0, skipping init

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x4247c4f0

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x4247c4f0

    I/Qt (16367): qt start

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libQt5QuickParticles.so 0x4247c4f0

    D/dalvikvm(16367): Shared lib ‘/data/data/net.vplay.plugins.ChartboostSample/lib/libQt5QuickParticles.so’ already loaded in same CL 0x4247c4f0

    D/dalvikvm(16367): Trying to load lib /data/data/net.vplay.plugins.ChartboostSample/lib/libChartboostSample.so 0x4247c4f0

    D/Qt (16367): qml/qqmlengine.cpp:1453 (QQmlDebuggingEnabler::QQmlDebuggingEnabler(bool)): QML debugging is enabled. Only use this in a safe environment.

    D/dalvikvm(16367): Added shared lib /data/data/net.vplay.plugins.ChartboostSample/lib/libChartboostSample.so 0x4247c4f0

    D/dalvikvm(16367): No JNI_OnLoad found in /data/data/net.vplay.plugins.ChartboostSample/lib/libChartboostSample.so 0x4247c4f0, skipping init

    D/libEGL (16367): loaded /system/lib/egl/libEGL_mali.so

    D/libEGL (16367): loaded /system/lib/egl/libGLESv1_CM_mali.so

    D/libEGL (16367): loaded /system/lib/egl/libGLESv2_mali.so

    D/OpenGLRenderer(16367): Enabling debug mode 0

    F/libc (16367): Fatal signal 11 (SIGSEGV) at 0x006e0067 (code=1), thread 16385 (hartboostSample)

    F/libc (16482): Fatal signal 11 (SIGSEGV) at 0x006e0067 (code=1), thread 16501 (hartboostSample)

    “net.vplay.plugins.ChartboostSample” died.

     

     

    Im using chartboost version 5.0.3.

    #8333

    Mathias

    When i use the old chartboost.jar form git hub the plugin works.

    Now I have the same error with old chartboost.jar. Not sure what changed..

    • This reply was modified 4 years ago by  maitek.
    #8334

    Christian
    V-Play Team

    Hi Mathias,

    please use the Chartboost libraries that come with the GitHub sample. Currently only Chartboost 4 is supported, we’ll update the Chartboost plugin to work also with Chartboost 5 with the next releases.

    Cheers, Chris

    #8336

    Mathias

    Hi Chris.
    I’m now getting the the same error with old chartboost.jar. I think the error is not only related to the chartboost version. I did not have this error before i updated chartboost plugin today. The demo plugin was running once and then when running it again without changing the code it fails to run. I redownloaded the project from github to make sure i didnt change something by accident but, I get the same error. During my tests most of the time the demo project fails to run, but so far the deployment on device was successful randomly two times. I have not managed to recreate the scenario when build was successful. I’ve tried to restart phone, qt creator, laptop, remove application, build folder, project, but no luck so far. The strange thing is that it works sometimes but most of the time not, without changing the code. Here is what i get, now using chart boost demo directly from github:

    D/libEGL  ( 8931): loaded /system/lib/egl/libGLESv2_mali.so
    D/OpenGLRenderer( 8931): Enabling debug mode 0
    F/libc    ( 8931): Fatal signal 11 (SIGSEGV) at 0x80000019 (code=1), thread 8983 (hartboostSample)
    
    
    "net.vplay.plugins.ChartboostSample" died.

     

     

    Do you have the same problem?

    – Mathias

    #8337

    Mathias

    I read that SIGSEV means segmantation fault in native code, so i guess there is some bug in the plugin when accessing memory. Since the application starts and crashes randomly i guess the application is sometimes trying to write where it is not allowed. Can you please look in to it asap. I depend on this.

    • This reply was modified 4 years ago by  maitek.
    #8339

    Nour

    Hi Maitek

    Doing these steps may help you

    1-Delete the build folder (very important to make sure that you have fresh chartboost.jar)

    2-Clean the project

    3-Run qmake

    4-Restart QT creator

    5-Build again and try to run on device

     

    Good luck

    #8340

    Nour

    Forget to mention this

    add to .pro file

    LIBS += -lChartboostPlugin

     

    and comment these 2 lines from chartboost code

    //shouldRequestInterstitial:true
    //shouldDisplayInterstitial:true
    #8341

    Mathias

    Hi maysalward,

    Thanks a lot for your reply. While your suggestions did not help with the crashing problem, pointing out LIBS += -lChartboostPlugin helped me with another chartboost problem I have been struggling with for a long time: https://v-play.net/developers/forums/t/problems-with-chartboost-plugin/

    This was NOT mentioned anywhere in the chartboost plugin integration documantation, here or here, and its absence will produce the following error:

    AndroidRuntime(28601): java.lang.RuntimeException: Unable to instantiate application net.vplay.helper.VPlayApplication: java.lang.ClassNotFoundException: net.vplay.helper.VPlayApplication

     

    The crashing problem still how ever remains. Commenting out the following

    //shouldRequestInterstitial:true
    
    //shouldDisplayInterstitial:true

    has no affect on the crashing in my experience. It just disables interstitial, which is what I want to use in the first place.

    Delete buildfolder, clean all, restart qt creator, run qmake are all tricks I’ve tried but do not affect the problem. The crashing happens randomly at start of the game. If the game starts chartboost works perfectly. Even if the game crashes when I first build it, I can try to reopen it using the icon. If it randomly opens everything works fine, but most of the time it crashes. This happens with my game as well as with the v-play chartboost demo. I’m using the chartboost.jar from the demo project found in github.

    I believe there is a bug in the current version of the v-play chartboost pluging, causes a segmentation fault and crashes game at startup. This is out of my reach.

     

    #8342

    Nour

    Hi Maitek

    did you update v-play plugins using maintenance tool?

    i think they have an update for chartboost , anyway you can check it

    this may help

    #8343

    Alex
    V-Play Team

    maitek said:

     

    This was NOT mentioned anywhere in the chartboost plugin integration documantation, here or here, and its absence will produce the following error:

    Sorry for that, we just pushed a new version of our documentation with the hint!

    Have you already updated your Chartboost plugin installation to the latest version 1.0.4 as suggested by maysalward? Which version of the Chartboost jar are you using?

    Thanks,

    Alex

Viewing 15 posts - 1 through 15 (of 26 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support