SQLite Forum

Timeline
Login

5 forum posts by user EricYeh

2021-06-30
03:19 Edit reply: Crashed at sqlite3LeaveMutexAndCloseZombie+452 (artifact: 672fc7481b user: EricYeh)

Hi Dan,

Thanks for your reply.
Upgrade is a good idea to solve this problem completely, we will consider that.

But I think before that I need to have some internal evaluation and discussion in my team.
Currently I will try to change the do-while to while-do to see whether it works for my situation.

03:17 Reply: Crashed at sqlite3LeaveMutexAndCloseZombie+452 (artifact: 1a819b97f4 user: EricYeh)

Hi Dan,

Thanks for you reply.
Upgrade is a good idea to solve this problem completely, we will consider that.

But I think before that I need to have some internal evaluation and discussion in my team.
Currently I will try to change the do-while to while-do to see whether it works for my situation.

2021-06-29
12:06 Edit: Crashed at sqlite3LeaveMutexAndCloseZombie+452 (artifact: 698aa7a12a user: EricYeh)

I am using "3.22.0", and there's an occasional crash when sqlite3Close() is called.

Part of backtrace:
sqlite3LeaveMutexAndCloseZombie+452
sqlite3Close+640

Then I tracked the code, this should have been caused by a NULL pointer passed to functionDestory():

p = sqliteHashData(i); // P may be NULL in some case
do{
functionDestroy(dp, p);
pNext = p->pNext;
sqlite3DbFree(db, p);
p = pNext;
}while (p);

So I intend to change this do-while to while-do to avoid this crash.
Does anyone have the similar situation?

06:56 Edit: Crashed at sqlite3LeaveMutexAndCloseZombie+452 (artifact: 3428909ff0 user: EricYeh)

I am using "3.22.0", and there's an occasional crash when sqlite3Close() is called.

Part of backtrace:
sqlite3LeaveMutexAndCloseZombie+452
sqlite3Close+640

Then I tracked the code, this should have been caused by a NULL pointer passed to functionDestory():

p = sqliteHashData(i); // P may be NULL in some case
do{
functionDestroy(dp, p);
pNext = p->pNext;
sqlite3DbFree(db, p);
p = pNext;
}while (p);

So I intend to change this do-while to while-do to avoid this crash.
Dose anyone have the similar situation?

04:46 Post: Crashed at sqlite3LeaveMutexAndCloseZombie+452 (artifact: 12067db0f0 user: EricYeh)

I am using "3.22.0", and there's an occasional crash when sqlite3Clsoe() is called.

Part of backtrace:
sqlite3LeaveMutexAndCloseZombie+452
sqlite3Clsoe+640

Then I tracked the code, this should have been caused by a NULL pointer passed to functionDestory():

p = sqliteHashData(i); // P may be NULL in some case
do{
functionDestroy(dp, p);
pNext = p->pNext;
sqlite3DbFree(db, p);
p = pNext;
}while (p);

So I intend to change this do-while to while-do to avoid this crash.
Dose anyone have the similar situation?