gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

Chat.exe crash when closed

Open rotate4all opened this issue 9 months ago • 5 comments
trafficstars

Bug Report

Every time GPT4all is closed, a critical event is logged in Event viewer:

Description
Faulting Application Path:	***\gpt4all\bin\chat.exe

Problem signature
Problem Event Name:	BEX64
Application Name:	chat.exe
Application Version:	0.0.0.0
Application Timestamp:	6792996a
Fault Module Name:	StackHash_ac46
Fault Module Version:	0.0.0.0
Fault Module Timestamp:	00000000
Exception Offset:	PCH_21_FROM_ntdll+0x0000000000160274
Exception Code:	c0000005
Exception Data:	0000000000000008
OS Version:	10.0.26100.2.0.0.256.48
Locale ID:	1048
Additional Information 1:	ac46
Additional Information 2:	ac462b2fd07cc853b652b5104a1cf381
Additional Information 3:	4f34
Additional Information 4:	4f34f60c4542f3c40006391c630e06cc

Extra information about the problem
Bucket ID:	8355d9e9c702179dc729f369cb6cc04f (1669132772627497039)

Steps to Reproduce

  1. Open the app
  2. Close the app

Expected Behavior

No crash on application close

Your Environment

  • GPT4All version: 3.7.0
  • Operating System: Win11 24H2 26100.2894
  • Chat model used (if applicable): Llama 3.1 8B Instruct 128k

rotate4all avatar Jan 24 '25 05:01 rotate4all

Got the same problem.

Win10 Intel 10700 4060 16gb ram

PedzacyKapec avatar Jan 25 '25 20:01 PedzacyKapec

Bug still there on v 3.8 as well.

rotate4all avatar Feb 03 '25 04:02 rotate4all

Yes I can confirm it. Still there.

PedzacyKapec avatar Feb 03 '25 05:02 PedzacyKapec

Same crash here. v3.10.0 Win11 Ryzen

Part of "!analyze -v" output when using WinDbg on the crash-dump:

EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 0000000000000000 ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000008 Parameter[1]: 0000000000000000 Attempt to execute non-executable address 0000000000000000

PROCESS_NAME: chat.exe

EXECUTE_ADDRESS: 0

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 0000000000000008

EXCEPTION_PARAMETER2: 0000000000000000

STACK_TEXT:
000000d7aeaff578 00007ffadb784d97 : 0000027f18342940 0000000000000000 0000027f18342940 0000027f15904df0 : 0x0 000000d7aeaff580 00007ffac91db0de : 0000027f1596e1a0 0000027f18342940 0000027f18342940 0000027f15904e88 : nvoglv64!DrvPresentBuffers+0x3637c7 000000d7aeaff5b0 00007ffac9489602 : 0000027f15967580 0000027f15904e88 0000027f15904df0 0000027f15904e88 : vulkan_1!vkResetEvent+0x4bd4e 000000d7aeaff5e0 00007ffac949b73a : 0000027f15967580 00005ef5bbd2c7aa 0000027f15904e88 00007ffb54d99b00 : llamamodel_mainline_kompute!llama_sampler_sample+0xa0692 000000d7aeaff610 00007ffb5448bc75 : 0000027f15904e80 00007ffb00000000 0000000000000001 00007ffb544543a1 : llamamodel_mainline_kompute!llama_sampler_sample+0xb27ca 000000d7aeaff640 00007ffb5448b897 : 000000d7aeaff700 000000d7aeaff718 000000d7aeaffc40 00007ffb545798c0 : ucrtbase!<lambda_f03950bc5685219e0bcd2087efbe011e>::operator()+0xa5 000000d7aeaff690 00007ffb5448b84d : 0000000000000000 0000000000000001 0000000000000000 000000d7aeaff708 : ucrtbase!__crt_seh_guarded_call::operator()<<lambda_7777bce6b2f8c936911f934f8298dc43>,<lambda_f03950bc5685219e0bcd2087efbe011e> &,<lambda_3883c3dff614d5e0c5f61bb1ac94921c> >+0x3b 000000d7aeaff6c0 00007ffac948fb99 : 00007ffac95a8fc0 0000000000000002 0000000000000002 000000d7aeaff700 : ucrtbase!execute_onexit_table+0x3d 000000d7aeaff700 00007ffac948fcba : 0000000000000001 000000d7aeaffc40 0000000000000001 00007ffb53ad8ed1 : llamamodel_mainline_kompute!llama_sampler_sample+0xa6c29 000000d7aeaff740 00007ffb57252080 : 00007ffac92f0000 00007ffa00000000 0000000000000001 000000007ffe0384 : llamamodel_mainline_kompute!llama_sampler_sample+0xa6d4a 000000d7aeaff7a0 00007ffb572fcf60 : 0000027f158824c0 0000027f15892bb0 0000000000000000 00007ffac91813b0 : ntdll!LdrpCallInitRoutine+0xb0 000000d7aeaffa80 00007ffb572fc124 : ffffffffffffffff 0000000000000000 0000000000000000 0000000000000000 : ntdll!LdrShutdownProcess+0x260 000000d7aeaffb90 00007ffb552518ab : 0000000000000000 0000000000000000 fffffffffffffffe 0000000000000000 : ntdll!RtlExitUserProcess+0x114 000000d7aeaffbc0 00007ffb544e0143 : 0000000000000000 0000000000000000 0000027f15879bf8 000000d7aeaffc10 : kernel32!ExitProcessImplementation+0xb 000000d7aeaffbf0 00007ff6a3d022dc : 0000000000000000 0000000000000000 0000000000000000 0000000000000001 : ucrtbase!common_exit+0xc7 000000d7aeaffc50 00007ffb5523e8d7 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : chat!qml_register_types_gpt4all+0x905bc 000000d7aeaffc90 00007ffb572fbf6c : 0000000000000000 0000000000000000 000004f0fffffb30 000004d0fffffb30 : kernel32!BaseThreadInitThunk+0x17 000000d7aeaffcc0 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x2c

donid avatar Apr 02 '25 11:04 donid

Same crash here. 👀

phxism avatar Oct 13 '25 14:10 phxism