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

Many "No disk" messages when trying to open a file #3135

Closed
HJvT opened this issue Mar 8, 2022 · 9 comments
Closed

Many "No disk" messages when trying to open a file #3135

HJvT opened this issue Mar 8, 2022 · 9 comments
Labels

Comments

@HJvT
Copy link

HJvT commented Mar 8, 2022

When trying to open a file, either by menu or ctrl-o, the message:

  Windows - No disk
  Exception Processing Message 0xc0000013 - Unexpected parameters

appears; clicking on "cancel" or "continue" results many times in the same error message window. In the end, it is possible to open a file.

OS: Windows 8.1
Geany version: 1.38

@elextr elextr added the invalid label Mar 8, 2022
@elextr elextr closed this as completed Mar 8, 2022
@HJvT
Copy link
Author

HJvT commented Mar 9, 2022

No other program has this problem and previous versions of Geany did not have this problem.

When I go to the Devices and Printers panel and remove the drivers in the category "Unspecified", the error messages no longer appear; after a reboot, the problem is back.

This is not caused by removing a device without clicking on the "Safely Remove Hardware" icon in the system tray.

@elextr
Copy link
Member

elextr commented Mar 9, 2022

If Geany works after you remove some unspecified driver then that driver is at fault, not Geany that just happens to perform an action that triggers the faulty driver.

@HJvT
Copy link
Author

HJvT commented Mar 11, 2022

The driver is necessary for the functioning of the computer and automatically restored at reboot. It is is a driver for hard disks and SSDs; it is a product of Microsoft. As I stated before, earlier versions of Geany had no problem with it. I just tried Geany 1.37.1 again; it can open files without all these error messages, so the only explanation is, that the messages are caused by something that is changed in Geany 1.38.

@elextr
Copy link
Member

elextr commented Mar 11, 2022

Please provide the line from Help->Debug messages containing the Glib and GTK library versions for your copies of 1.37.1 and 1.38. IIRC the major version of GTK changed from 2 to 3 between those releases. I vaguely recall GTK3 may scan for devices to populate the open dialog in a way that GTK2 didn't, thus triggering your faulty driver.

But nobody else is reporting this problem with Geany 1.38 on windows, so its something related to the way your system is set up. Since nobody else is having the problem, nobody can look at it to identify what action is triggering the messages. So you will have to debug it yourself, and by concentrating on Geany being the actual problem, rather than just the trigger, means you are likely to miss the real cause, and the proper solution (which after all is the desired end point).

@HJvT
Copy link
Author

HJvT commented Mar 11, 2022

Here are the debug files:
Debugmessages1.37.1.txt
Debugmessages1.38.txt
Windows log files contain no further info.

@elextr
Copy link
Member

elextr commented Mar 11, 2022

Your debug messages show a lot of files are opened when Geany is started. If no error messages occur when those are opened then it suggests that my suggestion above that its the open dialog that is triggering the dodgy driver.

[Edit: even if it is the dialog probing it that is the trigger, that doesn't mean there is anything wrong with GTK, it doesn't cause problems for anyone else, and its not something that can be controlled. Its still a case of finding what the unique issue is with your system and fixing that]

@HJvT
Copy link
Author

HJvT commented Mar 11, 2022

I used to have many more files open when I was working daily with Geany 1.37.1. Here is a debug log, made after opening 103 files in Geany 1.37.1.

Debugmessages1.37.1.a.org.txt
1

There may be people having the same problem, but did not know how to write a bug report, or did not want to. I considered switching to another editor before writing this report. Others might have switched to another editor.

@elextr
Copy link
Member

elextr commented Mar 11, 2022

I used to have many more files open

Its nothing to do with the number of files, if there are no error messages when starting it shows the problem has nothing to do with opening files, its the open file dialog, which as I said is in a library this project does not control.

That is also the conclusion that this GTK app came to.

There may be people having the same problem, but did not know how to write a bug report, or did not want to. I considered switching to another editor before writing this report. Others might have switched to another editor.

Possibly, or not. Although none of the Geany developers use Geany on windows (even the guy who kindly makes the releases for windows), they do test it and have not seen the problem. Unfortunately unless someone is able to provide a way of reproducing the problem, all we have available is that it only happens on your system, which we can't access, so can't do anything.

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

No branches or pull requests

2 participants