MerginMaps / mobile

Mobile app for Mergin Maps 📲. Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
280 stars 62 forks source link

Crash in QgsExpressionNodeBinaryOperator #3448

Closed tomasMizera closed 2 weeks ago

tomasMizera commented 1 month ago

Started to see this crash in 2024.1.0 (SIGSEGV)

Backtrace:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 4937 >>> uk.co.lutraconsulting <<<

backtrace:
  #00  pc 0x0000000000556c30  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #01  pc 0x0000000000551584  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #02  pc 0x0000000000556a80  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #03  pc 0x0000000000545af8  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #04  pc 0x00000000004a1e08  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #05  pc 0x00000000004a1dbc  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #06  pc 0x00000000004a2964  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #07  pc 0x000000000206cb28  .../lib/arm64/libInput_arm64-v8a.so (QgsExpressionNodeBinaryOperator::evalNode(QgsExpression*, QgsExpressionContext const*)) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #08  pc 0x000000000206ba94  .../lib/arm64/libInput_arm64-v8a.so (QgsExpressionNodeBinaryOperator::evalNode(QgsExpression*, QgsExpressionContext const*)) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #09  pc 0x000000000206b9fc  .../lib/arm64/libInput_arm64-v8a.so (QgsExpressionNodeBinaryOperator::evalNode(QgsExpression*, QgsExpressionContext const*)) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #10  pc 0x00000000020501d8  .../lib/arm64/libInput_arm64-v8a.so (QgsExpression::evaluate(QgsExpressionContext const*)) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #11  pc 0x0000000001ef2e0c  .../lib/arm64/libInput_arm64-v8a.so (QgsRuleBasedRenderer::Rule::willRenderFeature(QgsFeature const&, QgsRenderContext*)) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #12  pc 0x0000000001ef371c  .../lib/arm64/libInput_arm64-v8a.so (QgsRuleBasedRenderer::Rule::legendKeysForFeature(QgsFeature const&, QgsRenderContext*)) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #13  pc 0x0000000002a21d70  .../lib/arm64/libInput_arm64-v8a.so (QgsVectorLayerFeatureCounter::run()) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #14  pc 0x0000000002548564  .../lib/arm64/libInput_arm64-v8a.so (QgsTask::start()) (BuildId: 246fc389115228afe08ac17fea9db34a6bd4ac59)
  #15  pc 0x0000000000481e90  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #16  pc 0x000000000047f9b4  .../lib/arm64/libQt6Core_arm64-v8a.so (BuildId: efe34564c0d67b4d72939e046eca1c5b746f2576)
  #17  pc 0x00000000000efb14  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #18  pc 0x000000000008c35c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

Does not seem to be related to some specific Android version or manufacturer.

More details: https://play.google.com/console/u/0/developers/9020781919488086309/app/4975035682978011226/vitals/crashes/06f9ac138a0d24c28c7ac6cf3d893aad/details?days=28&isUserPerceived=true&versionCode=521611

tomasMizera commented 2 weeks ago

Duplicate of https://github.com/MerginMaps/mobile/issues/3511