"Assertion Failed" & crash when using shortcut

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
zetty
Posts: 4
Joined: Sat Nov 21, 2009 8:11 pm

"Assertion Failed" & crash when using shortcut

Post 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!
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: "Assertion Failed" & crash when using shortcut

Post 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?
zetty
Posts: 4
Joined: Sat Nov 21, 2009 8:11 pm

Re: "Assertion Failed" & crash when using shortcut

Post 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).
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: "Assertion Failed" & crash when using shortcut

Post 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?
zetty
Posts: 4
Joined: Sat Nov 21, 2009 8:11 pm

Re: "Assertion Failed" & crash when using shortcut

Post 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?
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: "Assertion Failed" & crash when using shortcut

Post 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.
zetty
Posts: 4
Joined: Sat Nov 21, 2009 8:11 pm

Re: "Assertion Failed" & crash when using shortcut

Post by zetty »

At idle:

Handles: 149
Threads: 8
GDI Objects: 74
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: "Assertion Failed" & crash when using shortcut

Post 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..
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: "Assertion Failed" & crash when using shortcut

Post 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?
Post Reply