Coder Social home page Coder Social logo

Comments (8)

wanglong121 avatar wanglong121 commented on July 27, 2024

the console output some logs as follows(many similar):
2022-03-07 09:37:15.150586+0800 edX[7971:2119488] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<edX.LayoutConstraint:[email protected]#96 UIView:0x1144db0b0.bottom == edX.CourseCardView:0x1144dad10.bottom - 0.5>",
"<edX.LayoutConstraint:[email protected]#121 UIView:0x1144db870.top == edX.CourseCardView:0x1144dad10.top>",
"<edX.LayoutConstraint:[email protected]#122 UIView:0x1144db870.bottom == UIView:0x1144db0b0.top>",
"<NSAutoresizingMaskLayoutConstraint:0x2816d3200 edX.CourseCardView:0x1144dad10.height == 0>"
)
Will attempt to recover by breaking constraint
<edX.LayoutConstraint:[email protected]#96 UIView:0x1144db0b0.bottom == edX.CourseCardView:0x1144dad10.bottom - 0.5>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
......

from edx-app-ios.

mumer92 avatar mumer92 commented on July 27, 2024

@wanglong121 this is info log, not the actual crash log, can you add the actual crash log?

from edx-app-ios.

wanglong121 avatar wanglong121 commented on July 27, 2024

@wanglong121 this is info log, not the actual crash log, can you add the actual crash log?

Details

The app “edX” on iPhone quit unexpectedly.
Domain: IDEDebugSessionErrorDomain
Code: 10
Failure Reason: Message from debugger: Terminated due to memory issue
User Info: {
DVTErrorCreationDateKey = "2022-03-15 01:22:45 +0000";
IDERunOperationFailingWorker = DBGLLDBLauncher;
}

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone9,1";
"device_osBuild" = "14.7.1 (18G82)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 2;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 86240;
"operation_errorCode" = 10;
"operation_errorDomain" = IDEDebugSessionErrorDomain;
"operation_errorWorker" = DBGLLDBLauncher;
"operation_name" = IDEiPhoneRunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 5;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_runnable_swiftVersion" = "5.5.2";
"param_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos15.2";
"sdk_osVersion" = "15.2";
"sdk_variant" = iphoneos;
}

System Information

macOS Version 12.2.1 (Build 21D62)
Xcode 13.2.1 (19586) (Build 13C100)
Timestamp: 2022-03-15T09:22:45+08:00

from edx-app-ios.

wanglong121 avatar wanglong121 commented on July 27, 2024

@wanglong121 this is info log, not the actual crash log, can you add the actual crash log?

the console has no more crash log, Do i have any problem compile with xcode 13.2.1 ?

from edx-app-ios.

mumer92 avatar mumer92 commented on July 27, 2024

@wanglong121

  1. Are you using latest code from master? if so, it requires Xcode 13.2.1.
    if you are using the last release code, you will need Xcode 12.5.1

  2. Is it happening on vanilla installation of code? or do you have some modifications done?

  3. Can you please check for memory leaks using Xcode's Allocations tools and also look for leak objects.

from edx-app-ios.

wanglong121 avatar wanglong121 commented on July 27, 2024

@mumer92
thanks for your reply!
1、I'm using the open release code :open-release-lilac3, compile it with xcode 13.2.1;
2、it is happening on vanilla installation of code
3、I‘m try to use Xcode's Allocations tools to find the leak objects, I will reply you latter.

from edx-app-ios.

wanglong121 avatar wanglong121 commented on July 27, 2024

1

I find the place which maybe the problem occurr, as shown above. Can you find the cause of it? I need some guidance。

from edx-app-ios.

mumer92 avatar mumer92 commented on July 27, 2024

@wanglong121 can you share recording of the app? from the logs, is looks like it is crashing somewhere in scope of UITableView.

from edx-app-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.