i've got an error for B4a or Basic 4 android can someone help me to fix it PDFVIEWER - basic4android
** Activity (categories) Pause, UserClosed = false **
** Activity (books) Create, isFirst = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = true **
pagecount:470
pc:470
** Activity (pdfviewer) Resume **
** Activity (pdfviewer) Pause, UserClosed = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = false **
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 8065 (FinalizerDaemon)
Logger connected to: OPPO CPH1613
--------- beginning of crash
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 20664 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 20895 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 21526 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 27897 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 29300 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 12649 (FinalizerDaemon)
--------- beginning of system
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 16740 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 22794 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 23064 (RendererWorkerT)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 23078 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 23208 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 29825 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 32069 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 32120 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 32163 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 32222 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 900 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 952 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 1548 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 1594 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 1638 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 1981 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 2427 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 2488 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 2893 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 2944 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 3452 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 3597 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 5299 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 5364 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 5847 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 5922 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 6067 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 6105 (FinalizerDaemon)
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 7096 (FinalizerDaemon)
--------- beginning of main
** Activity (pdfviewer) Pause, UserClosed = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = false **
pagecount:60
pc:60
** Activity (pdfviewer) Resume **
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 7134 (FinalizerDaemon)
** Activity (books) Create, isFirst = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = true **
** Activity (categories) Create, isFirst = true **
** Activity (categories) Resume **
** Activity (categories) Pause, UserClosed = false **
** Activity (books) Create, isFirst = false **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = true **
pagecount:182
pc:182
** Activity (pdfviewer) Resume **
** Activity (pdfviewer) Pause, UserClosed = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = false **
pagecount:76
pc:76
** Activity (pdfviewer) Resume **
** Activity (pdfviewer) Pause, UserClosed = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = true **
** Activity (categories) Resume **
** Activity (categories) Pause, UserClosed = false **
** Activity (books) Create, isFirst = false **
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 7200 (FinalizerDaemon)
** Activity (categories) Create, isFirst = true **
** Activity (categories) Resume **
** Activity (categories) Pause, UserClosed = true **
** Activity (home) Create, isFirst = true **
** Activity (home) Resume **
** Activity (home) Pause, UserClosed = true **
** Activity (categories) Create, isFirst = false **
** Activity (categories) Resume **
** Activity (categories) Pause, UserClosed = false **
** Activity (books) Create, isFirst = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = true **
pagecount:470
pc:470
** Activity (pdfviewer) Resume **
** Activity (pdfviewer) Pause, UserClosed = true **
** Activity (books) Resume **
** Activity (books) Pause, UserClosed = false **
** Activity (pdfviewer) Create, isFirst = false **
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x14 in tid 8065 (FinalizerDaemon)
pagecount:60
pc:60
** Activity (pdfviewer) Resume **
** Activity (categories) Create, isFirst = true **
** Activity (categories) Resume **
Use largeHeap in manfiest (of course it is suggest)
Also i suggest below link in B4a.com
https://www.b4x.com/android/forum/threads/free-pdfviewer-by-icefairy333-reworked-by-donmanfred.66870/#content
Related
Zabbix server not starting after upgrade from 4.0 to 6.0
Zabbix server not starting after upgrading from 4.0 to 6.0 OS Oracle Linux 8. Database postgresql 14, web is nginx. cachesize is 2048M. zabbix upgrade to 6.0 1142698:20220327:151229.553 ====== Fatal information: ====== 1142698:20220327:151229.553 Program counter: 0x5626e015fd3a 1142698:20220327:151229.553 === Registers: === 1142698:20220327:151229.554 r8 = 5626e247bb70 = 94725005097840 = 94725005097840 1142698:20220327:151229.554 r9 = 5626e246f5c0 = 94725005047232 = 94725005047232 1142698:20220327:151229.554 r10 = 0 = 0 = 0 1142698:20220327:151229.554 r11 = f = 15 = 15 1142698:20220327:151229.554 r12 = 5626e2430800 = 94725004789760 = 94725004789760 1142698:20220327:151229.554 r13 = 5626e027998b = 94724969437579 = 94724969437579 1142698:20220327:151229.554 r14 = 0 = 0 = 0 1142698:20220327:151229.554 r15 = 0 = 0 = 0 1142698:20220327:151229.554 rdi = 0 = 0 = 0 1142698:20220327:151229.554 rsi = 7ffc909bdb64 = 140722734619492 = 140722734619492 1142698:20220327:151229.554 rbp = 7ffc909bdb10 = 140722734619408 = 140722734619408 1142698:20220327:151229.554 rbx = 1 = 1 = 1 1142698:20220327:151229.554 rdx = 7ffc909bdb64 = 140722734619492 = 140722734619492 1142698:20220327:151229.554 rax = 0 = 0 = 0 1142698:20220327:151229.554 rcx = 0 = 0 = 0 1142698:20220327:151229.554 rsp = 7ffc909bdb10 = 140722734619408 = 140722734619408 1142698:20220327:151229.554 rip = 5626e015fd3a = 94724968283450 = 94724968283450 1142698:20220327:151229.554 efl = 10202 = 66050 = 66050 1142698:20220327:151229.554 csgsfs = 2b000000000033 = 12103423998558259 = 12103423998558259 1142698:20220327:151229.554 err = 4 = 4 = 4 1142698:20220327:151229.554 trapno = e = 14 = 14 1142698:20220327:151229.554 oldmask = 0 = 0 = 0 1142698:20220327:151229.554 cr2 = 0 = 0 = 0 1142698:20220327:151229.554 === Backtrace: === 1142698:20220327:151229.555 15: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](zbx_backtrace+0x3f) [0x5626e0150815] 1142698:20220327:151229.555 14: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](zbx_log_fatal_info+0x141) [0x5626e0150a72] 1142698:20220327:151229.555 13: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](+0x24c25e) [0x5626e015125e] 1142698:20220327:151229.555 12: /lib64/libpthread.so.0(+0x12c30) [0x7f0660ebdc30] 1142698:20220327:151229.555 11: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](zbx_deserialize_uint31_compact+0x10) [0x5626e015fd3a] 1142698:20220327:151229.555 10: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](zbx_get_serialized_expression_functionids+0x27) [0x5626e01418fe] 1142698:20220327:151229.555 9: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](zbx_dc_get_event_maintenances+0x240) [0x5626e00ff7a3] 1142698:20220327:151229.555 8: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](+0x9fb21) [0x5626dffa4b21] 1142698:20220327:151229.555 7: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](timer_thread+0x1f2) [0x5626dffa53ad] 1142698:20220327:151229.555 6: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](zbx_thread_start+0x37) [0x5626e0160849] 1142698:20220327:151229.555 5: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](+0x66b33) [0x5626dff6bb33] 1142698:20220327:151229.555 4: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](MAIN_ZABBIX_ENTRY+0x7b8) [0x5626dff6ca5e] 1142698:20220327:151229.555 3: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](daemon_start+0x2f5) [0x5626e0150434] 1142698:20220327:151229.555 2: /usr/sbin/zabbix_server: timer #1 [started, processing maintenances](main+0x33a) [0x5626dff6afee] 1142698:20220327:151229.557 Please consider attaching a disassembly listing to your bug report. 1142698:20220327:151229.557 This listing can be produced with, e.g., objdump -DSswx zabbix_server. 1142698:20220327:151229.557 ================================ 1142677:20220327:151229.559 One child process died (PID:1142698,exitcode/signal:1). Exiting ... 1142677:20220327:151229.657 PROCESS EXIT: 1142698 1142678:20220327:151229.657 HA manager has been paused zabbix_server [1142677]: Error waiting for process with PID 1142698: [10] No child processes 1142678:20220327:151229.705 HA manager has been stopped 1142677:20220327:151229.745 syncing history data... 1142677:20220327:151229.746 error reason for "404b30b2-eaf6-11e1-8c79-b4c22c3547a9:vmware.hv.cpu.usage.perc" changed: Cannot evaluate function: item "/404b30b2-eaf6-11e1-8c79-b4c22c3547a9/vmware.hv.cpu.usage[{$URL},{HOST.HOST}]" is not supported at "last(//vmware.hv.cpu.usage[{$URL},{HOST.HOST}])*100)/(last(//vmware.hv.hw.cpu.num[{$URL},{HOST.HOST}])*last(//vmware.hv.hw.cpu.freq[{$URL},{HOST.HOST}]))". 1142677:20220327:151229.746 error reason for "38383135-3837-5a43-3331-353033444d35:vmware.hv.network.in[{$URL},{HOST.HOST},bps]" changed: No "vmware collector" processes started. 1142677:20220327:151229.754 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: invalid input syntax for type integer: "1648328400.000000" LINE 1: ... partitions.history_p2022_03_27 (CHECK ((clock >= '164832840... ^ QUERY: CREATE TABLE IF NOT EXISTS partitions.history_p2022_03_27 (CHECK ((clock >= '1648328400.000000' AND clock < '1648414800.000000'))) INHERITS (history) TABLESPACE history_partitions; CONTEXT: PL/pgSQL function trg_partition() line 38 at EXECUTE [insert into history (itemid,clock,ns,value) values (872723,1648383149,527845142,0); ] 1142677:20220327:151229.809 syncing history data... 100.000000% 1142677:20220327:151229.809 syncing history data done 1142677:20220327:151229.809 syncing trend data... 1142677:20220327:151229.829 syncing trend data done 1142677:20220327:151229.867 Zabbix Server stopped. Zabbix 6.0.2 (revision d726a4d916).
Segmentation violation detected on run
I'm new to MATLAB and I get the following crash information when running GISTIC2 based on MCR. No problem running that algorithm in other machine we are using. ------------------------------------------------------------------------ Segmentation violation detected at Thu Jul 8 23:01:05 2021 ------------------------------------------------------------------------ Configuration: Crash Decoding : Disabled Current Visual : 0x21 (class 4, depth 24) Default Encoding : UTF-8 GNU C Library : 2.31 stable MATLAB Architecture: glnxa64 MATLAB Root : /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83 MATLAB Version : 8.3.0.532 (R2014a) Operating System : Linux 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 Processor ID : x86 Family 143 Model 96 Stepping 1, AuthenticAMD Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : The X.Org Foundation (12009000), display :0 Fault Count: 1 Abnormal termination: Segmentation violation Register State (from fault): RAX = 0000000000000000 RBX = 00007f7790b2c190 RCX = 0000000000000000 RDX = 0000000000000000 RSP = 00007f77f2becde8 RBP = 00007f77ec0376c0 RSI = 000000003e07c725 RDI = 0000000000000000 R8 = 0000000000000007 R9 = 00312d3634363031 R10 = 00007f77f2becc70 R11 = 0000000000000000 R12 = 0000000000000000 R13 = 00007f77f2bed180 R14 = 0000000000000000 R15 = 0000000000000000 RIP = 00007f7807063675 EFL = 0000000000010283 CS = 0033 FS = 0000 GS = 0000 Stack Trace (from fault): [ 0] 0x00007f7807063675 /lib/x86_64-linux-gnu/libc.so.6+01619573 [ 1] 0x00007f77f588ec18 /lib/x86_64-linux-gnu/libX11.so.6+00134168 XLoadQueryFont+00000056 [ 2] 0x00007f77f870adf0 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwuix.so+00261616 [ 3] 0x00007f77f870baae /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwuix.so+00264878 [ 4] 0x00007f77f870bd29 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwuix.so+00265513 [ 5] 0x00007f77f8e5d143 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00663875 _Z21wm_SetUnadjWindowFontP10WinRec_tagP6mxFont+00000083 [ 6] 0x00007f77f8e5d74b /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00665419 _Z22wm_GetDeviceFontExtentP10WinRec_tagP6mxFontPKcdP6mwrect+00000315 [ 7] 0x00007f77f8e78fff /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00778239 uiGetDeviceFont+00000815 [ 8] 0x00007f77f8e79171 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00778609 _Z15uiSetWindowFontP10WinRec_tagP6mxFont+00000017 [ 9] 0x00007f77f8e5d013 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00663571 _Z16wm_SetWindowFontP10WinRec_tagP6mxFont+00000083 [ 10] 0x00007f77a5d81195 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05001621 [ 11] 0x00007f77f8e9489d /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00891037 _ZN11gui_objects10tickpicker12nicefyLimitsERNS0_14AxisDescriptorENS0_8AxisTypeE+00000173 [ 12] 0x00007f77f8e94cc3 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwgui.so+00892099 _ZN11gui_objects10tickpicker12nicefyLimitsERNS0_14AxisDescriptorE+00000019 [ 13] 0x00007f77a5d816d9 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05002969 [ 14] 0x00007f77a5ce57df /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+04364255 [ 15] 0x00007f77a5cd0b1f /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+04279071 [ 16] 0x00007f77a5dd4740 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05343040 [ 17] 0x00007f77a5dd427c /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05341820 [ 18] 0x00007f77a5dc72b0 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05288624 [ 19] 0x00007f77f746bded /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwudd.so+00634349 [ 20] 0x00007f77f7465153 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwudd.so+00606547 _ZN11UDInterface15notifyPropEventEP16UDDatabaseClientPK10UDPropInfoPK11UDEventInfoP7UDEvent+00000115 [ 21] 0x00007f77f7468671 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwudd.so+00620145 _ZN11UDInterface4setEEP16UDDatabaseClientP10UDPropInfoPvP13UDErrorStatus+00000593 [ 22] 0x00007f77a5dd15b6 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05330358 [ 23] 0x00007f77a5dcbadd /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05307101 [ 24] 0x00007f77a5dca0d0 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05300432 [ 25] 0x00007f77a5db06f5 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05195509 [ 26] 0x00007f77a5dbdfd0 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05251024 [ 27] 0x00007f77a5db7408 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05223432 [ 28] 0x00007f77a5dbe432 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05252146 [ 29] 0x00007f77a5dc3113 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhg.so+05271827 hgSet+00001107 [ 30] 0x00007f77a6c80742 /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwhgbuiltins.so+00345922 ... [125] 0x00007f77fba703bf /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwmcr.so+00365503 [126] 0x00007f77fba6b28f /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libmwmcr.so+00344719 [127] 0x00007f78070d3609 /lib/x86_64-linux-gnu/libpthread.so.0+00038409 If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/ A technical support engineer might contact you with further information. Thank you for your help.** This crash report has been saved to disk as /home/lcj/matlab_crash_dump.29508-1 ** Segmentation fault (core dumped) After renaming the libstdc++.so.6 library to libstdc++.so.6.old in ~/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83/sys/os/glnxa64, I got the following crash information. ------------------------------------------------------------------------ Segmentation violation detected at Sat Jul 10 23:22:39 2021 ------------------------------------------------------------------------ Configuration: Crash Decoding : Disabled Current Visual : 0x21 (class 4, depth 24) Default Encoding : UTF-8 GNU C Library : 2.31 stable MATLAB Architecture: glnxa64 MATLAB Root : /home/lcj/Biosoft/GISTIC2/MATLAB_Compiler_Runtime/v83 MATLAB Version : 8.3.0.532 (R2014a) Operating System : Linux 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 Processor ID : x86 Family 143 Model 96 Stepping 1, AuthenticAMD Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : The X.Org Foundation (12009000), display :0 Fault Count: 1 Abnormal termination: Segmentation violation Register State (from fault): RAX = 0000000000000000 RBX = 00007f26c0b99880 RCX = 0000000000000000 RDX = 0000000000000000 RSP = 00007f2720dcede8 RBP = 00007f271c0376c0 RSI = 000000003e07c725 RDI = 0000000000000000 R8 = 0000000000000007 R9 = 00312d3634363031 R10 = 00007f2720dcec70 R11 = 0000000000000000 R12 = 0000000000000000 R13 = 00007f2720dcf180 R14 = 0000000000000000 R15 = 0000000000000000 RIP = 00007f2735246675 EFL = 0000000000010283 CS = 0033 FS = 0000 GS = 0000 Stack Trace (from fault): Caught "std::exception" Exception message is: FatalException Error:FatalException Any clues to solve this errors?
-[NSConcreteTask waitUntilExit] results in KERN_PROTECTION_FAILURE
I'm getting an error like the following (censored and trimmed to protect proprietary info): Process: MyExecutable [7150] Path: /Applications/Company Name/Parent App.app/Contents/PlugIns/MyExecutable Identifier: MyExecutable Version: 0 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: MyExecutable [7150] User ID: 1129915948 Date/Time: 2018-03-27 11:42:12.401 -0400 OS Version: Mac OS X 10.12.6 (16G1212) Report Version: 12 Anonymous UUID: 013E2942-CED9-22FA-438A-E3D0BA89EB5C Time Awake Since Boot: 6200 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fa9bc632b10 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Bus error: 10 Termination Reason: Namespace SIGNAL, Code 0xa Terminating Process: exc handler [0] VM Regions Near 0x7fa9bc632b10: MALLOC_TINY 00007fa9bc400000-00007fa9bc600000 [ 2048K] rw-/rwx SM=PRV --> MALLOC_TINY 00007fa9bc600000-00007fa9bc700000 [ 1024K] rw-/rwx SM=COW MALLOC_TINY 00007fa9bc700000-00007fa9bc800000 [ 1024K] rw-/rwx SM=PRV Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x00007fa9bc632b10 0 + 140366986816272 1 com.apple.Foundation 0x00007fffa3225051 -[NSConcreteTask waitUntilExit] + 213 2 MyExecutable 0x000000010dcfeb86 _TTSf4gs_gs_g___TF8MyExecutableP33_446BC8CF8CAA764CF050D96869CE3A5A18mySwiftFunctionFTSS7purposeSS18callbackFCSo7ProcessT__T_ + 1254 3 MyExecutable 0x000000010dcfdbb7 _TZFC8MyExecutable12MyClassP33_446BC8CF8CAA764CF050D96869CE3A5A31someSwiftFunctionfT_T_ + 215 4 MyExecutable 0x000000010dcfd985 _TZFC8MyExecutable12MyClass40someSwiftFunctionfT_T_ + 21 5 MyExecutable 0x000000010dcd8e0f main + 241 6 libdyld.dylib 0x00007fffb6ef3235 start + 1 The code in question attempts to run a terminal command by using Process (AKA NSTask in Objective-C; implemented by NSConcreteTask). It's prepared like this: process.launchPath = "/bin/bash" process.arguments = ["-c", bashCommand] process.terminationHandler = callback process.launch() process.waitUntilExit() It runs fine until the call to waitUntilExit. When that runs, the app crashes immediately with an output similar to that above. For various reasons, I can't run a debugger to test this, but I can print log lines to the console. Why would it crash this hard? I even see a bus error in there for crying out loud...
Synchronous waitUntilExit() and asynchronous completion handler don't work very well together. If you use the asynchronous completion handler waiting for exit is actually pointless. Just delete the line process.waitUntilExit()
Hung processes resume if attached to strace
I have a network program written in C using TCP sockets. Sometimes the client program hangs forever expecting input from server. Specifically, the client hangs on select() call set on an fd intended to read characters sent by server. I am using strace to know where the process got stuck. However, sometimes when I attach the hung client process to strace, it immediately resumes it's execution and properly exits. Not all hung processes exhibit this behavior, some processes stuck in the select() even if I attach them to strace. But most of the processes resume their execution when attached to strace. I am curious what causing the processes resume when attached to strace. It might give me clues to know why client processes are getting hung. Any ideas? what causes a hung process to resume it's execution when attached to strace? Update: Here's the output of strace on hung processes. > sudo strace -p 25645 Process 25645 attached - interrupt to quit --- SIGSTOP (Stopped (signal)) # 0 (0) --- --- SIGSTOP (Stopped (signal)) # 0 (0) --- [ Process PID=25645 runs in 32 bit mode. ] select(6, [3 5], NULL, NULL, NULL) = 2 (in [3 5]) read(5, "\0", 8192) = 1 write(2, "", 0) = 0 read(3, "====Setup set_oldtempbehaio"..., 8192) = 555 write(1, "====Setup set_oldtempbehaio"..., 555) = 555 select(6, [3 5], NULL, NULL, NULL) = 2 (in [3 5]) read(5, "", 8192) = 0 read(3, "", 8192) = 0 close(5) = 0 kill(25652, SIGKILL) = 0 exit_group(0) = ? Process 25645 detached _ > sudo strace -p 14462 Process 14462 attached - interrupt to quit [ Process PID=14462 runs in 32 bit mode. ] read(0, 0xff85fdbc, 8192) = -1 EIO (Input/output error) shutdown(3, 1 /* send */) = 0 exit_group(0) = ? _ > sudo strace -p 7517 Process 7517 attached - interrupt to quit --- SIGSTOP (Stopped (signal)) # 0 (0) --- --- SIGSTOP (Stopped (signal)) # 0 (0) --- [ Process PID=7517 runs in 32 bit mode. ] connect(3, {sa_family=AF_INET, sin_port=htons(300), sin_addr=inet_addr("100.64.220.98")}, 16) = -1 ETIMEDOUT (Connection timed out) close(3) = 0 dup(2) = 3 fcntl64(3, F_GETFL) = 0x1 (flags O_WRONLY) close(3) = 0 write(2, "dsd13: Connection timed out\n", 30) = 30 write(2, "Error code : 110\n", 17) = 17 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 exit_group(1) = ? Process 7517 detached Not just select(), but the processes(of same program) are stuck in various system calls before I attach them to strace. They suddenly resume after attaching to strace. If I don't attach them to strace, they just hang there forever. Update 2: I learned that strace could start a process which was previously stopped (process in T sate). Now I am trying to understand why did these processes go to 'T' state, what's the cause. Here's the /proc//status information: > cat /proc/12554/status Name: someone State: T (stopped) SleepAVG: 88% Tgid: 12554 Pid: 12554 PPid: 9754 TracerPid: 0 Uid: 5000 5000 5000 5000 Gid: 48986 48986 48986 48986 FDSize: 256 Groups: 9149 48986 VmPeak: 1992 kB VmSize: 1964 kB VmLck: 0 kB VmHWM: 608 kB VmRSS: 608 kB VmData: 156 kB VmStk: 20 kB VmExe: 16 kB VmLib: 1744 kB VmPTE: 20 kB Threads: 1 SigQ: 54/73728 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000000006 SigCgt: 0000000000004000 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 Cpus_allowed: 00000000,00000000,00000000,0000000f Mems_allowed: 00000000,00000001
strace uses ptrace. The ptrace man page has this: Since attaching sends SIGSTOP and the tracer usually suppresses it, this may cause a stray EINTR return from the currently executing system call in the tracee, as described in the "Signal injection and suppression" section. Are you seeing select return EINTR?
My app does not launch in my device?
I am having this problem, for the first time. I am running my app to device with distribution + Ad-Hoc provision profile but I can't able to launch app the first time in device, as I am getting this error continuously: Mar 1 18:07:58 My-iPhon kernel[0] : launchd[276] Builtin profile: container (sandbox) Mar 1 18:07:58 My-iPhon kernel[0] : launchd[276] Container: /private/var/mobile/Applications/E142C3CE-F6E0-4C77-ABE8-1B764DA216FE (sandbox) Mar 1 18:07:58 My-iPhon com.apple.debugserver-189[261] : 1 +0.000000 sec [0105/0303]: error: ::task_for_pid ( target_tport = 0x0103, pid = 276, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 276, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005) Mar 1 18:07:58 My-iPhon mobile_house_arrest[280] : Max open files: 125 Mar 1 18:07:59 My-iPhon com.apple.debugserver-189[261] : 2 +0.417620 sec [0105/0303]: error: ::task_for_pid ( target_tport = 0x0103, pid = 276, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 276, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005) Mar 1 18:07:59 My-iPhon mobile_house_arrest[281] : Max open files: 125 Mar 1 18:07:59 My-iPhon mobile_house_arrest[282] : Max open files: 125 After I launch, the app crashed and in Device Console I got this error: Mar 1 18:11:44 My-iPhon backboardd[52] : BKSendGSEvent ERROR sending event type 50: (ipc/send) invalid destination port (0x10000003) Mar 1 18:11:44 My-iPhon com.apple.launchd[1] (UIKitApplication:com.xxx.myApp[0x3077][276]) : (UIKitApplication:com.xxxx.myapp[0x3077]) Exited: Killed: 9 Mar 1 18:11:44 My-iPhon com.apple.debugserver-189[261] : 21 +216.166834 sec [0105/0303]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: 'failed to get the task for process 276' Mar 1 18:11:44 My-iPhon com.apple.debugserver-189[261] : error: failed to launch process (null): failed to get the task for process 276 Mar 1 18:11:44 My-iPhon backboardd[52] : Application 'UIKitApplication:com.xxxxx.myApp[0x3077]' quit with signal 9: Killed: 9 However, the third time its running normally! I have tried it many ways like Recreated my provision profile and also given entitlement.plist for Ad-Hoc distribution I set the scheme's build configuration to debug, so how can i solve this error while running my app first time on my device I restated my device No matter what I try, I get this error! Can any of you explain this?
You can try using development certificate. It will work fine if you install IPA file in your device. Use Ad-hoc and distribution provisioning profiles when you are going to upload your app to the app store.