Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6541725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:08:25+00:00 2026-05-25T11:08:25+00:00

This shakes my understanding of computers and operating systems on a level that makes

  • 0

This shakes my understanding of computers and operating systems on a level that makes me very uneasy. I have just spent about an hour entering different iterations of compile commands to g++ and in my exasperation I renamed the executable which kept having the delay from game.exe to gameg.exe and all of a sudden the problem vanished.

Here’s some more background: I was noticing recently that when I ran my Eclipse unit test build, when I start with an SDL enabled test it would open the SDL window and freeze for about 20 seconds before being able to get the test started. On subsequent tests (which call SDL_Quit() and re-initialize SDL as part of the test process) this delay is not present. Now I have ascertained that ONLY when the executable is named exactly “game.exe” does this happen! I rename it to any other filename and it goes along running tests happily, initializing the SDL system within a second like it usually does. I had assumed before that there must be some kind of bug that was causing my Eclipse build to have this behavior which wasn’t present in the makefile build, but it turns out if I take the eclipse build and rename its executable (the project folder it’s in is called game hence game.exe) it doesn’t exhibit the behavior.

Likewise I take my makefile build (whose filename is entropy_unittest_disp.exe fyi) and rename it to game.exe and it begins to do this. I rename it to game and it also does it (I am running from mingw’s bash.. when not with .exe extension, explorer doesn’t know it’s an executable). However I changed it to game.exx and it worked normally.

WHAT IS THIS BLACK MAGIC? Why should a program function differently depending on its filename??? I do query argv[0] and i actually do it to print to console its value (for debug purposes) but unsurprisingly it just prints the program and its path. No logic is ever performed on it in my program.

I tried to run GDB to find out where it is freezing but once I press Ctrl+C GDB simply exits.

does anybody have any idea what this might be caused by? A virus?

edit: I downloaded this demo from this site: http://www.sdltutorials.com/sdl-opengl-tutorial-basics/

extracted it, renamed the file to game.exe, and yup, same thing happens. WHAT IS THIS? I’m going to try running dependency walker next to see if something’s trying to hook into it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:08:25+00:00Added an answer on May 25, 2026 at 11:08 am

    I’m assuming you have either a AMD (ATI) or Nvidia graphics card with their official drivers.

    Chances are, game.exe is the executable name for an actual game released and your drivers are running special optimizations for the “game” or loading the Crossfire or SLI profiles for this game. A quick Google search seems to tell me that Resident Evil 4 calls their executable “game.exe.”

    I recommend taking a look at this link for further details as to what may be happening:

    http://www.kn00tcn.net/site/ati-catalyst-profiles/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm thinking about how to do this, but I have several different shapes of
I have an app that takes a screenshot and the shares this with the
So I have this notification system that uses jQuery and PHP. The jQuery checks
I have a jquery code that shakes a div when clicked. $(#error).click(function() { $(#box-login).show('shake',
I have a web cam that takes a picture every N seconds. This gives
I'm following this MVC model: http://java.sun.com/developer/technicalArticles/javase/mvc/ In my model I have an ArrayList shapes
I have a problem with understanding of some basic OOP concepts. I'll try to
I have a table which is viewed by the user. As the user shakes
I'm quite new to Java and have come accross to a strange behaviour that
I have a basic app that allows user1 to create a redeemable code. user1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.