GUI freezes randomly

I am writing a program which communicates with a CLIPS database using JClips library (generally the programs asks some questions and in the end prints an answer, kind of questionnaire). The program randomly freezes. I'll try to describe exactly the proble.
The main function calls the createAndShowGUI() method which shows an introduction screen with one button on it. The button starts the program. There are three main JPanels. First one with a TextArea (it shows the question) and two buttons (clear,confirm). Second one has a CardLayout with 4 cards (first one with radio buttons, another wict check box, one with text field, and one with a TextPane). When the program starts it adds an Observer and waits for CLIPS. Every message (in a specified format) I receive from CLIPS is precessed in the update mathod. Depending on what kind of message it is it shows apropriate card (radio buttons, check boxes, text field or text pane with an answer). If it is a question, when one selcts preferred answer (using for example radio box) and press the Confirm button a message with an answer is sent back to CLIPS. Then the database responds with another question or if it was th last one it sends an answer (a result of its deduction process).
This is the place wher the program freezes - after pressing the Confirm button. I really don't know the reason. It doesn't happen every time I run the program (about 15% probability that it hangs ;)) and it doesn't happen in a specific moment of the questionnaire.
This is my first Java program (and first object-oriented program) so this might be really basic problem.
The source code: http://avatar02.republika.pl/ExpertSystem.java

I've implemented these techniques and here is what it prints. This is the part of method responsible for printng.
System.out.println("\t" + stackEntry.getClassName()
          + "." + stackEntry.getMethodName() + " ["
          + stackEntry.getLineNumber() + "]");And this is part of a log that these debug methods print out:
Event [19297865] java.awt.event.MouseEvent is taking too much time on EDT (563)
AWT-EventQueue-1 / BLOCKED
     sun.awt.AppContext.get [-1]
     javax.swing.RepaintManager.currentManager [-1]
     javax.swing.RepaintManager.currentManager [-1]
     javax.swing.RepaintManager.currentManager [-1]
     javax.swing.JComponent.repaint [-1]
     java.awt.Component.repaint [-1]
     javax.swing.plaf.basic.BasicButtonListener.stateChanged [-1]
     javax.swing.AbstractButton.fireStateChanged [-1]
     javax.swing.AbstractButton$Handler.stateChanged [-1]
     javax.swing.DefaultButtonModel.fireStateChanged [-1]
     javax.swing.DefaultButtonModel.setPressed [-1]
     javax.swing.plaf.basic.BasicButtonListener.mouseReleased [-1]
     java.awt.Component.processMouseEvent [-1]
     javax.swing.JComponent.processMouseEvent [-1]
     java.awt.Component.processEvent [-1]
     java.awt.Container.processEvent [-1]
     java.awt.Component.dispatchEventImpl [-1]
     java.awt.Container.dispatchEventImpl [-1]
     java.awt.Component.dispatchEvent [-1]
     java.awt.LightweightDispatcher.retargetMouseEvent [-1]
     java.awt.LightweightDispatcher.processMouseEvent [-1]
     java.awt.LightweightDispatcher.dispatchEvent [-1]
     java.awt.Container.dispatchEventImpl [-1]
     java.awt.Window.dispatchEventImpl [-1]
     java.awt.Component.dispatchEvent [-1]
     java.awt.EventQueue.dispatchEvent [-1]
     TracingEventQueueJMX.dispatchEvent [18]
     java.awt.EventDispatchThread.pumpOneEventForFilters [-1]
     java.awt.EventDispatchThread.pumpEventsForFilter [-1]
     java.awt.EventDispatchThread.pumpEventsForHierarchy [-1]
     java.awt.EventDispatchThread.pumpEvents [-1]
     java.awt.EventDispatchThread.pumpEvents [-1]
     java.awt.EventDispatchThread.run [-1Could you please help me analyse this output? ;)
Thanks for replies.
Edited by: Avatar on Nov 29, 2007 10:26 AM

Similar Messages

  • I've been using Firefox for quite a long time now and recently it has started giving some problems. It freezes randomly and doesn't respond to any clicks.

    I am a proud user of Firefox. I started experiencing the freezing problem since i updated to Firefox 18 and now I am facing the same problem with Firefox 19. Firefox does not respond to any of my clicks and then I have to close it using Task Manager. This is happening frequently and randomly. It does not freeze on a particular site or anything else. It just freezes randomly. Please do reply if anyone has a solution to this problem.

    see this:
    [[Reset Firefox preferences to troubleshoot and fix problems|Reset Firefox preferences to troubleshoot and fix problems]]

  • Fresh Install of Windows 8.1 on HP Pavilion a4313w freezes randomly

    I've done four fresh installs of Windows 8.1 on the HP Pavilion a4313 Desktop PC in our home and it always freezes randomly. Even in safe mode, it freezes. I've done hardware tests with BurnIn Test 8.0 and everything including the hardware memory is fine. Antivirus is installed and it's completely updated with Windows Updates. Once I installed the 32-bit version of Windows 8.1 and it still froze. I performed a fresh install, because it would hang sometimes with Windows 7.
    Anyways, I am more then ready and willing to post more information or test results upon request. Anyone have suggestions?

    Hello @buddhapunk36,
    I understand that your computer running Windows 8.1 keeps freezing and you have run the hardware tests and it comes back okay. I would suggest that you try installing the original Windows 7 that came with your computer and see if the freezing continues. If it does continue the the issue appears to be a physical issue. Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html.
    If the issue does not continue then your system may not be compatible with Windows 8.1.
    I would like to thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Macbook Pro (mid 2007) freezes randomly

    Hi all,
    Last week my Macbook pro (2007) started to freeze randomly. 2-3 years ago I added an SSD (64 gb crucial M4) and replaced the dvd drive for an 500 gb HDD. The configuration worked perfectly until last week. My macbook sometimes works for a couple hours and sometimes it freezes just after 30 minutes from startup. Sometimes during an freeze I can use the programs that were open. For example when reading an PDF I can scroll 1-2 pages down/up. When I scroll more than 1-2 pages Preview freezes as well.
    I have done the following things to exclude some frequent problems.
    Set my fan speed to 6000 rpm to exclude an heat problem. The system freezes also with 'normal' temperatures.
    Checked my SDD & HDD on file consistency and repaired the disks with disk utility (booted from Mac Os X install cd). Disk utility reports that the disks are okay. I also checked with Techtool pro on bad blocks and smart status. All seems to be all right.
    Checked my RAM with tech tool
    Reset NVRAM
    Checked console for error messages. There are no messages at all between a couple of minutes before a freeze and a forced turn off/on.
    I haven't installed new software recently.
    Last time when my macbook froze, I had an terminal window open. In this window I could execute some commands, only the most basic. Top, sudo, shutdown etc. didn't work. I could navigate to all folders on both SDD & HDD. But I couldn't see any files, only folders. That is strange right?   
    I think the next step is to change the hard drives for an other (new) one, to exclude hard drive problems. But before I open my Macbook I was wondering if anyone has other ideas to solve this problem. 
    Thanks for any help.
    Bauke

    Back up all data immediately as your boot drive may be failing.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CSeq "I/O error" | tail | open -f -a TextEdit
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application. Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Normally the window will be empty. If you get output like this:
    kernel[0] <Debug>: disk0s2: I/O error
    the boot drive is failing, or there's some other hardware fault in the storage subsystem.

  • X freezes randomly, screen turning black or flickering

    Hey everyone,
    I'm having this annoying issue where X freezes randomly, I can't tell exactly when it happens. But when it happens, the following occurs:
    - Screen is frozen, sometimes turns black, sometimes turns black and reappears, but still frozen.
    - Cursor and sound (e.g. music) still works
    - When switching to a new tty (CTRL-ALT-F6), I can log in and restart gdm using
    sudo systemctl restart gdm
    - When I'm in the other tty and trying to switch back to the graphical view, I get stuck completely, not even switching consoles works now.Reset is the only option from there
    - Blindly restarting gnome-shell doesn't work
    I somehow have the feeling, it happens more often when I physically move my laptop, but thats just a gut feeling. It also happens often when my screen is locked and I try to log back in.
    I found this bug report, but its quite old and that doesn't help me: https://bugs.archlinux.org/task/14594
    Any help would be very appreciated, its really annoying to lose my work so often.
    My specs:
    $ lspci | grep VGA
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Chelsea XT GL [FirePro M4000]
    Gallium 0.4 on AMD CAPE VERDE
    Last edited by freijon (2014-04-12 10:33:22)

    I can't tell whether they're relevant, but there are some errors:
    journalctl -n 100 wrote:$ journalctl -n 100 | grep ERROR
    Apr 14 22:51:11 arch kernel: [drm:si_dpm_set_power_state] *ERROR* si_set_sw_state failed
    Apr 14 22:51:22 arch kernel: [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35).
    Apr 14 22:51:22 arch kernel: [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).
    Apr 14 22:51:24 arch kernel: [drm:si_dpm_set_power_state] *ERROR* si_set_sw_state failed
    Apr 14 22:51:25 arch kernel: [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35).
    Apr 14 22:51:25 arch kernel: [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).
    Apr 14 22:51:25 arch kernel: [drm:radeon_pm_resume_dpm] *ERROR* radeon: dpm resume failed
    I uploaded the full logs here: https://www.dropbox.com/s/0x3xed11zr13x … ogs.tar.gz in case anyone would like to check it out.

  • System freezes randomly in Mac OS X Leopard

    I have a problem with my system which freezing randomly. When it freezes, I can still move the mouse pointer around, but I can’t move or open any object on the screen.
    It doesn’t seem to be connected to a particular program since it might occur in various programs. I checked the hardware and also catalogue structures, authentication and so forth with disc warrior. Another odd thing is that I can’t seem to beable to boot from the installation DVD. I’ve looked in the various logs (for example the crash logs), but there doesn’t seem to be any notation of the freezes on any of the logs. Another thing is that I sometime have trouble starting the computer, pushing the on-button doesn’t result in anything. Is there anything else I might try before reinstalling the system?

    Version:1.0StartHTML:0000000179EndHTML:0000016596StartFragment:0000002577EndFrag ment:0000016560SourceURL:file://localhost/Users/svantekarlsson/Desktop/LaunchDea mon.rtf
    Unfortunately, my computer won’t boot from DVD either. I’ve triedlocating the files you mentioned. I cannot find the one in/private/var/run/StartupItems
    Otherwise, they are as follows:
    System/Library/StartupItems     [empty]
    Lib/LaunchDaemons
    com.aladdin.aksusbd.plist
    com.aladdin.hasplmd.plist
    com.paceap.eden.licensed.plist
    PACESupport.plist
    System/Lib/LaunchDaemons
    bootps.plist
    com.apple.airport.wps
    com.apple.airportd.plist
    com.apple.airportPrefsUpdater.plist
    com.apple.alf.agent.plist
    com.apple.AppleFileServer.plist
    com.apple.aslmanager.plist
    com.apple.atrun.plist
    com.apple.ATSServer.plist
    com.apple.audio.coreaudiod.plist
    com.apple.autofsd.plist
    com.apple.automountd.plist
    com.apple.backupd-attach.plist
    com.apple.backupd-auto.plist
    com.apple.backupd-wake.plist
    com.apple.backupd.plist
    com.apple.blued.plist
    com.apple.bootlog.plist
    com.apple.bsd.dirhelper.plist
    com.apple.configd.plist
    com.apple.configureLocalKDC.plist
    com.apple.CoreRAID.plist
    com.apple.coreservicesd.plist
    com.apple.dashboard.advisory.fetch.plist
    com.apple.DirectoryServices.plist
    com.apple.DirectoryServicesLocal.plist
    com.apple.diskarbitrationd.plist
    com.apple.distnoted.plist
    com.apple.dnsextd.plist
    com.apple.docsetinstalld.plist
    com.apple.DumpPanic.plist
    com.apple.dyld.plist
    com.apple.dynamic_pager.plist
    com.apple.efax.plist
    com.apple.familycontrols.plist
    com.apple.FileSyncAgent.sshd.plist
    com.apple.firmwaresyncd.plist
    com.apple.fseventsd.plist
    com.apple.gssd.plist
    com.apple.hdiejectd.plist
    com.apple.hidd.plist
    com.apple.IFCStart.plist
    com.apple.IIDCAssistant.plist
    com.apple.installdb.system.plist
    com.apple.InternetSharing.plist
    com.apple.kdcmond.plist
    com.apple.kdumpd.plist
    com.apple.KerberosAutoConfig.plist
    com.apple.KernelEventAgent.plist
    com.apple.kextd.plist
    com.apple.kuncd.plist
    com.apple.lockd.plist
    com.apple.loginwindow.plist
    com.apple.mDNSResponder.plist
    com.apple.mDNSResponderHelper.plist
    com.apple.metadata.mds.plist
    com.apple.netauth.sysagent.plist
    com.apple.newsyslog.plist
    com.apple.nfsd.plist
    com.apple.nis.rpc.yppasswdd.plist
    com.apple.nis.ypbind.plist
    com.apple.nis.ypserv.plist
    com.apple.notifyd.plist
    com.apple.ocspd.plist
    com.apple.ODSAgent.plist
    com.apple.pcastagentd.plist
    com.apple.PCIELaneConfigTool.plist
    com.apple.periodic-daily.plist
    com.apple.periodic-monthly.plist
    com.apple.periodic-weekly.plist
    com.apple.portmap.plist
    com.apple.RemoteDesktop.PrivilegeProxy.plist
    com.apple.ReportCrash.DirectoryService.plist
    com.apple.ReportCrash.plist
    com.apple.ReportCrash.SafetyNet.plist
    com.apple.RFBEventHelper.plist
    com.apple.RFBRegisterMDNS_RemoteManagement.plist
    com.apple.RFBRegisterMDNS_ScreenSharing.plist
    com.apple.scsid.plist
    com.apple.seatbelt.compilerd.plist
    com.apple.securityd.plist
    com.apple.service_helper.plist
    com.apple.smb.server.preferences.plist
    com.apple.smbfs_load_kext.plist
    com.apple.spindump.plist
    com.apple.stackshot.plist
    com.apple.statd.notify.plist
    com.apple.syslogd.plist
    com.apple.systemkeychain.plist
    com.apple.SystemStarter.plist
    com.apple.taskgated.plist
    com.apple.update.plist
    com.apple.usbmuxd.plist
    com.apple.UserNotificationCenter.plist
    com.apple.uucp.plist
    com.apple.webfilter.plist
    com.apple.WindowServer.plist
    com.apple.xgridagentd.plist
    com.apple.xgridcontrollerd.plist
    com.vix.cron.plist
    comsat.plist
    eppc.plist
    exec.plist
    finger.plist
    ftp.plist
    login.plist
    nmbd.plist
    ntalk.plist
    org.amavis.amavisd_cleanup.plist
    org.amavis.amavisd.plist
    org.apache.httpd.plist
    org.cups.cups-lpd.plist
    org.cups.cupsd.plist
    org.isc.named.plist
    org.net-snmp.snmpd.plist
    org.ntp.ntpd.plist
    org.postfix.master.plist
    org.samba.winbindd.plist
    org.x.privileged_startx.plist
    shell.plist
    smbd.plist
    ssh.plist
    telnet.plist
    tftp.plist

  • Re: Tecra S10 and S11 freeze randomly

    We have several Tecra S10's and S11's. They freeze randomly during the day. Some even twice within half an hour, others spread it out through the day.
    The Tecra's are all Windows 7. Some have 64 bit, others a 32 bit installation. After the Windows 7 installation we removed additional software we don't need, like McAfee, Toshiba goodies (Assist, Tempro, etc), Ebay, etc. After that we activatie Office 2007 and we Microsoft-update the the laptops. So far so good.
    However, after a week or two just simply working in Word causes the Tecra to freeze. Even ctrl+alt+del is not working. The Tecra has to be forced to shut off by holding the power button down.
    Does anybody recognize these 'frozen moments'. It's very anoying.

    > All notebooks are in an Active Directory domain Windows 2008.
    Thats the reason why I asked if notebooks are connected to some company LAN.
    I saw somewhere on this forum that similar issues were noticed in the same situation. Notebook was somehow blocked when was part of domain.
    Probably some data exchange between notebook and server was responsible for this blocking and freezing issue.
    I really don't know what to say. If you have several notebooks with the same problem I recommend you to contact nearest authorized Toshiba service provider and ask for help. You know they have contact with Toshiba people and if there is something serious they can help you with this.
    I really don't believe some long discussion here will help you much.
    If your local administrator cannot find out what the problem can be than you need professional help.
    Do you agree with me?

  • After recent updates, Gnome freezes randomly. Video problem?

    I've been having some problems lately that I didn't have before recent updates.
    My desktop will freeze randomly and my only option is to switch to a VT and enter multi-user mode with `systemctl isolate multi-user.service`. X doesn't crash though. My Gnome Desktop just freezes entirely, but the mouse pointer continues to move around just fine. When I enter multi-user mode, Xorg.0.log says that the server exited successfully.
    Below are error messages in dmesg, systemd journal, and Xorg.0.log.
    # dmesg | grep -i error
    [17986.766825] [drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0 needs 245760 bytes but is 139264
    [17986.766827] [drm:r100_cs_track_texture_print] *ERROR* pitch 1280
    [17986.766829] [drm:r100_cs_track_texture_print] *ERROR* use_pitch 1
    [17986.766831] [drm:r100_cs_track_texture_print] *ERROR* width 65
    [17986.766833] [drm:r100_cs_track_texture_print] *ERROR* width_11 2048
    [17986.766834] [drm:r100_cs_track_texture_print] *ERROR* height 48
    [17986.766836] [drm:r100_cs_track_texture_print] *ERROR* height_11 2048
    [17986.766838] [drm:r100_cs_track_texture_print] *ERROR* num levels 0
    [17986.766840] [drm:r100_cs_track_texture_print] *ERROR* depth 0
    [17986.766842] [drm:r100_cs_track_texture_print] *ERROR* bpp 4
    [17986.766844] [drm:r100_cs_track_texture_print] *ERROR* coordinate type 0
    [17986.766845] [drm:r100_cs_track_texture_print] *ERROR* width round to power of 2 0
    [17986.766847] [drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 0
    [17986.766849] [drm:r100_cs_track_texture_print] *ERROR* compress format 0
    [17986.766851] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
    [22547.870582] plugin-containe[20829]: segfault at 7fcf04225a05 ip 00007fcf1487c9d8 sp 00007fcf0c3a1970 error 4
    # journalctl | grep -i error
    Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* bpp 4
    Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* coordinate type 0
    Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* width round to power of 2 0
    Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 0
    Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* compress format 0
    Nov 07 23:22:43 starlancer kernel: [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
    Nov 07 23:41:07 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
    Nov 07 23:41:07 starlancer dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
    Nov 07 23:42:07 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
    Nov 07 23:42:07 starlancer dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
    Nov 07 23:42:16 starlancer gnome-session[19143]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    Nov 07 23:42:20 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.438" (uid=0 pid=19658 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.439" (uid=0 pid=19664 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
    Nov 07 23:42:20 starlancer dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.438" (uid=0 pid=19658 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.439" (uid=0 pid=19664 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
    Nov 07 23:42:20 starlancer NetworkManager[269]: <error> [1352360540.622789] [nm-system.c:924] add_ip4_route_to_gateway(): (wlan0): failed to add IPv4 route to gateway (-12)
    Nov 08 00:19:41 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.487" (uid=1002 pid=19809 comm="/usr/bin/gnome-session --session=gnome-compiz ")
    Nov 08 00:19:41 starlancer dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.487" (uid=1002 pid=19809 comm="/usr/bin/gnome-session --session=gnome-compiz ")
    Nov 08 00:20:33 starlancer gnome-session[19809]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    Nov 08 00:20:36 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.507" (uid=0 pid=20280 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.508" (uid=0 pid=20286 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
    Nov 08 00:20:36 starlancer dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.507" (uid=0 pid=20280 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.508" (uid=0 pid=20286 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
    Nov 08 00:20:37 starlancer NetworkManager[269]: <error> [1352362837.36005] [nm-system.c:924] add_ip4_route_to_gateway(): (wlan0): failed to add IPv4 route to gateway (-12)
    # cat /var/log/Xorg.0.log | grep -i -e "(EE)" -e "(WW)"
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 22555.361] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 22555.361] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 22555.361] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 22555.364] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 22555.366] (WW) Warning, couldn't open module vesa
    [ 22555.366] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 22555.367] (WW) Warning, couldn't open module modesetting
    [ 22555.367] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 22555.367] (WW) Warning, couldn't open module fbdev
    [ 22555.367] (EE) Failed to load module "fbdev" (module does not exist, 0)
    EDIT: My desktop is started by systemd using graphical.target and gdm.service to start the GDM display manager on terminal 1 (TTY1). My Gnome desktop runs in Classic (Fallback) mode with Compiz and compiz-decorator-gtk for effect. I
    Any idea what might be causing these freezes or what info I can further provide?
    EDIT: Processes in X are apparently not crashing, only the video output is. For example, if I'm running applications with sound, I continue hearing sound though the graphics are completely frozen. Is there a way to refresh the graphics or video card somehow?
    Last edited by amadar (2012-12-20 10:59:32)

    bmanuel wrote:
    I think i got my problem, but i don't know how to solve it: after much troubles i found out that whenever i have an SMB connection with a machine that then goes down/disconnect from network without me unmounting the share BEFORE it, then BOOM, everything freeze.
    I noticed this only because i was sharing a directory with my brother and noticed i had the froze as soon as he got disconnected from the network: so i asked him to power on that machine and.. magic! My machine unfroze instantly!
    But now, how to fix that?! Is it due to my /etc/fstab? Does this really matter with nemo/nautilus mounted shares? This, however, depicts the machine in question (the one that, disconnecting from the network, caused my own to freeze)
    //themachine.local/shared /home/username/mountpoint/ cifs noauto,guest,username=myname,password=mypassword,uid=1000,gid=100 0 0
    At last I found out what's my problem, hopefully your situation is similar so that we can work out a solution on this one.
    THANKS! I'm quite sure this is the reason gnome shell freezes for me as well. I was mounting my box.com cloud with this entry in /etc/fstab:
    # box.com account
    https://www.box.com/dav /home/abtz/Box davfs rw,user,noauto 0 0
    If anyone has an idea for how to fix this, I'm all ears. For now, I'll just remove the entry from /etc/fstab.
    I'm running vanilla Gnome, with only the Frippery shutdown menu and battery remaining extensions installed.

  • HP Elite 7100 freezes randomly

    Mostly brand new (about 3 months old) HP Elite 7100 mT (i5 750, 4GB RAM, ATI 5450) freezes randomly.
    Tried reinstalling OS with clean Windows and fresh drivers of HP website and/or INTEL/AMD accordingly, still happens.
    When it freezes, the windows log doesn't write anything, only that the subsequent boot was unplanned (meaning it's not kernel level, but hardware level).
    I used diagnostic software to stress-test the computer but temperatures remain within normal parameters and stress-testing it does not make it freeze - it is apparently completely random (about once a day or two).
    Anything I should try or do before I start the agonizing process of trying to explain the local HP support what's wrong so that they can take the computer to the lab and try to reproduce it to no avail?

    T-G, EVGA is a good manufacturer.  However, the card is 9" in length.  This may present some space problems.  As for temp problems, I suggest seeing if nVidia makes software to allow you to control the fan speed.  My XFX card is ATI.  ATI has software (Catalyst Control Center) to allow me to adjust the fan speed and overclock the card if I desire.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • TS1717 iTunes 10.7 freezes randomly in my Macbook Air, cannot do anything. Any Help?

    iTunes 10.7 freezes randomly in my Macbook Air, cannot do anything. Any Help?

    iTunes 10.7 freezes randomly in my Macbook Air, cannot do anything. Any Help?

  • Ords freezes randomly

    Red Hat 6.5
    Tomcat 6.0.24-64
    ORDS 2.0.7.91.15.01
    APEX DB 4.2.4.00.08
    Configure apex and works fine but ORDS freezes randomly, try to get "wget -d -O /tmp/pedro.lis http://localhost:8080/ords/apex_admin" from server but freeze about 3 minutes and works fine. At catalina.2014-05-12.log get some errors about "Broken pipe"
    May 12, 2014 5:07:19 PM oracle.dbtools.apex.ModApexContext write
    SEVERE: null
    ClientAbortException:  java.net.SocketException: Broken pipe
            at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
            at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
            at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
            at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
            at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
            at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:83)
            at oracle.dbtools.rt.web.WebErrorResponse$DeferErrorOuput.write(WebErrorResponse.java:255)
            at oracle.dbtools.apex.ModApexContext.write(ModApexContext.java:240)
            at oracle.dbtools.apex.ModApexContext.write(ModApexContext.java:210)
            at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:231)
            at oracle.dbtools.apex.ModApex.doPost(ModApex.java:151)
            at oracle.dbtools.apex.ModApex.service(ModApex.java:302)
            at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:350)
            at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:132)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org
    Any ideas ?
    Regards
    PGutierrez

    Sorry for the late reply.
    I decided to check if overheating could be the problem so i monitored the temperature for a few days and they seemed to be under control when the freeze/lockup occurs. Sometimes i get lockups even on a cold start.
    Recently i came across this https://bugs.launchpad.net/ubuntu/+sour … bug/568611 . I hadnt noticed any problems with brightness control but i decided to check anyway. It works most of the time, but if i try to increase or decrease it a few times (using the functions keys or using the gnome applet), the system locks up. I can reproduce this consistently. Also this seems to be consistent with freeze in GDM because the lockup almost coincides with the point when the gnome power manager tries to restore the brightness levels.
    There is also a fix https://launchpad.net/~kamalmostafa/+ar … gbacklight for this. Is there way to patch this onto my kernel?

  • CQ40 Freezes Randomly

    I am currently having a CQ40 - 324TU running Windows 7 x64
    The drivers are downloaded from HP site
    4GB RAM
    The problem is it freezes randomly
    Randomly as in it's hard to predict when it freezes. It can run for hours without freezing or they freezes the instant you enter windows. Once it freezes, you have to force power off the com to restart.
    Just last Saturday, it froze for 8 times during my 3 hours exam.
    I suspect it's the Motherboard Problem but I sent in for service for 3 times, they did not detect any problem.
    Anyone of you have this problem with your CQ40s?

    It's the RTM version btw, i.e. the final one and I installed the same things in an identical unit, that one turns out fine. (Identical as in everything is exactly the same to the submodel number, except the RAM, that unit has 3GB RAM)
    I am not sure whether most freezes are by software but I think what JRGibbs1990 referring to is a Hang, where the program stop responding. A freeze is the who computer freezes, i.e., it will not respond to external input at all, which means nothing will happen if you press anything, unless and press and hold switch button to cut power.
    And I do not think it is the software problem, firstly, the windows RTM installation works on all the other coms I use. Secondly, it even freezes with purely windows (without additional softwares), thirdly, it worked on an identical unit.
    Something odd about my machine is when i install the drivers found online in HP site, there is one particular one (Realtek PCIe Lan or somethng like that), once install, it will cause the machine to hang upon loading windows or before the login screen which interestingly, that problem does not occur with the identical unit.
    I sent in to HP for repair, I even talked to the customer service manager in HP Singapore. This is what he said, they test computers using HDD preinstalled with designated OS with all the drivers installed. And for CQ40 (at least for my unit), the designated OS is vista and they put it for many days, it did not seem to have a problem. They do not have HDD preloaded with Windows 7 x64bit to test (which I personally do not buy this reason). If that is true, there is something wrong with the service provided.

  • Gui freezes after pressing execute

    hi,
    my program which is done in Swing sort of freezes as soon as press execute until the calling method is finished.
    here is the situation.
    the jFrame contains 2 buttons ( ok & cancel )
    when the ok button is pressed it creates an object & invokes a method in it
    private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {
    var = new Var(patameter list..);
    var.go();this method take some time ( say roughly about 1 min... ) so as soon as I press ok my GUI freezes until that go() method completes.
    this is very annoying, coz I have this new jFrame I need to pop up as soon as OK is pressed so it can show the progress of that go() method. This new window wont even show up sometimes until go() is finished.
    How do I overcome this...
    p.s - I read this thread http://forum.java.sun.com/thread.jspa?threadID=5189368&tstart=0
    But it was a bit confusing to me..
    if you experts can help me out, that would be great. :)
    Cheers

    p.s - I read this thread http://forum.java.sun.com/thread.jspa?threadID=5189368&tstart=0
    Not related to your problem.
    if you experts can help me out, that would be great. :)The Swing experts are found in the Swing forum, where this question is asked and answered all the time.
    You need to use a separate Thread for you long running task so it doesn't block the GUI thread from responding to events.

  • GUI Freezes once socket server is started

    Here's my problem and I am stumped. I have an application which starts a
    socket server and waits for clients to connect. Once connected, the
    server queries XML to the client for display.
    My problem is when I start the server my GUI freezes. I have a simple
    GUI with a start and stop button made in JBuilder. Although the server is running fine and the application works (I can connect and query with my client) the GUI freezes and I have to CTRALTDEL to close the app.
    The method below (see after message) is in the main Application.java class and my GUI is being created in the Frame1.java class. The Frame class has a listener for the button press which calls startServer in
    Application. This was developed in JBuilder Personal edition.
    I keep reading about InvokeLater but not sure if this is what I need. I feel like what is happening is the server starts and the app listens for clients and ignores the GUI.
    Any suggestions would be helpful as madness is setting in.
    Thnaks.
    public static void startServer() {
    try{
    int intPort=9999;
    ServerSocket server = new ServerSocket(intPort);
    System.out.println("Server started...waiting for clients.");
    while(true){
    Socket objSocket = server.accept();
    SocketClient client = new SocketClient(objSocket);
    client.start();
    catch(IOException ioe){
    //dump error
    Here is how the server is being started:
    void button1_actionPerformed(ActionEvent e) {
    try{
    startserver.main(); //make call to start the server
    label2.setText("Running");
    catch (Exception ie) {
    System.err.println("Could not listen on port: 9999.");
    System.exit(-1);
    }

    Swing executes all GUI related code (event handling, painting, etc.) in the so-called event dispatching thread. If you call a blocking method like ServerSocket.accept in this thread, it is blocked and unable to perform further gui tasks.
    public class MyServerThread extends Thread
        private ServerSocket serversocket;
        public void run()
            try
                this.sserversocket = new ServerSocket(9999);
                while(!Thread.interrupted())
                    Socket socket = serversocket.accept();
                    new SocketClient(socket).start();
            catch(IOException ex)
                ex.printStacktract();
        public void shutdown()
            if(this.serversocket != null)
                //closing the socket will cause accept() to throw an exception and therefor quit its loop
                try { this.serversocket.close(); } catch(IOException ignored) {}
                this.interrupt();
                this.serversocket = null;
    //in your GUI class
    private MyServerThread serverthread;
    void startserver()
        serverthread = new MyServerThread();
        serverthread.start();
    void stopserver()
        serverthread.shutdown();
        serverthread = null;
    }

  • GUI Freezes

    I want the hex code of a file to be generated on button press from GUI. Right now, the code works fine for small files but for large files, the GUI freezes.
    class SW extends SwingWorker<String,Void>{
         File finsw;
         public String doInBackground() throws Exception
         String hex="";
         String hex2="";
         finsw=new File(jt.getText());
         BufferedInputStream in = new BufferedInputStream(new FileInputStream(finsw));
         int b,i=0,c=0;
         int count=0;
         while ((b = in.read()) != -1)
         { c++;
         try { hex=Integer.toHexString(b);
         hex2=hex2+hex;
         } catch(Exception e){System.out.println("Example5.java"+e);}
         if (hex.length() == 1)
         hex = '0' + hex;} //end of func
         in.close();
         return hex2;
                             //String kfrmsw=Example5.displayBinaryFile2(finsw);
                             //return kfrmsw;
    }// end of doInBackground
    protected void done()
    { try { String m=get();
    System.out.println(m);}catch(Exception e) {System.out.println(e);}}
    }//end of class SW
    This is the main function
    public static void main(String args[])
         //new gui();
         SwingUtilities.invokeLater(new Runnable() {public void run() {new gui();}});
         JFrame frame = new JFrame("VRDS");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.add(new gui());
         frame.pack();
    frame.setVisible(true);
    }//end of main
    This is the EDT
    public void actionPerformed(ActionEvent e) {
    SW worker=new SW();
    if (e.getSource() == jb)//the scan button
    // read file to be scanned
         String k="";
         final File f=new File(jt.getText());                  
         try {
              worker.execute();
              System.out.println("Worker.get="+worker.get());
    } catch(Exception re) { System.out.println("Exception from read file to be scanned"+re); }            

    class SW extends SwingWorker<String,Void>{
         File finsw;
         public String doInBackground() throws Exception
         String hex="";
         String hex2="";
         finsw=new File(jt.getText());
         BufferedInputStream in = new BufferedInputStream(new FileInputStream(finsw));
         int b,i=0,c=0;
         int count=0;
         while ((b = in.read()) != -1)
         { c++;
         try { hex=Integer.toHexString(b);
         hex2=hex2+hex;
         } catch(Exception e){System.out.println("Example5.java"+e);}
         if (hex.length() == 1)
         hex = '0' + hex;} //end of func
         in.close();
         return hex2;
                             //String kfrmsw=Example5.displayBinaryFile2(finsw);
                             //return kfrmsw;
    }// end of doInBackground
    protected void done()
    { try {
    String m=worker.get();
    System.out.println("M:"+m);
    }catch(Exception e) {System.out.println(e);}
    }//end of class SWThis is the main method
    public static void main(String args[])
         //new gui();
         SwingUtilities.invokeLater(new Runnable() {public void run() {
    //new gui();
         JFrame frame = new JFrame("VRDS");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.add(new gui());
         frame.pack();
            frame.setVisible(true);
    }//end of mainThis is the actionperformed method
    public void actionPerformed(ActionEvent e) {
    //Coding for Scan Button goes here
         if (e.getSource() == jb)
    // read file to be scanned
         String k="";
         final File f=new File(jt.getText());                  
         try {
              worker.execute();
              } catch(Exception re) { System.out.println("Exception from read file to be scanned"+re); }            I want the hex code of file selected from the GUI. For large files, still no output is produced. Also, after generating hex code for 1st file, no hex code is being generated for the second file.

Maybe you are looking for

  • My MBP thinks it has a modem attached to it (I think)

    Hey all, I have a mid-2009 MBP, Intel Core 2 Duo 2.66Ghz, running OS10.5.8(9L30). Last night Software Update told me it had an update, and since it was a security update (Security Update 2009-006), I let it rip. Now I think it thinks there's a modem

  • "Error while reading Exceptions" - Message No. /SCMB/ORDER 351

    Hello, An error message that we are getting as "Error while reading Exceptions" - Message No. /SCMB/ORDER 351 while entering a Work Order Number in the 'Work Order details' screen in the SNC Web UI. So, please let us know how to tackle this error in

  • Only one app wont authorize on the computer

    i have windows 7- 64 bit i tried to do a backup to my iphone but it didnt worked and i think that it is because i have one app that wont authorize i have already authorized my computer but i tried again so i deauthorized my computed and authorized it

  • Undelivered full order qty but order status is completed

    Hi, I have 2 Orders wherein the order qty was not fully delivered but the overall status of the order is completed.  It is no longer in open order report.  i check the Cust MD, it is not requiring complete delivery. The order has no delivery or billi

  • ASCII (character mode report) with 6i

    The help option specifies to set the report width and height accordingly, however this options are not display under the propery palette for the report node. Where can these options be set ? Any help will be appreciated.