opensuse 11.1 desktop freeze

recently ,my opensuse 11.1 desktop often freeze .
keyboard completely hang ,no ctrl-alt-backspace, no ctrl-alt-F1,caplock has no response.mouse can move in screen but system did not respond about it.i have to push power off button to tun the system off,and restart the system in order to continue my work.
in my ~/.xsession-errors.old ,i found some error log:



(npviewer.bin:5495): Gdk-WARNING **: GdkWindow 0x4400021 unexpectedly destroyed

(npviewer.bin:5495): Gdk-WARNING **: GdkWindow 0x4400020 unexpectedly destroyed

(npviewer.bin:5495): Gdk-WARNING **: GdkWindow 0x440001f unexpectedly destroyed

(npviewer.bin:5495): Gdk-WARNING **: GdkWindow 0x4400003 unexpectedly destroyed
The program ‘npviewer.bin’ received an X Window System error.
This probably reflects a bug in the program.
The error was ‘BadWindow (invalid Window parameter)’.
(Details: serial 240 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
*** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: No child processes
*** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.2.2/
src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke
_possible(plugin->connection))
*** NSPlugin Wrapper *** ERROR: NPObject 0x2eaacf0 is no longer valid!
Currently in use: 59 blocks containing 147.0 KiB bytes total.
Allocated during whole lifetime: 4138 blocks containing 11.8 MiB bytes total.
Sample cache size: 0 B
User name: ppp
Host Name: linux-ppp
Server Name: pulseaudio
Server Version: 0.9.12
Default Sample Specification: s16le 2ch 44100Hz
Default Sink: alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0
Default Source: alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0
Cookie: 75a8e813

(npviewer.bin:5532): Gdk-WARNING **: GdkWindow 0x4400021 unexpectedly destroyed

(npviewer.bin:5532): Gdk-WARNING **: GdkWindow 0x4400020 unexpectedly destroyed

(npviewer.bin:5532): Gdk-WARNING **: GdkWindow 0x440001f unexpectedly destroyed

(npviewer.bin:5532): Gdk-WARNING **: GdkWindow 0x4400003 unexpectedly destroyed
The program ‘npviewer.bin’ received an X Window System error.
This probably reflects a bug in the program.
The error was ‘BadWindow (invalid Window parameter)’.
(Details: serial 240 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
*** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: No child processes
*** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.2.2/
src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke
_possible(plugin->connection))
*** NSPlugin Wrapper *** ERROR: NPObject 0x2d37d80 is no longer valid!
Currently in use: 53 blocks containing 146.6 KiB bytes total.
Allocated during whole lifetime: 4229 blocks containing 12.0 MiB bytes total.
Sample cache size: 0 B
User name: ppp
Host Name: linux-ppp
Server Name: pulseaudio
Server Version: 0.9.12
Default Sample Specification: s16le 2ch 44100Hz
Default Sink: alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0
Default Source: alsa_input.pci_8086_284b_sound_card_0_alsa_capture_0
Cookie: 75a8e813
emerald: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
transmission: Fatal IO error 11 (Resource temporarily unavailable) on X server :
0.0.
firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Window manager error: Unable to open X display :0.0
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.

npviewer.bin

Is I think related to Flash in Firefox.
If you are using it. Try not doing so. See if we can isolate it down.

caf4926 adjusted his/her tinfoil beanie to write:

>
>> npviewer.bin
> Is I think related to Flash in Firefox.
> If you are using it. Try not doing so. See if we can isolate it down.
>
>

ditto what caf said also if you go to Yast>System>/etc/sysconfig editor
then look in System/kernel there is an option to enable the SysRq key,
this will allow you to press Alt+SysRq+ ( other keys to perform some
functions ) instead of pulling the plug, this is handy if your system
has become unstable but the kernel is still able to respond.

I.E.

Alt+SyRq+s

sync the data on drives/mounted fs`s so that you should not have to wait
for the fsck while boot and also writes any cached writes to the drive
so no data lost YMMV

Alt+SysRq+u

Unmount mounted fs`s

Alt+SysRq+b

reboot the machine

I use this combo in that order if the machine gets stuck due to a bug in
any software I happen to be testing, I generally use the sync twice or
three times before unmounting and rebooting.

Have a look at the man page for SysRq for loads of options.

HTH

PS. The SysRq key is the Prt SC key or printscreen key depending on how
it is marked on you keyboard.


Mark
Nullius in verba
Nil illegitimi carborundum

I was experiencing a lot of these “freeze” issues with openSUSE 11.1 and was never able to track down the exact culprit. There are several threads on this board that pertain to that topic and I tried everything but my system would still just freeze. I would always be required to hold in the power button in order to reset the PC. I finally went back to openSUSE 11.0 and have been good ever since. I’ll wait until 11.2 is released before I upgrade cause 11.1 was not good.