commetchat / commet

Your space to connect
https://commet.chat
GNU Affero General Public License v3.0
160 stars 11 forks source link

crash from memory overflow, db corrupted #296

Open theotheroracle opened 3 months ago

theotheroracle commented 3 months ago

Describe the bug App ran out of memory and crashed, corrupting the database.

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LineageOS Version: '21.0-20240626-NIGHTLY-enchilada'
Build fingerprint: 'OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-06-30 06:23:30.739634349-0400
Process uptime: 1909s
Cmdline: chat.commet.commetapp
pid: 7696, tid: 3974, name: 79.ui  >>> chat.commet.commetapp <<<
uid: 10194
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '../../third_party/dart/runtime/vm/heap/pages.cc: 1320: error: Out of memory.'
    x0  0000000000000000  x1  0000000000000f86  x2  0000000000000006  x3  0000006bba80dfa0
    x4  752e646c68736d74  x5  752e646c68736d74  x6  752e646c68736d74  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  00000070296b5390  x10 ffffff80fffffbdf  x11 0000000000000000
    x12 0000006bba80b7e0  x13 000000000000004e  x14 0000006bba80b890  x15 0000000000221480
    x16 0000007029760fe0  x17 000000702974c860  x18 0000006b691f8000  x19 0000000000001e10
    x20 0000000000000f86  x21 00000000ffffffff  x22 0000000000000001  x23 0000006e366d8d10
    x24 0000000000000012  x25 0000006d10a70c00  x26 ffffffffffffffff  x27 0000000000000006
    x28 0000000000000000  x29 0000006bba80e020
    lr  00000070296ecad8  sp  0000006bba80df80  pc  00000070296ecb08  pst 0000000000000000
21 total frames
backtrace:
      #00 pc 000000000005ab08  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 10f6580e623cb20b4044f6e6a4103b34)
      #01 pc 000000000081432c  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #02 pc 0000000000839728  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #03 pc 0000000000838e7c  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #04 pc 000000000083df1c  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #05 pc 00000000009727d4  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #06 pc 0000000000972f54  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #07 pc 00000000008087b0  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #08 pc 0000000000806d7c  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #09 pc 00000000008068a4  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #10 pc 00000000007a110c  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #11 pc 00000000007b37dc  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #12 pc 0000000000474bf4  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #13 pc 0000000000478784  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #14 pc 000000000000fe04  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+680) (BuildId: 16bc30d6f0e04f5d9c5d844339e38a3e)
      #15 pc 000000000001aebc  /system/lib64/libandroid.so (ALooper_pollOnce+100) (BuildId: cd590c13e6fee4592d3652971f80381a)
      #16 pc 0000000000478890  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #17 pc 0000000000476938  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #18 pc 000000000047672c  /data/app/~~I0iObR7ujdnexVLTbhx_Qw==/chat.commet.commetapp-UOvg2ohNHlExr00kFrJUZg==/lib/arm64/libflutter.so (BuildId: e05edcf1368609668cf1873a167462cbcf923136)
      #19 pc 000000000006ac54  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 10f6580e623cb20b4044f6e6a4103b34)
      #20 pc 000000000005de68  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 10f6580e623cb20b4044f6e6a4103b34)
Device Information
**Device** Platform: `android` Version: `v0.3.0-prerelease+5c8379c` Git Hash: `5c8379ceaae26187748abb75463edd6135cdb92d` Detail: `default` **System Info** Product: `OnePlus6`