[SOLVED] GDB freezes computer with multithreaded program

I'm working on https://github.com/Fluorohydride/ygopro. I'm using eclipse on a fully updated system (linux-lts 3.14). During debug when I step over or step in, whole system freezes. I've to power off the system. This behavior is random, like it may happen after 10 step overs or 18 , sometimes it happens with just 4 step over. Netbeans was also showing the same behavior. I don't know which log to provide. Please help.
Last edited by ansh_kumar (2015-04-28 13:22:55)

If you're able to move the mouse [pointer], it seems unlikely that the "whole computer" is hanging. You could try Ctrl+Alt+Bksp to kill X, but I think that feature needs to be enabled with an X config file these days. You could also try switching to a TTY, or if practical set up sshd and try connecting from another machine. If all else fails, try REISUB.

Similar Messages

  • OpenGL freezes computer with dual monitors and fglrx

    I am trying to use the fglrx driver, and with a single monitor I seem to have gotten everything working.
    However I am running into issues with two monitors. Basically, when I have two monitors any opengl program doesn't run properly.
    There are two cases. If I use the xorg.conf generated by "aticonfig --initial", it still seems to detect the other monitor (although there is a black region on my gnome desktop). If an opengl program is run, the screen goes crazy where random pixels are changing different colors. I can end the program, and everything goes back to normal.
    Using the program "amdcccle" I generated xorg.conf for dual monitors (I pasted it below). When I use this configuration, any opengl program completely freezes the computer instantly.
    I have been looking for a while, but have not found any information that might lead to a solution. Does anyone here have any advice?
    Section "ServerLayout"
    Identifier "amdcccle Layout"
    Screen 0 "amdcccle-Screen[1]-0" 0 0
    EndSection
    Section "Monitor"
    Identifier "0-DFP1"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    Option "PreferredMode" "1680x1050"
    Option "TargetRefresh" "60"
    Option "Position" "1920 0"
    Option "Rotate" "normal"
    Option "Disable" "false"
    EndSection
    Section "Monitor"
    Identifier "0-DFP10"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    Option "PreferredMode" "1920x1080"
    Option "TargetRefresh" "60"
    Option "Position" "0 0"
    Option "Rotate" "normal"
    Option "Disable" "false"
    EndSection
    Section "Device"
    Identifier "amdcccle-Device[1]-0"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    Option "Monitor-DFP1" "0-DFP1"
    Option "Monitor-DFP10" "0-DFP10"
    EndSection
    Section "Screen"
    Identifier "amdcccle-Screen[1]-0"
    Device "amdcccle-Device[1]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Virtual 3600 1920
    Depth 24
    EndSubSection
    EndSection

    +Sorry. I mean "right" in the last sentence.+
    Hello.
    I put my second monitor of a dual monitor set-up to the left of the main monitor - the one with the FC application, keyboard and mouse, etc. Trouble is the mouse kept hitting the left hand wall of my main monitor when I tried to send it to the second monitor. After a while I realized the mouse/computer thinks the second monitor is to its right, so I have to exit the right hand side of the main monitor to get to the one on the left.
    Is there any way to instruct FC and the mouse that the second monitor is on the left? Can the mouse be instructed to "pass" through the left hand wall of the main monitor rather than the right? Or must the second monitor always go the right of the main monitor?
    Thanks.
    John

  • How to solve the setColor() problem with multithreading?

    My fractal program uses a custom number of threads to draw the complete image. If I use just 1 thread, the image looks clean, if I use more threads some pixels of the image gets other colors. The problem ist the painting code:
    g2d.setColor(col);
    g2d.drawLine(x, y, x, y);as it is necessary to first set the color of the graphics object and then draw the line. I can solve this pixel color problem by synchronizing the Graphics2D object:
    synchronized (g2d) {
      g2d.setColor(col);
      g2d.drawLine(x, y, x, y);
    }but this slows the code down to times where just 1 thread is calculating the image. Unfortunately, I can't find a draw() method that has a color parameter.
    I tried to divide the panel into multiple BufferedImages (1 for each thread) which solves the pixel problem but only the first BufferedImage get's drawn.

    I solved my problem now. My solution is to use a separate BufferedImage for each Thread. I still had a bug where i didn't transformed the x/y coordinates of the complete image to the shifted x/y coordinates of the single BufferedImages, so that the threads draw the image out of the visible area which looked like all threads after the first only had a black image. After adjusting teh coordinates, the fractal now gets drawn correctly. And boy it's much faster with multiple threads - even on single core systems. On a dual core system, using 10-20 threads about doubles the performance as both cores have work almost all the time until the fractal is finished. :-)

  • How can you stop your ipod touch data from being restored on the computer with a program that lets you see your deleated safari history

    heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelllllllllllllllllllllllllllllllllllllppppppp pppppppppppppp

    Delete the backup from iTunes. Go to iTunes>Preferences>Devices and highlight the backup and click on delete. You have to do that after every sync. Also, make sure that you empty the recycle bin (PC) or trash (Mac) to really delete the backup.
    Also, in the future you can turn on Private browsings in Settings>Safari or go there and Clear History right before you sync.

  • Value of New iBook G4 Value with extra programs???

    I wanted to know if anyone could tell me how much I could get for my iBook G4 its about 4 months old, the extra programs it has are:
    -Microsoft Office 2004
    -Adobe Creative Suite 2-Illustrator CS2, In Design CS2, Go Live CS2, Photoshop CS2, Version Cue CS2, and Adobe Bridge.
    -plus the regular programs that came with the computer.
    I wanted to sell it and put the money toward a new PowerBook G4 Titanium for my school stuff, I paid a lot of money for the Adobe program and I wanted to know the value of the computer with the programs installed on the computer. Would I be able to still install Adobe to my new computer without any problems? If anyone knows please let me know. Thanks.
    ~KrYsTaL~

    For the iBook, check on eBay and see what others are going for. You can also check Apple's web page for refurbished equipment and see what they are going for there. Between the two you should be able to figure out what the market for it is.
    As for the software. No you can't sell the software installed on the computer and then install it on your new one. You have two choices, delete the software from the computer and keep it for your new PowerBook or provide the buyer with the media, licenses, and documentation when you sell it. You really have to dig through each license agreement to find out what you can and can't do with it. If you got any of the software through educational discounts, there may be additional limitations as to what you can do with it.

  • Because you this loading firefox.exe like process from the beginning of the computer with a load from 38 to 42000 kb or like I can solve this problem

    because you this loading firefox.exe like process from the beginning of the computer with a load from 38 to 42000 kb or like I can solve this problem, atualmente when lighting the computer among the processes that are loaded when beginning the computer is a process of name firefox.exe with a load of between 30 and 50000 kb but I don't find to the registered firefox inside the programs to crgar from the beginning when entering for msconfig.exe my operating system is so far windows xp up-to-date sp3 and my firefox is 7.0.1 version in Spanish that is my native language.

    That seems very suspicious. Two suggestions.
    First, try Firefox's Safe Mode. This will let you work around problems with add-ons and perhaps help you identify things to remove so that Firefox goes back to normal.
    I recommend making a backup of your Firefox settings before starting in Safe Mode. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
    Does that work? If so, you may need to disable your add-ons and just bring the most essential ones back to life until you discover the problem one.
    Second thought: malware. You could supplement your usual security scans with these:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/mbam.php
    SUPERAntiSpyware : http://www.superantispyware.com/
    HouseCall : http://housecall.trendmicro.com/
    Hope this helps.

  • [SOLVED] firefox freezes with linux 3.14.*

    I have a lot of freezes in firefox with the new kernel.
    Program received signal SIGPIPE, Broken pipe.
    [Switching to Thread 0x7fffe0aff700 (LWP 12195)]
    0x00007ffff7bcdefb in send () from /usr/lib/libpthread.so.0
    (gdb) bt
    Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x7fffe0afeac8:
    #0 0x00007ffff7bcdefb in send () from /usr/lib/libpthread.so.0
    Cannot access memory at address 0x7fffe0afeac8
    With linux-lts, there no problems at all. I saw this report but i dont think is related to the futex race issue.
    Any help appreciated.
    Last edited by tritonas00 (2014-04-16 15:47:09)

    because the report opener said that those freezes fixed with the 'futex' patch (included in 3.14-5).
    As he says:
    for those who have again problems despite the patch it means probably that there are another bugs further in the source code of kernel 3.14, bugs who are not necessarily related to the "futex problem"
    i will try a clean profile, thanks.
    Last edited by tritonas00 (2014-04-16 13:22:51)

  • Problem with various programs freezing/not working

    I'm not sure if it's a problem with the computer itself or with the software, but perhaps someone on here can help me.
    For about a week now I've been having problems with various programs on my iMac. These programs include iTunes, Force Quit, Shut Down, Safari, Finder, and certain functions on the keyboard.
    The problems I've been having revolve around the programs freezing up when you either first try to operate them or after opening the programs and trying to click on things within the program itself.
    A good example: I haven't been able to use iTunes past the point of opening it up. Once I try to play a song, it freezes up and the rainbow wheel comes up and just keeps on spinning for eternity, or until I manually reboot the computer via the power button.
    The volume controls on the keyboard don't work at all. When I first boot up the computer, I can press a volume button and the symbol will appear on the screen, but the level won't move up or down and if you press it again after that disappears then it doesn't reappear.
    Force Quit and other applications tend to stay on the screen after you click the quit button or other end/cancel button and won't go away until iMac is rebooted manually by button on back.
    Safari gets stuck on occasion depending on which site I go to. It happened once when I went to MySpace.com, but only cos of one of the flash sites they were advertising. I went to the same site an hour later and it was fine since it was advertising something else. I have a job site I can't access because when I click on the 'jobs' link to look for a job, it gets 3/4 of the way through the upload and freezes.
    And right now I can't tell you which model I have since I can't access the 'About This Mac' info, other than to tell you it's the 20" with 320 GB with Leopard software, Mac OS X v10.5. It gets regular updates.
    So... if there's anyone who could help me, I would greatly appreciate it.
    Please note, I don't have Apple Care since I can't afford it yet, and I just bought my computer in October 2007. Thanks!

    Start with http://www.thexlab.com/faqs/multipleappsquit.html

  • I have not been able to use iTunes for several months.  Every time I open iTunes, it freezes by computer such that there is about a minutes between each action.  I am running iTunes 11 on Mac OS 10.6.8 and have a computer with maxed out memory.

    I have not been able to use iTunes for several months.  Every time I open iTunes, it freezes by computer such that there is about a minutes between each action.  I am running iTunes 11 on Mac OS 10.6.8 and have a computer with maxed out memory.  Help!  I can't access my iTunes content.

    I have not been able to use iTunes for several months.  Every time I open iTunes, it freezes by computer such that there is about a minutes between each action.  I am running iTunes 11 on Mac OS 10.6.8 and have a computer with maxed out memory.  Help!  I can't access my iTunes content.

  • I am trying to install Adobe premiere elements 8 on my new computer (Windows 7). The program ansvers with "the program not installed or can be damaged".

    I am trying to install Adobe premiere elements 8 on my new computer (Windows 7). The program ansvers with "the program is not installed or can be damaged". Then aborts the installation.
    It`s right, the program is not istalld, it is  what i`m trying to do. And there is no problem whit the DVD. Any suggestions?

    "Error 1303: Installer has insufficient privileges" or "Error 1304: Error writing to file" | Install | CS3, CS4, CS5 pro…
    this link FIXED MY PROBLEM! i did the steps to the programdata\adobe folder and it installed FINE!

  • I hope you can help me.  I purchased adobe captivate 8 on line and when I click on the email link to download, it comes up with 7 programs, some are 64 bit and some are not, my computer is 32 bit.  I am not sure which of these 7 to download?  All or just

    I hope you can help me.  I purchased adobe captivate 8 on line and when I click on the email link to download, it comes up with 7 programs, some are 64 bit and some are not, my computer is 32 bit.  I am not sure which of these 7 to download?  All or just the 4 non 64 bit?

    I tracked down the problem with the download and installation, my windows 7 was missing a file and after reinstalling windows everything worked out.  The first 32 bit program in their list was used.  I hope this can help others.

  • Satellite Pro M10 freeze and crash with some programs

    Hi
    I have a Satellite Pro M10...
    a few weeks ago it's freeze and crash with some programs like wmpayer, messenger... I delivered it in the authorized agent and they had not detected no problem.
    Already I formatted it some times, but the problem continues.
    Some ideia of what it can be?
    Thanks

    Hello,
    Sounds to me like you could have a Motherboard problem. Formatting it takes away the chances of it being a software issue. Try taking out 1 stick of ram and testing it with that. If it continues to crash, take out that stick and try the other one. If it does it with both RAM then those are ok. HDD is not the culprit, so now it could either be processor or MB. Find a program to measure the heat of the notebook and run some heavy programs to make it overheat. If the temperature goes up and then it crashes, it could just be overheating. If it continues without overheating you either have a problematic CPU or MB. Hope this helps.

  • Trying to install firefox. Computer asks what program do I want to open with? Don't know what to do.

    Trying to install firefox for first time. Computer asks "what program do I want to open with". I have tried a few guesses, but nothing works. What program do I need to open with?
    Thanks

    You can remove the Firefox program folder (C:\Program Files\Mozilla Firefox\) manually if you can't uninstall.
    * http://kb.mozillazine.org/Uninstalling_Firefox
    See also:
    * http://kb.mozillazine.org/Software_Update

  • Trying to install older version of photoshop elements on new windows 7 computer with internet explorer 11. Install program does not recognize windows explorer 11. What can I do

    trying to install older version of photoshop elements on new windows 7 computer with internet explorer 11. Install program does not recognize windows explorer 11. What can I do

    HI Bill,
    Did you set Internet Explorer as the default browser? If not the set it as the default. Check to see if you can do custom install
    Thanks
    Scott
    Here is the system req.
    Photoshop Elements 6.0
    Windows
    Intel Pentium 4, Pentium M, or Intel Centrino 1.3 GHz (or compatible) processor
    Microsoft Windows XP with Service Pack 2 or Windows Vista
    256 MB of RAM (512 MB recommended)
    1.5 GB of available hard-disk space
    Color monitor with 16-bit color video card
    1024 x 768 monitor resolution at 96 dpi or less
    Microsoft DirectX 9 compatible display driver
    CD-ROM drive
    Web features require Microsoft Internet Explorer 6, Netscape Navigator 7.0, or Mozilla Firefox 1.5
    Languages

  • Firefox freezes (along with any other program I might have running) a minute or two after I have started my session. After a minute or so, it's O.K.

    Firefox freezes (along with any other program I might have running) a minute or two after I have started my session. After a minute or so, it's O.K. I have disabled all off my extensions and the problem still persists.

    Hello Meg, the phone allowed me to stay on long enough to download a new app but then shut down the app centre and returned to the home screen.
    Was there a specific "fix App" for this?

Maybe you are looking for

  • Problem in downloading a file from AS to client through form using webutil

    I am running oracle 10g sever & devloper 10g in the same machine. Almost every thing is working properly from a client PC in the network except the following aspect :- From client pc, through form, I have created one export(dmp file) which is being s

  • MySite creation error

    I am getting the following error. My Site creation failure for user  DOMAIN\userxyz Microsoft.SharePoint.SPException: User cannot be found. Am alse getting the following value "SPSSITEERROR" in the "Personal site" field for each user profile The setu

  • IChat Bonjour broken after 10.4.6 update

    After running the OS X 10.4.6 update yesterday, Bonjour suddenly stopped fucntioning properly in iChat. iChat with AIM buddies functions fine. But Bonjour tells me I'm all alone on the network -- even though other computers show up when I browse Netw

  • How to list the contents of an OSX directory, and output to text file?

    hello there any hints with any known program that does following I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand... How to list the conte

  • Adding a 3D file type in Spotlight

    Hi All. Is there a way to add a file type to a Spotlight search . I am using 3D software and would like to add various 3D file types that I don't currently see. Thanks.