简体   繁体   English

android api 30 致命信号 6 (SIGABRT)

[英]android api 30 Fatal signal 6 (SIGABRT)

My app worked fine at api29.我的应用在 api29 上运行良好。 Now getting this native error.现在得到这个本机错误。 No clue otherwise.没有其他线索。

D/TransportRuntime.SQLiteEventStore: Storing event with priority=DEFAULT, name=FIREPERF for destination cct

V/FA: Connection attempt already in progress V/FA: Connection attempt already in progress D/TransportRuntime.JobInfoScheduler: Scheduling upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lDY2traUg4aTJaQVJ3T3MxTEV6RktsZDE1YU9HOG96S28=) with jobId=-546033166 in 30000ms(Backend next call timestamp 1639520060629). V/FA: Connection attempt already in progress V/FA: Connection attempt already in progress D/TransportRuntime.JobInfoScheduler: Scheduling upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy1wYS5nb29nbGVhcGlzLmNvbS92MS9maXJlbG9nL2xlZ2FjeS9iYXRjaGxvZ1xBSXphU3lDY2traUg4aTJaQVJ3T3MxTEV6RktsZDE1YU9HOG96S28=) with jobId=-546033166 in 30000ms(Backend next call timestamp 1639520060629 )。 Attempt 1 D/mainact: buildDisplayDataBase: A/libc: fdsan: attempted to close file descriptor 75, expected to be unowned, actually owned by FILE* 0xf108246c Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20661 (eymoreau.fitlog), pid 20661 (eymoreau.fitlog) Disconnected from the target VM, address: 'localhost:60917', transport: 'socket'尝试 1 D/mainact: buildDisplayDataBase: A/libc: fdsan: 试图关闭文件描述符 75,预计是无主的,实际上由 FILE* 0xf108246c 致命信号 6 (SIGABRT),代码 -1 (SI_QUEUE) 在 tid 20661 (eymoreau) .fitlog), pid 20661 (eymoreau.fitlog) 与目标 VM 断开连接,地址:'localhost:60917',传输:'socket'

If you are displaying images try eliminating them to see of it fixes the error.如果您正在显示图像,请尝试消除它们以查看它修复了错误。

It did for me and I ended up changing my image loading from:它对我有用,我最终改变了我的图像加载:

mainMenu_viewHolder.getImageView().setImageResource(R.drawable.gear);

to...至...

Bitmap checkImg = BitmapFactory.decodeResource(fragment.getResources(), R.drawable.check);
            mainMenu_viewHolder.getImageView().setImageBitmap(checkImg);

The issue is buried very deep so if this doesn't work for you don't try stepping through your code or researching the native error.这个问题被埋得很深,所以如果这对您不起作用,请不要尝试单步执行您的代码或研究本机错误。 It will be wasted time.这将是浪费时间。 Just disable your fragments entire view structure and add back in piece by piece.只需禁用您的片段整个视图结构并逐个添加。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM