Closed HassanAkbar closed 11 months ago
stacktrace.txt
{"app_name":"ruby","timestamp":"2023-03-14 11:24:53.00 +0500","app_version":"","slice_uuid":"52da4a8f-811f-39ac-8107-8b8a02f0c61f","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"incident_id":"41912254-D19D-4FBF-A223-8C7D884C551E","name":"ruby"} { "uptime" : 370000, "procRole" : "Unspecified", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro16,2", "coalitionID" : 1829, "osVersion" : { "train" : "macOS 13.2.1", "build" : "22D68", "releaseType" : "User" }, "captureTime" : "2023-03-14 11:24:53.7222 +0500", "incident" : "41912254-D19D-4FBF-A223-8C7D884C551E", "pid" : 98492, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-03-14 11:24:49.6806 +0500", "procStartAbsTime" : 375473353327595, "procExitAbsTime" : 375477390636169, "procName" : "ruby", "procPath" : "\/Users\/USER\/*\/ruby", "parentProc" : "zsh", "parentPid" : 74268, "coalitionName" : "com.apple.Terminal", "crashReporterKey" : "77FE29E7-8789-BFAE-E150-A365715228F7", "responsiblePid" : 1519, "responsibleProc" : "Terminal", "wakeTime" : 1525, "bridgeVersion" : {"build":"20P3045","train":"7.2"}, "sleepWakeUUID" : "A4CD8937-E6A2-4132-BB92-E7029442165C", "sip" : "enabled", "vmRegionInfo" : "0 is not in any region. Bytes before following region: 4509085696\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 10cc33000-10cc37000 [ 16K] r-x\/r-x SM=COW ...s\/USER\/*\/ruby", "exception" : {"codes":"0x000000000000000d, 0x0000000000000000","rawCodes":[13,0],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"UNKNOWN_0xD at 0x0000000000000000"}, "vmregioninfo" : "0 is not in any region. Bytes before following region: 4509085696\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 10cc33000-10cc37000 [ 16K] r-x\/r-x SM=COW ...s\/USER\/*\/ruby", "asi" : {"libsystem_c.dylib":["abort() called"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":6457368,"instructionState":{"instructionStream":{"bytes":[137,119,40,76,137,127,48,72,139,4,36,101,72,51,4,37,56,0,0,0,72,137,71,56,72,141,68,36,8,101,72,51,4,37,56,0,0,0,72,137,71,16,217,127,76,15,174,95,72,49,192,195,219,227,133,246,184,1,0,0,0,15,69,198,72,139,31,72,139,119,8,101,72,51,52,37,56,0,0,0,72,137,245,72,139,119,16,101,72,51,52,37,56,0,0,0,76,15,190,38,72,137,244,76,139,103,24,76,139,111,32,76,139,119,40,76,139,127,48,72,139,119,56,101,72,51,52,37,56,0,0,0,217,111,76,15,174,87,72,252,255,230,64,246,199,1,184,0,0,0,128,190,0,0,0,64,15,68,240,49,255,49,210,233,136,60,0,0,144,85,72,137,229,232,7,0,0,0,49,192,93,195,144,144,144,85,72,137,229,65,87,65],"offset":96}},"threadState":{"r13":{"value":4518246441,"symbolLocation":34169,"symbol":"hex_table"},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":140704722885976,"symbolLocation":456,"symbol":"__sFX"},"cr2":{"value":140704693614008},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":22},"rbx":{"value":140704722855552,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703588864554,"matchesCrashFrame":1},"rbp":{"value":140200558818832},"rsp":{"value":140200558818792},"r12":{"value":259},"rcx":{"value":140200558818792},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":33322,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":24443,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531621,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":728489,"sourceLine":776,"sourceFile":"error.c","symbol":"die","imageIndex":3,"symbolLocation":9},{"imageOffset":729057,"sourceLine":817,"sourceFile":"error.c","symbol":"rb_bug_for_fatal_signal","imageIndex":3,"symbolLocation":561},{"imageOffset":2094635,"sourceLine":964,"sourceFile":"signal.c","symbol":"sigsegv","imageIndex":3,"symbolLocation":91},{"imageOffset":15389,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":4}]},{"id":6457369,"frames":[{"imageOffset":33494,"symbol":"poll","symbolLocation":10,"imageIndex":0},{"imageOffset":2432684,"sourceLine":2383,"sourceFile":"thread_pthread.c","symbol":"timer_pthread_fn","imageIndex":3,"symbolLocation":140},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703588831232, "size" : 237560, "uuid" : "87ff381c-4d30-3087-bab7-a5a53d232c00", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703589068800, "size" : 49144, "uuid" : "3bd433d4-15bd-3add-a612-95e4d3b20719", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703587815424, "size" : 561152, "uuid" : "1aec5d1a-6e43-30f9-a9f2-11eb85d3e70c", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4514578432, "size" : 3719168, "uuid" : "8778819f-89f4-3f5d-a809-97ec0c9cc529", "path" : "\/Users\/USER\/*\/libruby.3.2.dylib", "name" : "libruby.3.2.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703589253120, "size" : 40952, "uuid" : "04645919-7592-3a26-93b5-95663f983856", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" } ], "sharedCache" : { "base" : 140703585107968, "size" : 21474836480, "uuid" : "57815a20-af2c-3b56-9006-23abde7962b0" }, "vmSummary" : "ReadOnly portion of Libraries: Total=298.6M resident=0K(0%) swapped_out_or_unallocated=298.6M(100%)\nWritable regions: Total=689.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=689.4M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 8K 1 \nMALLOC 248.5M 57 \nMALLOC guard page 16K 4 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 4K 1 \nStack 8712K 2 \nStack Guard 56.0M 1 \nVM_ALLOCATE 47.9M 253 \n__DATA 3522K 162 \n__DATA_CONST 6363K 125 \n__DATA_DIRTY 339K 57 \n__LINKEDIT 186.7M 30 \n__OBJC_RO 65.5M 1 \n__OBJC_RW 1989K 2 \n__TEXT 111.8M 179 \ndyld private memory 256K 1 \nmapped file 4840K 2 \nshared memory 20K 3 \n=========== ======= ======= \nTOTAL 1.1G 883 \nTOTAL, minus reserved VM space 742.2M 883 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "6112d17137f5d11121dcd4e2", "factorPackIds" : { }, "deploymentId" : 240000250 }, { "rolloutId" : "60da5e84ab0ca017dace9abf", "factorPackIds" : { }, "deploymentId" : 240000008 } ], "experiments" : [ ] } }
~It looks like type conversion from C++ to Ruby is missing or does not work in Rice so nullptr does not become nil~
nullptr
nil
Stacktrace
stacktrace.txt
Crash Report Log file