Fatal runtime bug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sean Pedersen
    New Member
    • Dec 2010
    • 30

    Fatal runtime bug

    I've got a bug in my application. It freezes often and I can't seem to nail down where in the code the problem could be. I'm thinking it's not synchronized properly. Anyways, If you can help then please do.

    PS: How does the code look? A hack?
    Attached Files
  • Sean Pedersen
    New Member
    • Dec 2010
    • 30

    #2
    Nobody will help?

    Comment

    • Dheeraj Joshi
      Recognized Expert Top Contributor
      • Jul 2009
      • 1129

      #3
      Try dumping the thread. And figure out what is the execution trace when it gets hung. Looks like a deadlock issue to me.

      Regards
      Dheeraj Joshi

      Comment

      • Dheeraj Joshi
        Recognized Expert Top Contributor
        • Jul 2009
        • 1129

        #4
        To dump the threads.

        1). Check the process_id of your app.
        2). kill -3 <proc_id>
        3). cat /proc/<proc_id>/fd/1

        I am assuming you are using *nix platform.

        Regards
        Dheeraj Joshi

        Comment

        Working...