Find the answer to your Linux question:
Results 1 to 5 of 5
Dear all, i am working on a client server real-time gui application written in C++ for Redhat. There is an issue with this application that it makes the system hang. ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    2

    linux c++ app makes system hang

    Dear all,
    i am working on a client server real-time gui application written in C++ for Redhat. There is an issue with this application that it makes the system hang. i am not able to sort out the issue as it happens randomly. Sometimes with in half an hour it makes the system hang, sometimes it takes 4 or 5 hours when it receives realtime data. Is there any way to debug this issue. I tried valgrind..but it was not of much use..
    Please help me.

    Regards
    Georgy

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Location
    Maryland, USA
    Posts
    83
    You're "working on" trying to make someone else's application work, or "working on" fixing an application that you wrote? I suspect you're trying to make someone else's code work. If my suspicions is correct, I suggest you look for a way to report bugs or a user group to discuss problems with the software. There's little chance someone can help you here unless you can isolate the problem to an area of the code and post it for others to look at. Even then, the chances are slim to none.

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    2
    Dear GregBrannon, don't waste your time in finding out who is the author of the software which i am working on..okay..if you don't have a solution please don't try to post a reply..

    FYI..I posted the same question in many other forums and i got hell lot of solutions to identify the problem area...I suggest you to quit the forum and don't irritate other members with your stupid replies...

    Thanks a lot for the understanding

    Regards,
    Georgy

  4. #4
    Just Joined!
    Join Date
    Dec 2009
    Location
    Maryland, USA
    Posts
    83
    I'm not sure why you reacted the way you did to what I wrote, but that's OK. Language and culture differences often lead to misunderstandings within the limitations of written conversations. I only pondered the source of the code troubling you in order to suggest other possible sources of help.

    I'm sorry that you didn't find my suggestions useful, even though following my advice is what you were apparently already doing.

    Good luck!

  5. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    44
    Hopefully this won't annoy you so much, but my first suspicion is memory allocation. C and C++ are famous for creating "buggy" programs, and that is always the first thing I look into when there is a problem. It's also one of the reasons I rarely use any kind of C. There are so many programming languages to try, that unless I'm really trying something intense I avoid it when possible. If it IS someone else's code, you may not be able to find it easily. If it's YOUR code, maybe you should check on any memory allocation, as C pretty much leaves it up to you to do ALL of the work. Don't explode on me, I'm just making a suggestion!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...