Page 1 of 1

"Assertion Failed" & crash when using shortcut

Posted: Sat Nov 21, 2009 8:16 pm
by zetty
Hello, this has been constantly happening and I've only now thought to make a bug report. >_>

I'm not sure when or why it happens, but here's what I do.

1. Everything is open, in the background, all is well.
2. Use shortcut to pull up a window (shortcut is win+s)
3. Most of the time, this will result in the window showing up, but sometimes, it silently crashes.

Here's what it says in the errorlog

Code: Select all

Everything 1.2.1.371: .\src\ui.cpp(121): ui_t::on_create(): Assertion failed
...
Everything 1.2.1.375: .\src\ui.cpp(137): ui_t::on_create(): Assertion failed
I would love to see it fixed. Thanks!

Re: "Assertion Failed" & crash when using shortcut

Posted: Sun Nov 22, 2009 7:21 am
by David
"Everything" is failing to create the edit control after it has successfully created the toolbar.

When this fatal error occurs "Everything" should display a message box:
Everything 1.2.1.371: .\src\ui.cpp(121): ui_t::on_create(): Assertion failed
Last Windows Error 0: Error Message..

What is the Last Window Error Number and message, if any?

Re: "Assertion Failed" & crash when using shortcut

Posted: Sun Nov 22, 2009 8:16 am
by zetty
Hmm, I've never seen any error box accompanied with the crash and the next line in the errorlog is the next time it crashes from the same thing (hours apart).

Re: "Assertion Failed" & crash when using shortcut

Posted: Sun Nov 22, 2009 10:03 am
by David
Try running "Everything" in debug mode.

To run "Everything" in debug mode:
Run Everything.exe with the -debug command line option.

What is displayed in the debug output when "Everything" crashes?

Re: "Assertion Failed" & crash when using shortcut

Posted: Sun Nov 22, 2009 8:30 pm
by zetty
It says in red+bold Assertion Failed. That's all I saw before it disappeared. Is there a log option for the debug?

Re: "Assertion Failed" & crash when using shortcut

Posted: Sun Nov 22, 2009 8:43 pm
by David
Looks like "Everything" or another app could be using up all the system handles.
This usually causes the app to disappear with out showing any error message.

With Windows Task Manager are there any processes with a large number of Handles (>1000), GDI Objects (>1000), Threads(>50)?
Before "Everything" crashes does task manager show a larger number of Handles, GDI Objects or Threads usage for the everything process?

To show these columns in task manager:
  • In Windows Task Manager, from the View menu, slick Select Columns....
  • Check Handle Count.
  • Check Thread Count.
  • Check GDI Objects.
  • Click OK.

Re: "Assertion Failed" & crash when using shortcut

Posted: Sun Nov 22, 2009 9:06 pm
by zetty
At idle:

Handles: 149
Threads: 8
GDI Objects: 74

Re: "Assertion Failed" & crash when using shortcut

Posted: Tue Nov 24, 2009 6:24 am
by David
I have added some additional debugging information for the next release of "Everything"..

Hopefully we can find the cause of this issue.

I will post an updated alpha release in Announcements in the next few days..

Re: "Assertion Failed" & crash when using shortcut

Posted: Tue Nov 24, 2009 8:10 am
by David
What is displayed in the errorlog.txt file after the crash with the latest alpha available from:
"Everything" version 1.2.1.451a?