c++ error

This is a discussion on c++ error within the C++ Programming forums, part of the General Programming Boards category; I have an error that i get everytime i want to play a game I like and i get it ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    5

    c++ error

    I have an error that i get everytime i want to play a game I like and i get it on some other things too.
    The error says Assertion Failed!

    Program: C:\Program Files\LimeWire\LimeWire.exe
    File: ../../../src/share/native/sun/awt/.../fontObject.cpp
    Line:489
    Expression: offset < fFileSize

    For More information on how your program can cause an assertion failure, see the Visual C++ documentation on assets

    (press Retry to debug the application - JIT Must be enabled). When i press retry it fails then closes the program Abort makes it close and Ignore allows it to run. Thats between Abort, Retry,Ignore and I get by Ignoring this but it would be nice if this didn't pop up at all. I always get two the second one is
    Assertion Failed!

    Program: C:\Program Files\LimeWire\LimeWire.exe
    File:../../../src/share/native/sun/awt/fo...\fontObject.h
    Line:289

    Expression:fUseCount == 0

    For More information on how your program can cause an assertion failure, see the Visual C++ documentation on assets

    (Press Retry to Debug the application - JIT Must be enabled)

    Abort-Retry-Ignore are the three options it gives me. I tried to enable JIT but I can't find it.
    Last edited by Topcount345; 06-01-2005 at 03:06 PM.

  2. #2
    People Love Me
    Join Date
    Jan 2003
    Posts
    412

  3. #3
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    well, I've come across assertations and the JIT (Just-In-Time [compiler]) as Java-related things (I don't use Visual C++)... basically in Java you can set up a test case for a function of peice of code and then assert it. basically it's something that should only be happening during the debugging phase.

    basically, what you have to do next is look at what you've changed recently. have you installed anything? have you upgraded anything? you want to pay specific attention to the Visual C++ compiler and the specific game in question, but don't overlook other things. it could be something (that seems) completely unrelated.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    5
    I don't know almost anything about the c++ all i want to know is why that error comes up and if possible how to get rid of it.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    > Program: C:\Program Files\LimeWire\LimeWire.exe
    I'm assuming that this isn't a program you've written.
    "LimeWire is a free file sharing Gnutella client for Windows"

    Basically, unless you have the source code for this program, there is nothing you can do about it, and there isn't a whole lot we can do about it either. This board isn't for fixing other peoples code downloaded from the internet.

    You should be sending that information to whoever created that program in the first place. Look in the "help->About..." or the documentation to see who to contact.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Registered User
    Join Date
    May 2005
    Posts
    5
    It's just the fact that I get two messages for like opening that program visting some other web pages and one other program that i can't remember right now. As it appears you know much about this so I'll just ask one more thing. How do I enable JIT? And I don't know anything about c++ I just thought this would be a good place to ask for assitance. And I have never messed with code so don' expect me to mess with any.
    Last edited by Topcount345; 06-01-2005 at 03:06 PM.

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    If you don't want to mess with code, then there's nothing you can do anyway, so enabling JIT won't help you one bit.
    (I think you need VC++ installed, and this should enabled Just-In-Time-Debugging automatically.)
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #8
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722
    Quote Originally Posted by CornedBee
    If you don't want to mess with code, then there's nothing you can do anyway, so enabling JIT won't help you one bit.
    (I think you need VC++ installed, and this should enabled Just-In-Time-Debugging automatically.)
    Just make sure mdm.exe isn't running.
    Go to the services panel (run -> services.msc) and disable Machine Debug Manager

    Machine Debug Manager

    Supports local and remote debugging for Visual Studio and script debuggers. If this service is stopped, the debuggers will not function properly.

    "C:\Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe"
    Don't worry. Your IDE debugger won't be affected.

  9. #9
    Registered User
    Join Date
    May 2005
    Posts
    5
    I do know enough and know that it looks like none of you can help me. But I found something out. no mdm.exe is not running and I have never seen it run.

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    > none of you can help me
    Because you're asking the wrong questions in the wrong place.

    Face it, you're only here because some error message you saw mentioned "c++", so you've basically cast around for anything to do with C++ (how am I doing so far).

    Without the source code, and a good deal of experience, there's not a lot anyone here (or on any other message board) can do with "assertion failed" messages. It simply means "the program is broken".

    Like I said in my original reply, you need to tell the author of the program. If you haven't done that yet, you're simply wasting everyones time.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  11. #11
    Registered User
    Join Date
    May 2005
    Posts
    5

    Thumbs down New info

    I Used to get that error when I went to a game (runescape) And now I don't. I can relate this to installing microsoft vm and the windows update for it.(microsoft vm is an update for java that was made by microsoft but they don't distribute it) but they do have the update for it to fix vunlerabilities. I still though get it for limiewire. Strange isn't it?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 09:33 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 12:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21