Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes all of a sudden after clicking on goldendict.exe #1677

Open
darlopvil opened this issue Jul 11, 2024 · 15 comments
Open

App crashes all of a sudden after clicking on goldendict.exe #1677

darlopvil opened this issue Jul 11, 2024 · 15 comments

Comments

@darlopvil
Copy link

Describe the bug
I have no idea why does this happen. I just formatted my PC and installed a clean version of Windows 10, then this happens.

To Reproduce
Steps to reproduce the behavior:

  1. Double-click on goldendict.exe

Affected Dictionaries
I've noticed that some dictionaries (not all) have missed their titles, and instead appears (Title: NO HTML allowed or something like that).

Expected behavior
Make it work again

Screenshots
Can't even take one, this occurs in a second.

OS and software versions

imagen

@xiaoyifang
Copy link
Owner

ars (Title: NO HTML allowed or something like that).

This is a regression , fixed. should not cause the crash.

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 12, 2024

When the crash happens , is there any crash dump file in the folder crash alongside with goldendict.exe

or you can start goldendict.exe in the terminal, and send the log back.
image

@xiaoyifang
Copy link
Owner

or you can try some other release versions ,not the qt6.7.2

@darlopvil
Copy link
Author

Hello,

I've tried using a different Qt version instead, and the behavior it's the same. Moreover, I can't see where is the crash folder, i use the .zip files and there's nothing inside called that.

I've also tried the latest version and nothing changes...

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 12, 2024

the crash folder should be in the configuration folder alongside with the index folder.
You can access the folder through menu About->Configuration Folder

@xiaoyifang
Copy link
Owner

or you can start goldendict.exe in the terminal, and send the log back. image

Have you tried this?

from the terminal ,you also can try goldendict.exe --no-tts

@darlopvil
Copy link
Author

the crash folder should be in the configuration folder alongside with the index folder. You can access the folder through menu About->Configuration Folder

can't do it, app crashes immediately after the loading window. Is there any other way to see the config folder?

or you can start goldendict.exe in the terminal, and send the log back. image

Have you tried this?

from the terminal ,you also can try goldendict.exe --no-tts

Done, here it is what the console shows:
gd capture

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 12, 2024

can't do it, app crashes immediately after the loading window. Is there any other way to see the config folder?

the crash folder is at the
C:\Users\[xxxx]\Application Data\GoldenDict\crash

@darlopvil
Copy link
Author

can't do it, app crashes immediately after the loading window. Is there any other way to see the config folder?

the crash folder is at the C:\Users\[xxxx]\Application Data\GoldenDict\crash
65151866-d476-441e-9ea6-be30ba3af73d.dmp

there's a lot, hope it helps.

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 13, 2024

In order to analysis the dmp file ,the gd-version and dmp file must be consistent。
You can delete the existed dmp files and reproduce the dmp again .
Then upload the dmp file and the exact gd-ng version which produce the dmp file

@darlopvil
Copy link
Author

In order to analysis the dmp file ,the gd-version and dmp file must be consistent。 You can delete the existed dmp files and reproduce the dmp again . Then upload the dmp file and the exact gd-ng version which produce the dmp file

Ok, done:

Goldendict version: latest
.dmp file associated (uploaded in an external server since github won't let me uploaded it here):
https://filebin.net/93q67et5xrwc3j4q

I wonder if i need some libraries or something like that to run the app, i don't know but this is the first time this happens to me and the program behavior doesn't make sense 🤔

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 15, 2024

This is the analysis result:
a.txt

Stackoverflow error. BUt I have not figured out which part of the code has caused this.

the analysis result has flooded with Qt6WebEngineCore.dll entry . Do not know any relation with this?

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 15, 2024

Can you help to try to disable the full-text with the following steps and check again.

Manually edit your goldendict-ng's config file and disable the fulltext.
In your config file ,the following fullTextSearch Section,property enabled , change into <enabled>0</enabled>

<fullTextSearch>
   <searchMode>2</searchMode>
   <dialogGeometry>AdnQywADAAAAAANbAAAA8QAABYwAAANgAAADWwAAARAAAAWMAAADYAAAAAAAAAAAB4AAAANbAAABEAAABYwAAANg</dialogGeometry>
   <disabledTypes>AARD,BGL,DICTD,DSL,SDICT,STARDICT,ZIM,EPWING,GLS</disabledTypes>
   <enabled>0</enabled>
   <maxDictionarySize>0</maxDictionarySize>
   <parallelThreads>2</parallelThreads>
  </fullTextSearch>

Or

you can backup/delete your config file and force the goldendict-ng to start freshly. then add the dictionary later .

@darlopvil
Copy link
Author

Hello,

Sorry for not replying earlier, i was doing some tests on this, and it finally works again, i guess...
Changed to 0 that parameter as you said and now it's fixed. I've even upgraded it to the new latest release, did a reboot too and it keeps working great again.

Thanks, i don't know why it's related with the full search feature though🤔

@xiaoyifang
Copy link
Owner

xiaoyifang commented Jul 26, 2024

If you'd like ,you can also enable the fulltext and change the parallel thread to 1 and check the result.
This can be managed through the menu, edit ->preference->fulltext

image

image

I guess ,on multi-thread environment. The code (of some format of the dictionary ) may not handled well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants