nomic-ai / gpt4all

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
https://nomic.ai/gpt4all
MIT License
70.66k stars 7.7k forks source link

v3.2.x->v3.3.0: Prompt(s) referring the LocalDocs database cause(s) repeated crashes even after (PC restart + other LD collections selected) #2983

Open SINAPSA-IC opened 1 month ago

SINAPSA-IC commented 1 month ago

Bug Report

GPT4All crashes

... So the impression is that LocalDocs functionality is not working anymore.

"However", after a time indeterminate after restarting the computer (could also happen before), LocalDocs functionality is restored.

The prompt is the first of the first conversation of a program session; no prior conversations listed; 1 LocalDocs collection selected There is external information that you can now see as a collection of files. You tell me the name of that collection. You can see the names of some of those files. Those filenames are values of the field "document_path" in the table "documents" of the SQLite database that you are now accessing. You orient yourself by those filenames and find all values of the field "document_path".

Possible causes:

Steps to Reproduce

  1. Selected 1 LocalDocs collection with PDF files exclusively - be it tens of files, or 1 file only, or no files
  2. Sent the prompt^ above
  3. Program crashes, seemingly randomly - during, or at the beginning of "generating response" or "searching localdocs"

Expected Behavior

Thorough testing of the backbone feature of the program.

Your Environment

As we know that the models cannot access the file system, even less so after a restart of the computer, it must be the program itself that may be accessing a wrong/damaged/etc. physical resource (RAM is out of the question after a computer restart).

There's some physical entity being queried but not delivering as it should, lingering after a computer restart and related to the prompt which is related to the localdocs database.

As nobody bothered to answer my question about the location in Windows'fs of the error log of the program, here's some messages from Event Viewer:

Faulting application name: chat.exe, version: 0.0.0.0, time stamp: 0x66edf3fd Faulting module name: ucrtbase.dll, version: 10.0.19041.3636, time stamp: 0x81cf5d89 Exception code: 0xc0000409 Fault offset: 0x000000000007286e Faulting process id: 0x1ea0 Faulting application start time: 0x01db0de5fdc511f9 Faulting application path: H:___programe_instalate\gpt4all\bin\chat.exe Faulting module path: C:\Windows\System32\ucrtbase.dll

Faulting application name: chat.exe, version: 0.0.0.0, time stamp: 0x66edf3fd Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x0000000000000000 Faulting process id: 0x1bb8 Faulting application start time: 0x01db0de6224028ca Faulting application path: H:___programe_instalate\gpt4all\bin\chat.exe Faulting module path: unknown

Faulting application name: chat.exe, version: 0.0.0.0, time stamp: 0x66edf3fd Faulting module name: ucrtbase.dll, version: 10.0.19041.3636, time stamp: 0x81cf5d89 Exception code: 0xc0000409 Fault offset: 0x000000000007286e Faulting process id: 0x1148 Faulting application start time: 0x01db0de648be1477 Faulting application path: H:___programe_instalate\gpt4all\bin\chat.exe Faulting module path: C:\Windows\System32\ucrtbase.dll

The following message and several others after it were after computer restart (faulting module, unknown; before, it was because of ucrtbase.dll):

Faulting application name: chat.exe, version: 0.0.0.0, time stamp: 0x66edf3fd Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x0000000000000000 Faulting process id: 0x17bc Faulting application start time: 0x01db0de703639bf9 Faulting application path: H:___programe_instalate\gpt4all\bin\chat.exe Faulting module path: unknown

SINAPSA-IC commented 1 month ago

The behavior is erratic - the same prompt now it crashes the program, now it does not.

Which makes this an Issue and a job for testers, and since I'm not on a payroll, but a common user who's highly interested in this program (even quoted it in a paper) this is all I can say.

One 1 collection selected, and the prompt:

There is external information that you can now see as a collection of files. You tell me the name of that collection. You can see the names of some of those files. Those filenames are values of the field "document_path" in the table "documents" of the SQLite database that you are now accessing. You orient yourself by those filenames and find all values of the field "document_path".