Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all 7150 articles
Browse latest View live

Game crash due to Leadbolt ads implementation

$
0
0

I have integrated Leadbolt ads in my Unity3D android game. But, whenever I try to start my application, it crashes and when I give it a try with switching off the internet access, it works fine. So, this means that ads are creating some problem.

Below is my ads requesting C# code.

// Initialize Leadbolt SDK with your API KeyAppTrackerAndroid.startSession("****YOUR API KEY****");// cache Leadbolt Ad without showing itAppTrackerAndroid.loadModuleToCache("inapp");//Requesting LeadBolt Adsif (AppTrackerAndroid.isAdReady("inapp")){    AppTrackerAndroid.loadModule("inapp");}

Random Crash in webrtc native library

$
0
0

I am getting this error randomly on some device when I request to close peerconnection on release build.I have tried to set pro-guard rule for this but still getting below error.Please help me on this .My Proguard rules:

-keep class org.webrtc.**  { *; }-keep class org.appspot.apprtc.**  { *; }-keep class de.tavendo.autobahn.**  { *; }-keep class org.abtollc.**  { *; }-keepattributes InnerClasses-keepclasseswithmembernames class * { native <methods>; }

Fatal error in:

gen/sdk/android/generated_metrics_jni/../../../../../../../../usr/local/google/home/sakal/code/webrtc-aar-release/src/sdk/android/src/jni/jni_generator_helper.h, line 94    # last system error: 0    # Check failed: !env->ExceptionCheck()    # 

libc++abi.dylib: terminate_handler unexpectedly threw an exception - 0 stack trace iOS7 / iOS 8

$
0
0

Randomly (that's why I ask the question), my application crashes when want to display data into textView.
The only error message I've got in my debug console is :

libc++abi.dylib: terminate_handler unexpectedly threw an exception

I Googled but can't get a clue to find how correct this and how this happens.

Unity built apk crash when move to next Scene but not in editor [closed]

$
0
0

i have built a project that contain a lot of 2D animation using png sequence. It use Fungus ( using flowchart )

The project work well on editor. When i Built it run well on new device but not in Tablet and a bit old device. How to fix this, Stuck for a month now.

Run on Tablet, it open the first scene, when clicked button to next scene it do crush.

Again, it work well on latest device. Thanks

What does L and IL mean in the crash dump string?

$
0
0

While going through a crash dump, I encountered following line

j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35

I have few quesions which I eagerly want to understand.

What does IL and L stand for in the string ILjava/awt/Conditional;Ljava/awt/EventFilter;

What is V+35 at the end of the string?

Unfortunately MyApp has stopped. How can I solve this?

$
0
0

I am developing an application, and everytime I run it, I get the message:

Unfortunately, MyApp has stopped.

What can I do to solve this?


About this question - obviously inspired by What is a stack trace, and how can I use it to debug my application errors?, there are lots of questions stating that their application has crashed, without any further detail. This question aims to instruct novice Android programmers on how to try and fix their problems themselves, or ask the right questions.

Xcode - But... Where are our archives?

$
0
0

I've submitted three versions of my app onto the App Store using the Build and Archive commands. But... Where are those archives?

I've just learnt that I just need them to be able to read crashlogs. My ~/Library/Developer/Xcode/Archives folder is empty (in fact there is one xarchive file inside it I've just generated now to test a crashlog reading).

Spotlight does not find any .xarchive.

I never been asked to delete or clear anything else than my project builds (Product - clean) when coding next version.

Making a Snackbar Without a View?

$
0
0

I want to show a snackbar as soon as the user opens the Google Maps activity, but the thing is that there's no views in the activity to use as the first parameter of the activity (in the findViewById() of Snackbar.make()). What do I put there?Here's the java class code:

public class MapsActivity extends FragmentActivity implements OnMapReadyCallback {private GoogleMap mMap;@Overrideprotected void onCreate(Bundle savedInstanceState) {    super.onCreate(savedInstanceState);    setContentView(R.layout.activity_maps);    // Obtain the SupportMapFragment and get notified when the map is ready to be used.    SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()            .findFragmentById(R.id.map);    mapFragment.getMapAsync(this);}@Overridepublic void onMapReady(GoogleMap googleMap) {    mMap = googleMap;    mMap.setBuildingsEnabled(true);    mMap.getUiSettings().setZoomControlsEnabled(true);    float cameraZoom = 17;    LatLng location = new LatLng(43.404032, -80.478184);    mMap.addMarker(new MarkerOptions().position(location).title("49 McIntyre Place #18, Kitchener, ON N2R 1G3"));    CameraUpdateFactory.newLatLngZoom(location, cameraZoom);    Snackbar.make(findViewById(/*WHAT DO I PUT HERE?*/), "Click the pin for more options", Snackbar.LENGTH_LONG).show();}}

Also, here is the activity xml code:

<fragment xmlns:android="http://schemas.android.com/apk/res/android"xmlns:map="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"android:id="@+id/map"android:name="com.google.android.gms.maps.SupportMapFragment"android:layout_width="match_parent"android:layout_height="match_parent"tools:context="ca.davesautoservice.davesautoservice.MapsActivity" />

And lastly, here's the stacktrace error:

08-03 11:42:21.333 3901-3901/? E/AndroidRuntime: FATAL EXCEPTION: main    Process: ca.davesautoservice.davesautoservice, PID: 3901    java.lang.NullPointerException        at android.support.design.widget.Snackbar.<init>(Snackbar.java:183)        at android.support.design.widget.Snackbar.make(Snackbar.java:215)        at ca.davesautoservice.davesautoservice.MapsActivity.onMapReady(MapsActivity.java:48)        at com.google.android.gms.maps.SupportMapFragment$zza$1.zza(Unknown Source)        at com.google.android.gms.maps.internal.zzo$zza.onTransact(Unknown Source)        at android.os.Binder.transact(Binder.java:361)        at xz.a(:com.google.android.gms.DynamiteModulesB:82)        at maps.ad.u$5.run(Unknown Source)        at android.os.Handler.handleCallback(Handler.java:808)        at android.os.Handler.dispatchMessage(Handler.java:103)        at android.os.Looper.loop(Looper.java:193)        at android.app.ActivityThread.main(ActivityThread.java:5333)        at java.lang.reflect.Method.invokeNative(Native Method)        at java.lang.reflect.Method.invoke(Method.java:515)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)        at dalvik.system.NativeStart.main(Native Method)

Thanks for the help! :)


Null reference used for synchronization

$
0
0

When I leave my Android app running for about 30 minutes, it sometimes crashes. I then open the system logs and find where this crash happens (I cannot debug this app any other way due to special circumstances). Usually, when there is a glaring error in my code, this log contains a stack trace. This specific crash, however, does not leave a stack trace at all. It does, however, leave the following information:

06-19 14:13:08.738  2216 18026 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 18026 (Thread-1214), pid 2216 (s.flironecamera)06-19 14:13:08.739  4697 16938 D MotionRecognitionService: values = 50.006-19 14:13:08.739  4697 16938 D MotionRecognitionService: onReceive lux: 50.0  action: 06-19 14:13:08.740  4697 16938 D MotionRecognitionService: Inject brightness form Cam 50.006-19 14:13:08.740  4697 16938 D MotionRecognitionService: Inject calibrated lux06-19 14:13:08.741  4169  4169 I Sensors : AutoBrightnessSensor::inject_sensor_data: cam_lux 5006-19 14:13:08.854 18054 18054 E crash_dump64: unknown process state: t06-19 14:13:08.916 18054 18054 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone06-19 14:13:08.926  4292  4292 I /system/bin/tombstoned: received crash request for pid 1802606-19 14:13:08.929 18054 18054 I crash_dump64: performing dump of process 2216 (target tid = 18026)06-19 14:13:08.941  4697 16938 D MotionRecognitionService: values = 50.006-19 14:13:08.942  4697 16938 D MotionRecognitionService: onReceive lux: 50.0  action: 06-19 14:13:08.942  4697 16938 D MotionRecognitionService: Inject brightness form Cam 50.006-19 14:13:08.942  4697 16938 D MotionRecognitionService: Inject calibrated lux06-19 14:13:08.945  4169  4431 I Sensors : AutoBrightnessSensor::inject_sensor_data: cam_lux 5006-19 14:13:08.947 18054 18054 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***06-19 14:13:08.947 18054 18054 F DEBUG   : Build fingerprint: [redacted]06-19 14:13:08.947 18054 18054 F DEBUG   : Revision: '10'06-19 14:13:08.948 18054 18054 F DEBUG   : ABI: 'arm64'06-19 14:13:08.949 18054 18054 F DEBUG   : Timestamp: 2020-06-19 14:13:08-030006-19 14:13:08.949 18054 18054 F DEBUG   : pid: 2216, tid: 18026, name: Thread-1214  >>> com.samples.flironecamera <<<06-19 14:13:08.949 18054 18054 F DEBUG   : uid: 1026906-19 14:13:08.949 18054 18054 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------06-19 14:13:08.949 18054 18054 F DEBUG   : Abort message: 'terminating with uncaught exception of type jni::JavaException: java.lang.NullPointerException Null reference used for synchronization (monitor-enter)'06-19 14:13:08.949 18054 18054 F DEBUG   :     x0  0000000000000000  x1  000000000000466a  x2  0000000000000006  x3  0000007e3b2d438006-19 14:13:08.949 18054 18054 F DEBUG   :     x4  feff287164736d64  x5  feff287164736d64  x6  feff287164736d64  x7  7f7f7f7f7f7f7f7f06-19 14:13:08.949 18054 18054 F DEBUG   :     x8  00000000000000f0  x9  5e1c42c9d736fe8b  x10 0000000000000001  x11 000000000000000006-19 14:13:08.949 18054 18054 F DEBUG   :     x12 fffffff0fffffbdf  x13 28206e6f6974617a  x14 0000000000000004  x15 0000007ed145d41206-19 14:13:08.949 18054 18054 F DEBUG   :     x16 0000007ed14638c0  x17 0000007ed1440920  x18 00000000000036b4  x19 00000000000008a806-19 14:13:08.949 18054 18054 F DEBUG   :     x20 000000000000466a  x21 00000000ffffffff  x22 ffffff80ffffffc8  x23 0000007e3b2d45d006-19 14:13:08.949 18054 18054 F DEBUG   :     x24 0000007e3b2d44b0  x25 0000007e3b2d44f0  x26 000000000000001e  x27 0000007de0eeeb8006-19 14:13:08.949 18054 18054 F DEBUG   :     x28 0000007de0eeeb98  x29 0000007e3b2d442006-19 14:13:08.949 18054 18054 F DEBUG   :     sp  0000007e3b2d4360  lr  0000007ed13f5108  pc  0000007ed13f513406-19 14:13:08.962 18054 18054 F DEBUG   : 06-19 14:13:08.962 18054 18054 F DEBUG   : backtrace:06-19 14:13:08.962 18054 18054 F DEBUG   :       #00 pc 0000000000083134  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: ecce0f8f6d05a6808531d834fd5e2b07)06-19 14:13:08.962 18054 18054 F DEBUG   :       #01 pc 00000000000a48c8  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libc++_shared.so (offset 0x1bb000) (BuildId: b062ae10a54d94f888c84c4f3bba0a8b30363bd7)06-19 14:13:08.962 18054 18054 F DEBUG   :       #02 pc 00000000000a4ac8  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libc++_shared.so (offset 0x1bb000) (BuildId: b062ae10a54d94f888c84c4f3bba0a8b30363bd7)06-19 14:13:08.962 18054 18054 F DEBUG   :       #03 pc 00000000000b92b8  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libc++_shared.so (offset 0x1bb000) (BuildId: b062ae10a54d94f888c84c4f3bba0a8b30363bd7)06-19 14:13:08.962 18054 18054 F DEBUG   :       #04 pc 00000000000b899c  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libc++_shared.so (offset 0x1bb000) (BuildId: b062ae10a54d94f888c84c4f3bba0a8b30363bd7)06-19 14:13:08.962 18054 18054 F DEBUG   :       #05 pc 00000000000b891c  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libc++_shared.so (offset 0x1bb000) (__cxa_throw+120) (BuildId: b062ae10a54d94f888c84c4f3bba0a8b30363bd7)06-19 14:13:08.962 18054 18054 F DEBUG   :       #06 pc 0000000000487638  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (atlasCheckException(_JNIEnv*)+216) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.962 18054 18054 F DEBUG   :       #07 pc 00000000004c717c  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (_Z10callMethodIvJEEN14wrapped_resultIT_E4typeEP7_JNIEnvP8_jobjectPKcDpOT0_+88) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.962 18054 18054 F DEBUG   :       #08 pc 00000000004cc7b8  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (jni::live::JavaConnector::startFrameStream(bool)+136) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.963 18054 18054 F DEBUG   :       #09 pc 0000000000931d1c  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (RBPDeviceWrapper::TransportCommunicatorImplementation::dispatchFrameStreamControlRequestToDelegates(bool) const+232) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.963 18054 18054 F DEBUG   :       #10 pc 000000000093d374  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (RBPDeviceWrapper::DeviceImplementation::handleFrameCaptureRequest(RBPDeviceWrapper::DeviceImplementation*, zmq::message_t const&, bool)+128) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.963 18054 18054 F DEBUG   :       #11 pc 0000000000957d80  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (RBPDeviceWrapper::ZMQSocketEventLoop<RBPDeviceWrapper::DeviceImplementation>::loopThreadBody(void*)+348) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.963 18054 18054 F DEBUG   :       #12 pc 0000000000959c08  /data/app/com.samples.flironecamera-Ja8FY8rW-sZLXm5PKmpvqQ==/base.apk!libatlas_native.so (offset 0x7cf000) (_ZNSt6__ndk114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEPFPvS7_EPN16RBPDeviceWrapper18ZMQSocketEventLoopINSA_20DeviceImplementationEEEEEEEES7_S7_+44) (BuildId: 70c0a8d0e08f60afb8dccd5e563b484d106e30a6)06-19 14:13:08.963 18054 18054 F DEBUG   :       #13 pc 00000000000e28c0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: ecce0f8f6d05a6808531d834fd5e2b07)06-19 14:13:08.963 18054 18054 F DEBUG   :       #14 pc 000000000008503c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: ecce0f8f6d05a6808531d834fd5e2b07)

My app's name is com.samples.flironecamera (this was a temporary name, it was built off of a sample project), and it utilises the Flir SDK. Is there a way to tell what the specific cause of the crash was? Is it possible that this crash is caused by the SDK itself and is not my code's fault?

I am not posting my code here because there is about 10000 lines of it and I don't know which parts are relevant. If the error dump points towards the usage of a certain method, please leave a comment and I will gladly post the section of my code that uses anything relevant to it. If it helps, I do not use assert statements or synchronization anywhere in any of my code.

Crashes related to the SpriteKit Mixer in Swift while app is in the background

$
0
0

App in testflight, and later in app store, getting random crashes, usually when app is in the background (at least those I could reproduce.) In testflight I usually don't get debug information. In sentry.io I have the following:

EXC_BAD_ACCESS pthread_mutex_lock

Stack trace from sentry: Stack trace from sentry

To try to fix this I removed all audionodes when my app goes to background, but apparently it did not solve the problem. I tried to reproduce when my phone was connected to the xcode debugger but so far was unable to do so. I don't know how to find the cause and then fix it.

The questions:

  • What is the cause of this?
  • How do I reproduce this?
  • If I manage to reproduce it, how should I debug it?

AdMob Video Ad - Fatal signal 6 (SIGABRT) on Android 6.0.1

$
0
0

I am developing a simple app to learn Google AdMob API. When I opened the rewarded ad or video insterstitial ad, app is crashing. Logs from logcat are in below. It's looking like device specific.Also I found this: https://github.com/google/ExoPlayer/issues/4460.I am not sure, is it about ExoPlayer. What should I do?

Tested Devices:

  • Device: Nexus 5X / Android 6.0 (Emulator) - Worked
  • Device: ASUS Z01RD (Zenfone 5z ZS620KL) / Android 10 (Physical) - Worked
  • Device: ASUS X00AD (Zenfone Go ZB500KL) / Android 6.0.1 (Physical) - Crashed

The whole project can be accessed here: https://github.com/suspicioususer/RewardedAdTest

Gradle:

implementation 'androidx.appcompat:appcompat:1.0.0-beta01'implementation 'androidx.constraintlayout:constraintlayout:1.1.3'testImplementation 'junit:junit:4.12'androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'implementation 'androidx.gridlayout:gridlayout:1.0.0-beta01'implementation 'com.google.android.gms:play-services-ads:18.3.0'

Activity:

public class MainActivity extends AppCompatActivity {private Button btnWatchAd;private RewardedAd rewardedAd;private final String MAIN_TAG = "MainActivity";@Overrideprotected void onCreate(Bundle savedInstanceState) {    super.onCreate(savedInstanceState);    setContentView(R.layout.activity_main);    RequestConfiguration requestConfiguration = new RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("DEVICE_ID")).build();    MobileAds.setRequestConfiguration(requestConfiguration);    MobileAds.initialize(this, new OnInitializationCompleteListener() {        @Override        public void onInitializationComplete(InitializationStatus initializationStatus) {        }    });    rewardedAd = createAndLoadRewardedAd();    btnWatchAd = findViewById(R.id.btnWatchAd);    btnWatchAd.setOnClickListener(new View.OnClickListener() {        @Override        public void onClick(View view) {            Log.i(MAIN_TAG, "Ad button clicked.");            if (rewardedAd.isLoaded()) {                RewardedAdCallback adCallback = new RewardedAdCallback() {                    @Override                    public void onRewardedAdOpened() {                        Log.i(MAIN_TAG, "Ad opened.");                    }                    @Override                    public void onRewardedAdClosed() {                        Log.i(MAIN_TAG, "Ad closed.");                        rewardedAd = createAndLoadRewardedAd();                    }                    @Override                    public void onUserEarnedReward(@NonNull RewardItem reward) {                        Log.i(MAIN_TAG, "Reward earned.");                    }                    @Override                    public void onRewardedAdFailedToShow(int errorCode) {                        Log.e(MAIN_TAG, "Ad failed to show. errorCode: " + errorCode);                    }                };                rewardedAd.show(MainActivity.this, adCallback);            } else {                Toast.makeText(MainActivity.this, "Ad has not loaded yet.", Toast.LENGTH_SHORT).show();            }        }    });}private RewardedAd createAndLoadRewardedAd() {    RewardedAd rewardedAd = new RewardedAd(this, "ca-app-pub-3940256099942544/5224354917");    RewardedAdLoadCallback adLoadCallback = new RewardedAdLoadCallback() {        @Override        public void onRewardedAdLoaded() {            Log.i(MAIN_TAG, "Ad loaded.");        }        @Override        public void onRewardedAdFailedToLoad(int errorCode) {            Log.e(MAIN_TAG, "Ad failed to load. errorCode: " + errorCode);        }    };    rewardedAd.loadAd(new AdRequest.Builder().build(), adLoadCallback);    return rewardedAd;}

Layout:

<?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"tools:context=".MainActivity"><Button    android:id="@+id/btnWatchAd"    android:layout_width="wrap_content"    android:layout_height="wrap_content"    android:layout_gravity="center"    android:gravity="center"    android:background="@android:color/holo_blue_light"    android:padding="16dp"    android:text="Watch Ad"    android:textAlignment="center"    android:textSize="20sp"    app:layout_constraintBottom_toBottomOf="parent"    app:layout_constraintEnd_toEndOf="parent"    app:layout_constraintStart_toStartOf="parent"    app:layout_constraintTop_toTopOf="parent"/</androidx.constraintlayout.widget.ConstraintLayout>

Logs:

02-02 18:42:51.967 30107-30274/my_app_path A/GraphicBuffer: getNativeBuffer() called on NULL GraphicBuffer

--------- beginning of crash

02-02 18:42:51.968 30107-30274/my_app_path A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 30274 (CodecLooper)

02-02 18:42:52.012 2977-2977/? D/PhoneStatusBar: setSystemUiVisibility vis=0 mask=ffffffff oldVal=8000 newVal=0 diff=8000

02-02 18:42:52.023 306-306/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

02-02 18:42:52.024 306-306/? A/DEBUG: Build fingerprint: 'asus/WW_Phone/ASUS_X00AD_2:6.0.1/MMB29M/13.0.0.321-20180626:user/release-keys'

02-02 18:42:52.017 3519-3519/? W/Binder_9: type=1400 audit(0.0:6823): avc: denied { ioctl } for path="socket:[395866]" dev="sockfs" ino=395866 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

02-02 18:42:52.024 306-306/? A/DEBUG: Revision: '0'

02-02 18:42:52.024 306-306/? A/DEBUG: ABI: 'arm64'

02-02 18:42:52.017 3519-3519/? W/Binder_9: type=1400 audit(0.0:6824): avc: denied { ioctl } for path="socket:[395866]" dev="sockfs" ino=395866 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

02-02 18:42:52.024 306-306/? A/DEBUG: pid: 30107, tid: 30274, name: CodecLooper >>> my_app_path <<<

02-02 18:42:52.024 306-306/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

02-02 18:42:52.024 3384-3384/? D/XT9IME: onStartInput isInputViewShown() = false isShowInputRequested() = false

02-02 18:42:52.030 2354-2411/? I/ActivityManager: Displayed my_app_path/com.google.android.gms.ads.AdActivity: +387ms

02-02 18:42:52.037 306-306/? W/debuggerd64: type=1400 audit(0.0:6825): avc: denied { search } for name="my_app_path" dev="mmcblk0p67" ino=122408 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0

02-02 18:42:52.052 2977-2977/? D/PhoneStatusBar: Status bar WINDOW_STATE_HIDING

02-02 18:42:52.052 2977-2977/? D/sysuidebug.invisible_qspanel: setQsExpansion() mQsFullyExpanded=false, height <= mQsMinExpansionHeight, mQsExpanded=false, mStackScrollerOverscrolling=false

02-02 18:42:52.054 2977-2977/? D/sysuidebug.invisible_qspanel: onOverscrollTopChanged(): mStackScrollerOverscrolling=false, rounded=0.0, isRubberbanded=false

02-02 18:42:52.054 2977-2977/? D/sysuidebug.invisible_qspanel: updateQsState(): expandVisually=false, mQsExpanded=false, mStackScrollerOverscrolling=false, mHeaderAnimating=false

02-02 18:42:52.055 2977-2977/? D/sysuidebug.invisible_qspanel: setQsExpansion() mQsFullyExpanded=false, height <= mQsMinExpansionHeight, mQsExpanded=false, mStackScrollerOverscrolling=false

02-02 18:42:52.047 306-306/? W/debuggerd64: type=1400 audit(0.0:6826): avc: denied { search } for name="com.google.android.gms" dev="mmcblk0p67" ino=113835 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0

02-02 18:42:52.060 2977-2977/? V/PanelBar: collapseAllPanels: animate=false waiting=false

02-02 18:42:52.047 306-306/? W/debuggerd64: type=1400 audit(0.0:6827): avc: denied { search } for name="com.google.android.gms" dev="mmcblk0p67" ino=113835 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0

02-02 18:42:52.057 306-306/? W/debuggerd64: type=1400 audit(0.0:6828): avc: denied { search } for name="com.google.android.gms" dev="mmcblk0p67" ino=113835 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0

02-02 18:42:52.072 3856-3856/? D/TaskWatcherService: pkgName: my_app_path taskId: 43

02-02 18:42:52.072 3856-3856/? D/PowerSaverUtils: isLimitedCpuFrequency prop : 0 ; result : false

02-02 18:42:52.090 3856-4025/? D/OpenedTimeAppInfoProvider: Update DB : number of affected records : 1

02-02 18:42:52.095 306-306/? A/DEBUG: Abort message: 'getNativeBuffer() called on NULL GraphicBuffer'

02-02 18:42:52.096 306-306/? A/DEBUG: x0 0000000000000000 x1 0000000000007642 x2 0000000000000006 x3 0000000000000000

02-02 18:42:52.096 306-306/? A/DEBUG: x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000

02-02 18:42:52.096 306-306/? A/DEBUG: x8 0000000000000083 x9 0000007fa13c4000 x10 0000007fa13c5012 x11 0000000000000000

02-02 18:42:52.096 306-306/? A/DEBUG: x12 0000007fa13c4000 x13 0000007fa13af090 x14 0000000000000001 x15 0000007fa13b3e39

02-02 18:42:52.096 306-306/? A/DEBUG: x16 0000007fa44fb6a8 x17 0000007fa44bdb9c x18 0000000000000000 x19 0000007f73a5b510

02-02 18:42:52.096 306-306/? A/DEBUG: x20 0000007f73a5b450 x21 0000000000000019 x22 0000000000000006 x23 0000000000000000

02-02 18:42:52.096 306-306/? A/DEBUG: x24 000000559af8aa58 x25 0000000000000018 x26 0000007fa44ba000 x27 000000559af934a0

02-02 18:42:52.096 306-306/? A/DEBUG: x28 0000000000000000 x29 0000007f73a5ab80 x30 0000007fa44bb338

02-02 18:42:52.096 306-306/? A/DEBUG: sp 0000007f73a5ab80 pc 0000007fa44bdba4 pstate 0000000020000000

02-02 18:42:52.104 3856-4025/? I/AppOpsStatusUpdateHandler: pkgName = my_app_path

02-02 18:42:52.104 3856-4025/? I/AppOpsStatusUpdateHandler: taskId = 43

02-02 18:42:52.107 306-306/? A/DEBUG: backtrace:

02-02 18:42:52.108 306-306/? A/DEBUG: #00 pc 000000000006aba4 /system/lib64/libc.so (tgkill+8)

02-02 18:42:52.108 306-306/? A/DEBUG: #01 pc 0000000000068334 /system/lib64/libc.so (pthread_kill+68)

02-02 18:42:52.108 306-306/? A/DEBUG: #02 pc 00000000000212b8 /system/lib64/libc.so (raise+28)

02-02 18:42:52.108 306-306/? A/DEBUG: #03 pc 000000000001ba58 /system/lib64/libc.so (abort+60)

02-02 18:42:52.108 306-306/? A/DEBUG: #04 pc 000000000000d0c0 /system/lib64/libcutils.so (__android_log_assert+236)

02-02 18:42:52.108 306-306/? A/DEBUG: #05 pc 0000000000008790 /system/lib64/libui.so (_ZNK7android13GraphicBuffer15getNativeBufferEv+48)

02-02 18:42:52.108 306-306/? A/DEBUG: #06 pc 000000000008f658 /system/lib64/libstagefright.so (_ZN7android6ACodec16handleSetSurfaceERKNS_2spINS_7SurfaceEEE+632)

02-02 18:42:52.109 306-306/? A/DEBUG: #07 pc 0000000000098bec /system/lib64/libstagefright.so (_ZN7android6ACodec9BaseState17onMessageReceivedERKNS_2spINS_8AMessageEEE+380)

02-02 18:42:52.109 306-306/? A/DEBUG: #08 pc 000000000000dc40 /system/lib64/libstagefright_foundation.so (_ZN7android25AHierarchicalStateMachine13handleMessageERKNS_2spINS_8AMessageEEE+124)

02-02 18:42:52.109 306-306/? A/DEBUG: #09 pc 000000000002b8b8 /system/vendor/lib64/libavenhancements.so

02-02 18:42:52.109 306-306/? A/DEBUG: #10 pc 000000000000d9d0 /system/lib64/libstagefright_foundation.so (_ZN7android8AHandler14deliverMessageERKNS_2spINS_8AMessageEEE+32)

02-02 18:42:52.109 306-306/? A/DEBUG: #11 pc 000000000001154c /system/lib64/libstagefright_foundation.so (_ZN7android8AMessage7deliverEv+92)

02-02 18:42:52.109 306-306/? A/DEBUG: #12 pc 000000000000ea60 /system/lib64/libstagefright_foundation.so (_ZN7android7ALooper4loopEv+404)

02-02 18:42:52.109 306-306/? A/DEBUG: #13 pc 00000000000167b4 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+208)

02-02 18:42:52.109 306-306/? A/DEBUG: #14 pc 0000000000016004 /system/lib64/libutils.so

02-02 18:42:52.109 306-306/? A/DEBUG: #15 pc 0000000000067784 /system/lib64/libc.so (_ZL15__pthread_startPv+52)

02-02 18:42:52.109 306-306/? A/DEBUG: #16 pc 000000000001c604 /system/lib64/libc.so (__start_thread+16)

Unity build crash on other computers

$
0
0

I builded my small project which work very well on my computer but sadly crash at its opening on other computer. I tried to reduce the quality of the export and also delete a party of the scene that could cause heavy computation. Thus, the crash remains at the execution of the .exe, the scene and objets load through.

I, of course, tried to look up online for futher error explanation but it none suit this.

I look like a "Access Violation" (see error file), so I allowed the file in the antivirus and I did not change the crash.

univers_ia.exe caused an Access Violation (0xc0000005)  in module univers_ia.exe at 0033:00000000.

Error File

Player File

Thanks in advance

Firestore: Transactions crashing when offline

$
0
0

I am aware that according to the changelog (0.12.9+5). It supposedly fixed a crash on android where Transactions attempted while offline would result in an app crash. However, even with 0.13.7 (the version I'm using). I'm still running into app crashes. There is no error log in the console (just immediate crash).

I've tried:

  1. Running my app in debug mode on a physical device (same behavior)
  2. Attaching error handle callback (not called)
  3. Lowering my cloud_firestore version down to 0.12.11 (the lowest version that supported whereIn in querying; it is something I needed and above 0.12.9+5)

Other possibly relevant information:

  1. Logcat (I've included things that I can remotely guess to be relevant; I don't know how to read logcat)
 java.lang.RuntimeException: An error occurred while executing doInBackground()        at android.os.AsyncTask$3.done(AsyncTask.java:354)        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)        at java.util.concurrent.FutureTask.setException(FutureTask.java:252)        at java.util.concurrent.FutureTask.run(FutureTask.java:271)        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)        at java.lang.Thread.run(Thread.java:764)     Caused by: java.lang.AssertionError: INTERNAL ASSERTION FAILED: A transaction object cannot be used after its update callback has been invoked.        at com.google.firebase.firestore.util.Assert.fail(com.google.firebase:firebase-firestore@@21.3.0:46)        at com.google.firebase.firestore.util.Assert.hardAssert(com.google.firebase:firebase-firestore@@21.3.0:31)        at com.google.firebase.firestore.core.Transaction.ensureCommitNotCalled(com.google.firebase:firebase-firestore@@21.3.0:246)        at com.google.firebase.firestore.core.Transaction.lookup(com.google.firebase:firebase-firestore@@21.3.0:81)        at com.google.firebase.firestore.Transaction.getAsync(com.google.firebase:firebase-firestore@@21.3.0:191)        at com.google.firebase.firestore.Transaction.get(com.google.firebase:firebase-firestore@@21.3.0:228)        at io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin$5.doInBackground(CloudFirestorePlugin.java:569)        at io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin$5.doInBackground(CloudFirestorePlugin.java:564)        at android.os.AsyncTask$2.call(AsyncTask.java:333)        at java.util.concurrent.FutureTask.run(FutureTask.java:266)        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)         at java.lang.Thread.run(Thread.java:764) 

2020-06-20 15:20:03.272 10188-10241/com.vnf.lightweight_pos E/CloudFirestorePlugin: java.lang.Exception: DoTransaction failed: UNAVAILABLE: Unable to resolve host firestore.googleapis.com

     Caused by: java.lang.AssertionError: INTERNAL ASSERTION FAILED: A transaction object cannot be used after its update callback has been invoked.

Channel is unrecoverably broken and will be disposed!
  1. firebase_auth: 0.16.1

Android app crashes on release build but works in debug build - React-Native

$
0
0

i know this is a common problem but the error i am seeing is different here's the error

06-13 15:37:51.081  1690  3926 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.lawyr/.MainActivity bnds=[849,682][1056,960] (has extras)} from uid 10020 on display 006-13 15:37:51.137  1690  1782 I ActivityManager: Start proc 13071:com.lawyr/u0a88 for activity com.lawyr/.MainActivity06-13 15:37:51.285 13071 13071 D SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.lawyr-1/lib/x86 flags = 0]06-13 15:37:51.290 13071 13071 D SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.lawyr/lib-main flags = 1]06-13 15:37:51.293 13071 13071 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.lawyr-1/lib/x86 flags = 0]06-13 15:37:51.294 13071 13071 D SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.lawyr/lib-main flags = 1]06-13 15:37:51.297 13071 13071 V fb-UnpackingSoSource: locked dso store /data/user/0/com.lawyr/lib-main06-13 15:37:51.299 13071 13071 I fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.lawyr/lib-main06-13 15:37:51.299 13071 13071 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.lawyr/lib-main06-13 15:37:51.337 13071 13071 E EmbeddedLoader:    at com.lawyr.MainApplication.onCreate(MainApplication.java:86)06-13 15:37:51.338 13071 13071 E AndroidRuntime: Process: com.lawyr, PID: 1307106-13 15:37:51.338 13071 13071 E AndroidRuntime:    at com.lawyr.MainApplication.onCreate(MainApplication.java:86)06-13 15:37:51.340  1690  2045 W ActivityManager:   Force finishing activity com.lawyr/.MainActivity06-13 15:37:51.850  1690  1703 W ActivityManager: Activity pause timeout for ActivityRecord{30dba1e u0 com.lawyr/.MainActivity t51 f}06-13 15:37:51.853  1690  1703 I WindowManager: Failed to capture screenshot of Token{cc192ff ActivityRecord{30dba1e u0 com.lawyr/.MainActivity t51 f}} appWin=Window{ad21564 u0 Starting com.lawyr} drawState=4

MainActivity.java

package com.lawyr;import com.facebook.react.ReactActivity;import com.facebook.react.ReactActivityDelegate;import com.facebook.react.ReactRootView;import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;public class MainActivity extends ReactActivity {    /**     * Returns the name of the main component registered from JavaScript.     * This is used to schedule rendering of the component.     */    @Override    protected String getMainComponentName() {        return "main";    }    @Override    protected ReactActivityDelegate createReactActivityDelegate() {        return new ReactActivityDelegate(this, getMainComponentName()) {            @Override            protected ReactRootView createRootView() {                return new RNGestureHandlerEnabledRootView(MainActivity.this);            }        };    }}

MainApplication.java

package com.lawyr;import android.app.Application;import android.content.Context;import android.net.Uri;import com.facebook.react.PackageList;import com.facebook.react.ReactApplication;import com.oblador.vectoricons.VectorIconsPackage;import com.facebook.react.ReactNativeHost;import com.facebook.react.ReactPackage;import com.facebook.react.shell.MainReactPackage;import com.facebook.soloader.SoLoader;import com.lawyr.generated.BasePackageList;import org.unimodules.adapters.react.ReactAdapterPackage;import org.unimodules.adapters.react.ModuleRegistryAdapter;import org.unimodules.adapters.react.ReactModuleRegistryProvider;import org.unimodules.core.interfaces.Package;import org.unimodules.core.interfaces.SingletonModule;import expo.modules.constants.ConstantsPackage;import expo.modules.permissions.PermissionsPackage;import expo.modules.filesystem.FileSystemPackage;import expo.modules.updates.UpdatesController;import java.lang.reflect.InvocationTargetException;import java.util.Arrays;import java.util.List;import javax.annotation.Nullable;public class MainApplication extends Application implements ReactApplication {  private final ReactModuleRegistryProvider mModuleRegistryProvider = new ReactModuleRegistryProvider(    new BasePackageList().getPackageList(),    null  );  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {    @Override    public boolean getUseDeveloperSupport() {      return BuildConfig.DEBUG;    }    @Override    protected List<ReactPackage> getPackages() {      List<ReactPackage> packages = new PackageList(this).getPackages();      packages.add(new ModuleRegistryAdapter(mModuleRegistryProvider));      return packages;    }    @Override    protected String getJSMainModuleName() {      return "index";    }    @Override    protected @Nullable String getJSBundleFile() {      if (BuildConfig.DEBUG) {        return super.getJSBundleFile();      } else {        return UpdatesController.getInstance().getLaunchAssetFile();      }    }    @Override    protected @Nullable String getBundleAssetName() {      if (BuildConfig.DEBUG) {        return super.getBundleAssetName();      } else {        return UpdatesController.getInstance().getBundleAssetName();      }    }  };  @Override  public ReactNativeHost getReactNativeHost() {    return mReactNativeHost;  }  @Override  public void onCreate() {    super.onCreate();    SoLoader.init(this, /* native exopackage */ false);    // initializeFlipper(this); // Remove this line if you don't want Flipper enabled    if (!BuildConfig.DEBUG) {      UpdatesController.initialize(this);    }  }  /**   * Loads Flipper in React Native templates.   *   * @param context   */  private static void initializeFlipper(Context context) {    if (BuildConfig.DEBUG) {      try {        /*         We use reflection here to pick up the class that initializes Flipper,        since Flipper library is not available in release mode        */        Class<?> aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper");        aClass.getMethod("initializeFlipper", Context.class).invoke(null, context);      } catch (ClassNotFoundException e) {        e.printStackTrace();      } catch (NoSuchMethodException e) {        e.printStackTrace();      } catch (IllegalAccessException e) {        e.printStackTrace();      } catch (InvocationTargetException e) {        e.printStackTrace();      }    }  }}

here's s my packages.json

{"name": "Lawyr","version": "0.1.0","private": true,"devDependencies": {"@babel/core": "~7.9.0","babel-eslint": "^10.0.1","babel-jest": "~25.2.6","eslint": "^5.7.0","eslint-config-airbnb": "^17.1.0","eslint-plugin-import": "^2.14.0","eslint-plugin-jest": "^21.25.1","eslint-plugin-jsx-a11y": "^6.1.2","eslint-plugin-react": "^7.11.1","jest": "~25.2.6","jest-expo": "^37.0.0","react-native-debugger-open": "^0.3.17","react-native-scripts": "1.11.1","react-test-renderer": "16.2.0"  },"main": "node_modules/expo/AppEntry.js","scripts": {"start": "react-native start","android": "react-native run-android","ios": "react-native run-ios","test": "jest"  },"jest": {"preset": "jest-expo"  },"dependencies": {"@react-native-community/google-signin": "^4.0.3","@react-native-community/netinfo": "5.5.1","@react-native-community/viewpager": "^4.0.0","axios": "^0.18.0","date-fns": "^1.29.0","enzyme": "^3.7.0","enzyme-adapter-react-16": "^1.6.0","expo": "^37.0.0","expo-constants": "~9.0.0","expo-font": "~8.1.0","expo-linear-gradient": "~8.1.0","expo-permissions": "~8.1.0","expo-updates": "~0.1.0","lodash": "^4.17.10","prop-types": "^15.6.2","react": "~16.9.0","react-dom": "~16.9.0","react-native": "~0.62.2","react-native-app-intro-slider": "^0.2.4","react-native-chart-kit": "^5.4.0","react-native-credit-card-input": "^0.4.1","react-native-datepicker": "^1.7.2","react-native-fbsdk": "^2.0.0","react-native-gesture-handler": "~1.6.0","react-native-hr-component": "^1.0.6","react-native-mock-render": "^0.1.2","react-native-modal-datetime-picker": "^6.0.0","react-native-paystack": "^3.4.0","react-native-picker-select": "^5.1.0","react-native-reanimated": "~1.7.0","react-native-screens": "~2.2.0","react-native-scrollable-tab-view": "^1.0.0","react-native-svg": "11.0.1","react-native-swipe-list-view": "^3.1.1","react-native-tab-view": "0.0.77","react-native-unimodules": "~0.9.0","react-native-vector-icons": "^6.6.0","react-native-web": "~0.11.7","react-navigation": "^2.9.3","react-redux": "^5.0.7","redux": "^4.0.0","redux-devtools-extension": "^2.13.5","redux-logger": "^3.0.6","redux-mock-store": "^1.5.3","redux-persist": "^5.10.0","redux-thunk": "^2.2.0","styled-components": "^3.2.3","whatwg-fetch": "^2.0.4"  }}

i did build release and the app crashes on launch i tried build it with debug and run without error.

the app was initially in expo but did expo eject to get the ios and android folders

excel 2010 file with a chart crashes on close

$
0
0

My soft is: Windows 7 64bit, Excel 2010.

I have a big excel file with about 20 pages. This file is crashing on close. I can save it, copy and so on, but on close it crash. I found one page, which crashes alone without others and put it to different file. On this page I remove all except chart. It still crashes. The problem is solving when I removing the chart. There is that file: http://ge.tt/9XOBOHa2

And there is an information about crash in russian (if it is necessary, i'll translate):

Сигнатурапроблемы:Имясобытияпроблемы: APPCRASHИмяприложения:   EXCEL.EXEВерсияприложения:    14.0.4756.1000Отметкавремениприложения:   4b9c0870Имямодулясошибкой: oart.dllВерсиямодулясошибкой:  14.0.4756.1000Отметкавременимодулясошибкой: 4b9c0c91Кодисключения:   c0000005Смещениеисключения:  00000000001887e2ВерсияОС:    6.1.7601.2.1.0.256.48Кодязыка:    1049Дополнительныесведенияобэтойпроблеме:  LCID: 1049  skulcid:  1049

Spyder(Anaconda) does not start after forced shut down

$
0
0

I stupidly tried to read a massive .bin file in Python, which resulted in the laptop freezing, so I had to force shut down the laptop entirely.

After that, Spyder does not start - I get a 'Spyder crashed during last session' message. I tried reinstalling Anaconda, I tried updating Spyder, I tried resetting Spyder, I tried restarting the laptop. Absolutely nothing works. Qt Console and Powershell open successfully.

Any ideas what else I can try?

Xcode 6.1 and 6.1.1 Crashes on Debugger Breakpoint (Simulator)

$
0
0

I, like many others, have had issues with Xcode 6+ crashing. I get the SourceKit crashes as well as full application crashes. On a whim I figured I'd try 6.1.1 (developer member center) and it was worse, a debugger breakpoint now results in a a full application crash. So I said forget it and went back to 6.1, but I still have crashes when putting in a debugger breakpoint.

Apparently this crash with breakpoint only affects the Simulator, physical devices set and stop at breakpoints without an issue. Weird!

It's absolutely maddening! Anyone else getting this?

Things I've tried:

  • remove /Application/Xcode.app/ & ~/Library/Developer/*
  • cleaning the project
  • rebooted my laptop
  • breakpoint for execution on a physical device (<<<<====== This works!!!)
  • slaughtering a chicken and spreading it's blood all over

Head of the stack trace:

Process:         Xcode [7904]Path:            /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier:      com.apple.dt.XcodeVersion:         6.1 (6604)Build Info:      IDEFrameworks-6604000000000000~2App Item ID:     497799835App External ID: 752282650Code Type:       X86-64 (Native)Parent Process:  launchd [185]Responsible:     Xcode [7904]User ID:         501Date/Time:       2014-11-25 12:32:49.348 -0800OS Version:      Mac OS X 10.9.5 (13F34)Report Version:  11Anonymous UUID:  E22980F9-B80B-F985-200A-FE471C623C56Crashed Thread:  23  <DBGLLDBSessionThread (pid=7957)>Exception Type:  EXC_BAD_ACCESS (SIGBUS)Exception Codes: KERN_PROTECTION_FAILURE at 0x00000001409bdfd0VM Regions Near 0x1409bdfd0:    Stack                  000000014093b000-00000001409bd000 [  520K] rw-/rwx SM=COW  thread 22--> STACK GUARD            00000001409bd000-00000001409be000 [    4K] ---/rwx SM=NUL  stack guard for thread 23    Stack                  00000001409be000-0000000140a40000 [  520K] rw-/rwx SM=COW  thread 23Application Specific Information:ProductBuildVersion: 6A1052d

...

Thread 23 Crashed:: <DBGLLDBSessionThread (pid=7957)>0   libsystem_pthread.dylib         0x00007fff90eb82cf __mtx_droplock + 171   libsystem_pthread.dylib         0x00007fff90eb88f3 pthread_mutex_unlock + 602   com.apple.LLDB.framework        0x000000011808f8be lldb_private::Mutex::Locker::~Locker() + 223   com.apple.LLDB.framework        0x00000001180ed55f GDBRemoteCommunication::CheckForPacket(unsigned char const*, unsigned long, StringExtractorGDBRemote&) + 24234   com.apple.LLDB.framework        0x00000001180ec99e GDBRemoteCommunication::WaitForPacketWithTimeoutMicroSecondsNoLock(StringExtractorGDBRemote&, unsigned int) + 885   com.apple.LLDB.framework        0x00000001181eeb1b GDBRemoteCommunicationClient::SendPacketAndWaitForResponse(char const*, unsigned long, StringExtractorGDBRemote&, bool) + 916   com.apple.LLDB.framework        0x00000001180f7574 ProcessGDBRemote::DoReadMemory(unsigned long long, void*, unsigned long, lldb_private::Error&) + 2167   com.apple.LLDB.framework        0x00000001181a452a lldb_private::Process::ReadMemoryFromInferior(unsigned long long, void*, unsigned long, lldb_private::Error&) + 948   com.apple.LLDB.framework        0x0000000118171889 lldb_private::ProcessStructReader::ProcessStructReader(lldb_private::Process*, unsigned long long, lldb_private::ClangASTType) + 5619   com.apple.LLDB.framework        0x0000000118169082 lldb_private::SwiftLanguageRuntime::ClassMetadata::ClassMetadata(lldb_private::SwiftLanguageRuntime&, unsigned long long) + 35410  com.apple.LLDB.framework        0x000000011816625d lldb_private::SwiftLanguageRuntime::GetMetadataForLocation(unsigned long long) + 53111  com.apple.LLDB.framework        0x00000001181690d1 lldb_private::SwiftLanguageRuntime::ClassMetadata::ClassMetadata(lldb_private::SwiftLanguageRuntime&, unsigned long long) + 43312  com.apple.LLDB.framework        0x000000011816625d lldb_private::SwiftLanguageRuntime::GetMetadataForLocation(unsigned long long) + 53113  com.apple.LLDB.framework        0x00000001181690d1 lldb_private::SwiftLanguageRuntime::ClassMetadata::ClassMetadata(lldb_private::SwiftLanguageRuntime&, unsigned long long) + 43314  com.apple.LLDB.framework        0x000000011816625d lldb_private::SwiftLanguageRuntime::GetMetadataForLocation(unsigned long long) + 53115  com.apple.LLDB.framework        0x00000001181690d1 lldb_private::SwiftLanguageRuntime::ClassMetadata::ClassMetadata(lldb_private::SwiftLanguageRuntime&, unsigned long long) + 43316  com.apple.LLDB.framework        0x000000011816625d lldb_private::SwiftLanguageRuntime::GetMetadataForLocation(unsigned long long) + 53117  com.apple.LLDB.framework        0x00000001181690d1 lldb_private::SwiftLanguageRuntime::ClassMetadata::ClassMetadata(lldb_private::SwiftLanguageRuntime&, unsigned long long) + 43318  com.apple.LLDB.framework        0x000000011816625d lldb_private::SwiftLanguageRuntime::GetMetadataForLocation(unsigned long long) + 531

...

CIFilter causes a crash on iPhone 11 and XR

$
0
0

All init of CIFilter causes a crash for some devices iPhone 11 & iPhone XR. iOS version 13.3.1, 13.4.1.

I tried to import :

import CoreImageimport CoreImage.CIFilterimport CoreImage.CIFilterBuiltins

But Its not working !I use xCode 11.4.1 & xCode 11.5

I have tried several things:

        if let filter = CIFilter(name: "CIQRCodeGenerator") {        filter.setValue(data, forKey: "inputMessage")        let transform = CGAffineTransform(scaleX: 5, y: 5)        if let output = filter.outputImage?.transformed(by: transform) {            return UIImage(ciImage: output)        }    }

or this :

let filter = CIFilter.qrCodeGenerator()

I also tried to link to CoreImage.framework explicitly in the target settings.

Crash log:

Crashed: com.apple.main-thread0  CocoaDebug                     0x1023a0adc perform_rebinding_with_section + 3321  CocoaDebug                     0x1023a087c rebind_symbols_for_image + 4162  libdyld.dylib                  0x1999c3f4c invocation function for block in dyld3::AllImages::runImageCallbacks(dyld3::Array<dyld3::LoadedImage> const&) + 2443  libdyld.dylib                  0x1999c3768 dyld3::AllImages::runImageCallbacks(dyld3::Array<dyld3::LoadedImage> const&) + 1604  libdyld.dylib                  0x1999c8dd8 dyld3::AllImages::loadImage(Diagnostics&, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool) + 5805  libdyld.dylib                  0x1999c89ec dyld3::AllImages::dlopen(Diagnostics&, char const*, bool, bool, bool, bool, bool, void const*) + 8686  libdyld.dylib                  0x1999ca434 dyld3::dlopen_internal(char const*, int, void*) + 3647  libdyld.dylib                  0x1999bd6c0 dlopen + 1168  CoreFoundation                 0x199bcf5c8 _CFBundleDlfcnLoadBundle + 1569  CoreFoundation                 0x199af1eac _CFBundleLoadExecutableAndReturnError + 37210 Foundation                     0x199ec27a8 -[NSBundle loadAndReturnError:] + 31611 CoreImage                      0x19b479bcc invocation function for block in register_more_builtins(void (NSString*) block_pointer) + 80412 libdispatch.dylib              0x19986833c _dispatch_client_callout + 2013 libdispatch.dylib              0x199869a68 _dispatch_once_callout + 3214 CoreImage                      0x19b476318 register_more_builtins(void (NSString*) block_pointer) + 30415 CoreImage                      0x19b476b40 classNameIsSystemFilter(NSString*) + 11216 CoreImage                      0x19b476dbc +[CIFilter(CIFilterRegistryPrivate) filterWithName:setDefaults:] + 39617 MYApp                          0x100656598 QRCodeViewController.generateQRCode(from:) + 4370490776 (<compiler-generated>:4370490776)18 MYApp                          0x1006563a4 QRCodeViewController.viewDidLoad() + 28 (QRCodeViewController.swift:28)19 MYApp                          0x10065642c @objc QRCodeViewController.viewDidLoad() + 4370490412 (<compiler-generated>:4370490412)20 UIKitCore                      0x19d6a236c -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 10421 UIKitCore                      0x19d6a6f20 -[UIViewController loadViewIfRequired] + 95222 UIKitCore                      0x19d6a730c -[UIViewController view] + 3223 UIKitCore                      0x19d602fa4 -[UINavigationController _startCustomTransition:] + 114824 UIKitCore                      0x19d617478 -[UINavigationController _startDeferredTransitionIfNeeded:] + 69225 UIKitCore                      0x19d618818 -[UINavigationController __viewWillLayoutSubviews] + 17626 UIKitCore                      0x19d5fb4fc -[UILayoutContainerView layoutSubviews] + 22827 UIKitCore                      0x19e1de6a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 216828 QuartzCore                     0x1a08314a0 -[CALayer layoutSublayers] + 29229 QuartzCore                     0x1a08318e0 CA::Layer::layout_if_needed(CA::Transaction*) + 47230 QuartzCore                     0x1a0843dc4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 14431 QuartzCore                     0x1a0788884 CA::Context::commit_transaction(CA::Transaction*, double) + 30432 QuartzCore                     0x1a07b33d0 CA::Transaction::commit() + 65633 QuartzCore                     0x1a07b3fc8 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 9634 CoreFoundation                 0x199b42c54 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 3635 CoreFoundation                 0x199b3d8e4 __CFRunLoopDoObservers + 42036 CoreFoundation                 0x199b3dd84 __CFRunLoopRun + 102037 CoreFoundation                 0x199b3d660 CFRunLoopRunSpecific + 48038 GraphicsServices               0x1a3f4e604 GSEventRunModal + 16439 UIKitCore                      0x19dd1215c UIApplicationMain + 194440 MYApp                          0x100518e54 main + 4369190484 (<compiler-generated>:4369190484)41 libdyld.dylib                  0x1999b91ec start + 4

With the simulator it works well.

Someone would have any idea ?Thanks

CIFilter with CIQRCodeGenerator cause crash

$
0
0

I'm trying to generate QR code with following code :

DispatchQueue.main.async {    let image = generateQRCode(from: qrCodeString)}func generateQRCode(from string: String?) -> UIImage? {    if let data = string?.data(using: .utf8, allowLossyConversion: false) {        if let filter = CIFilter(name: "CIQRCodeGenerator") {            filter.setValue(data, forKey: "inputMessage")            let transform = CGAffineTransform(scaleX: 5, y: 5)            if let output = filter.outputImage?.transformed(by: transform) {                return UIImage(ciImage: output)            }        }    }    return nil}

This code works well for most devices/iOS version.

But firebase brings me a lot of device crashes: iPhone 11, XR. iOS 13.4.0

Crashed: com.apple.main-thread0  CocoaDebug                     0x1023a0adc perform_rebinding_with_section + 3321  CocoaDebug                     0x1023a087c rebind_symbols_for_image + 4162  libdyld.dylib                  0x1999c3f4c invocation function for block in dyld3::AllImages::runImageCallbacks(dyld3::Array<dyld3::LoadedImage> const&) + 2443  libdyld.dylib                  0x1999c3768 dyld3::AllImages::runImageCallbacks(dyld3::Array<dyld3::LoadedImage> const&) + 1604  libdyld.dylib                  0x1999c8dd8 dyld3::AllImages::loadImage(Diagnostics&, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool) + 5805  libdyld.dylib                  0x1999c89ec dyld3::AllImages::dlopen(Diagnostics&, char const*, bool, bool, bool, bool, bool, void const*) + 8686  libdyld.dylib                  0x1999ca434 dyld3::dlopen_internal(char const*, int, void*) + 3647  libdyld.dylib                  0x1999bd6c0 dlopen + 1168  CoreFoundation                 0x199bcf5c8 _CFBundleDlfcnLoadBundle + 1569  CoreFoundation                 0x199af1eac _CFBundleLoadExecutableAndReturnError + 37210 Foundation                     0x199ec27a8 -[NSBundle loadAndReturnError:] + 31611 CoreImage                      0x19b479bcc invocation function for block in register_more_builtins(void (NSString*) block_pointer) + 80412 libdispatch.dylib              0x19986833c _dispatch_client_callout + 2013 libdispatch.dylib              0x199869a68 _dispatch_once_callout + 3214 CoreImage                      0x19b476318 register_more_builtins(void (NSString*) block_pointer) + 30415 CoreImage                      0x19b476b40 classNameIsSystemFilter(NSString*) + 11216 CoreImage                      0x19b476dbc +[CIFilter(CIFilterRegistryPrivate) filterWithName:setDefaults:] + 39617 MYApp                          0x100656598 QRCodeViewController.generateQRCode(from:) + 4370490776 (<compiler-generated>:4370490776)18 MYApp                          0x1006563a4 QRCodeViewController.viewDidLoad() + 28 (QRCodeViewController.swift:28)19 MYApp                          0x10065642c @objc QRCodeViewController.viewDidLoad() + 4370490412 (<compiler-generated>:4370490412)20 UIKitCore                      0x19d6a236c -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 10421 UIKitCore                      0x19d6a6f20 -[UIViewController loadViewIfRequired] + 95222 UIKitCore                      0x19d6a730c -[UIViewController view] + 3223 UIKitCore                      0x19d602fa4 -[UINavigationController _startCustomTransition:] + 114824 UIKitCore                      0x19d617478 -[UINavigationController _startDeferredTransitionIfNeeded:] + 69225 UIKitCore                      0x19d618818 -[UINavigationController __viewWillLayoutSubviews] + 17626 UIKitCore                      0x19d5fb4fc -[UILayoutContainerView layoutSubviews] + 22827 UIKitCore                      0x19e1de6a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 216828 QuartzCore                     0x1a08314a0 -[CALayer layoutSublayers] + 29229 QuartzCore                     0x1a08318e0 CA::Layer::layout_if_needed(CA::Transaction*) + 47230 QuartzCore                     0x1a0843dc4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 14431 QuartzCore                     0x1a0788884 CA::Context::commit_transaction(CA::Transaction*, double) + 30432 QuartzCore                     0x1a07b33d0 CA::Transaction::commit() + 65633 QuartzCore                     0x1a07b3fc8 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 9634 CoreFoundation                 0x199b42c54 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 3635 CoreFoundation                 0x199b3d8e4 __CFRunLoopDoObservers + 42036 CoreFoundation                 0x199b3dd84 __CFRunLoopRun + 102037 CoreFoundation                 0x199b3d660 CFRunLoopRunSpecific + 48038 GraphicsServices               0x1a3f4e604 GSEventRunModal + 16439 UIKitCore                      0x19dd1215c UIApplicationMain + 194440 MYApp                          0x100518e54 main + 4369190484 (<compiler-generated>:4369190484)41 libdyld.dylib                  0x1999b91ec start + 4

I tried several different encoding, I tried to do it on the main thread or in backgroud, but always without result.

it looks like the whole class CIFilter causes a crash !!

Using sound in pygame is crashing my game

$
0
0

I'm trying to make a "clicking" sound for when the user presses a button, but pygame is crashing when I try to use it

The error I get is:

Fatal Python error: PyEval_SaveThread: NULL tstate

Current thread 0x00007f8c1acf2740 (most recent call first):File "/home/lucas1809/\xc1rea de Trabalho/Projetos/sudokey/main.py", line 60 in module

click = pygame.mixer.Sound("sons/click.ogg") #I first create the click instance
pygame.mixer.Sound.play(click, 1) #Then, I play it on the main loop

I already tried to change the frequency of the mixer to 44100, as suggested in another post, but the problem remains

Thanks in advance

Viewing all 7150 articles
Browse latest View live