Problem with Openbox
Hi
I'm trying to run Openbox, but all I get is an empty desktop.
1. How to I add icons or a panel?
2. When I run 'obconf' I get the following output:
(obconf:4049): Gtk-WARNING **: Cannot open display:
Can anyone help?
Thanks
Try following the wiki:
http://wiki.archlinux.org/index.php/Openbox
It did help me a lot.
Similar Messages
-
[Solved] gsimplecal auto focus problem with openbox+tint2
I'm using these apps described above.
Well, after I click the clock in tint2, the gsimplecal shows, but, it won't get focus automatically, which annoyed me a lot.
I've already set <focusNew>yes</focusNew> in my openbox/rc.xml.
Also, I noticed that even started from terminal, the gsimplecal window won't get the focus.
Is this a bug (or f**king feature) of gsimplecal? I installed it yesterday by yaourt -S gsimplecal-git.
Thank you.
This problem is solved by adding a per-application setting to openbox, as described in the gsimplecal wiki.
Adding the <focus>yes</focus> is enough, it doesn't need that much.
Last edited by XeCycle (2011-04-01 10:43:05)This seems to be related to the skip_taskbar window hint (set to true by default), as of gsimplecal v0.6 you can override it with the following in your config:
mainwindow_skip_taskbar = 0 -
Problem with openbox keybinding
hi,
I use Openbox and I have setup some keybindings, like these:
<keybind key="W-S-Right">
<action name="MoveRelative">
<x>30</x>
<y>0</y>
</action>
</keybind>
<keybind key="W-S-Left">
<action name="MoveRelative">
<x>-30</x>
<y>0</y>
</action>
</keybind>
<keybind key="W-S-Down">
<action name="MoveRelative">
<x>0</x>
<y>30</y>
</action>
</keybind>
<keybind key="W-S-Up">
<action name="MoveRelative">
<x>0</x>
<y>-30</y>
</action>
</keybind>
and they work fine except for the combination W-S-Right...
when I press the key combination from an external usb keyboard connected to my laptop (Lenovo L520 i5) the windows move as espected, but when I issue it from the laptop's keyboard nothing happens...all the other combinations work on both keyboards. also, the right key on the laptop works in any other circumstance...
any help would be highly appreciatedThanks for the input, Triby...
it is a bit of a long output to be posted, however the combination W-S-Right on the laptop is the only one to do not generate any output at all... -
Problem in openbox with transmission
I've got a problem with transmission and other torrent clients like rtorrent while in openbox. When I run them and play music or watch movies with smplayer or vlc after a period of time the torrent client becomes irresponsive and the media players start to lag until I kill the torrent client or until it gets back up and working.
The thing is that this only happens in openbox, when I run them in gnome they are working togheter just fine.
I had this problem for a while but lately it became really annoying and I want to fix it because I would love to continue using openbox.ilisium wrote:
I've got a problem with transmission and other torrent clients like rtorrent while in openbox. When I run them and play music or watch movies with smplayer or vlc after a period of time the torrent client becomes irresponsive and the media players start to lag until I kill the torrent client or until it gets back up and working.
The thing is that this only happens in openbox, when I run them in gnome they are working togheter just fine.
I had this problem for a while but lately it became really annoying and I want to fix it because I would love to continue using openbox.
Can I ask you what you mean? I use openbox and transmission. and never have lag issues or anything of the nature. But i download the files then move them to the Movies Folder... I would love to troubleshoot but i would like to know what i should do to replicate your issue. -
Problems with Steam - Dota2 and ETS2
Hello
I had never problems with Arch + xfce but last time I made fresh install of Arch with KDE and problems begins. Strange logs in steam running Dota 2 and Euro Truck Simulator 2. Dota 2 freezing, jumping even 60+ fps, both games can freeze for 1 min with sound.
Lenovo Y580 - GTX660M
After running Dota 2 with launch options (optirun -b primus %command% -console) output from console:
Game update: AppID 570 "Dota 2", ProcID 1441, IP 0.0.0.0:0
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 1455 != 1454, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Installing breakpad exception handler for appid(gameoverlayui)/version(20140715181500_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
[0725/222647:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0725/222647:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Using breakpad crash handler
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198074650116 [API loaded yes]
Steam_SetMinidumpSteamID: Setting Steam ID: 76561198074650116
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system supports the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 2097152, Total Avail: 2097152, Current Avail: 2076116
GL_MAX_SAMPLES_EXT: 32
Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/sound_vo_english
Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/pak01
Adding VPK file: /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/platform/pak01
Did not detect any valid joysticks.
WARNING: unable to link Test_StartScript and Test_StartScript because one or more is a ConCommand.
WARNING: unable to link Test_RandomChance and Test_RandomChance because one or more is a ConCommand.
WARNING: unable to link Test_LoopForNumSeconds and Test_LoopForNumSeconds because one or more is a ConCommand.
WARNING: unable to link Test_Loop and Test_Loop because one or more is a ConCommand.
WARNING: unable to link Test_LoopCount and Test_LoopCount because one or more is a ConCommand.
WARNING: unable to link Test_StartLoop and Test_StartLoop because one or more is a ConCommand.
WARNING: unable to link log_flags and log_flags because one or more is a ConCommand.
WARNING: unable to link log_color and log_color because one or more is a ConCommand.
WARNING: unable to link log_verbosity and log_verbosity because one or more is a ConCommand.
WARNING: unable to link log_level and log_level because one or more is a ConCommand.
WARNING: unable to link log_dumpchannels and log_dumpchannels because one or more is a ConCommand.
Load a scaleform font provider?
Creating D3D9 device with D3DCREATE_MULTITHREADED
IDirect3DDevice9::Create: BackBufWidth: 1366, BackBufHeight: 768, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: DISABLED
##### swap interval = 0 swap limit = 1 #####
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
!! Controller config file passed by steamworks game 570 did not exist at /home/akikyo/.local/share/Steam/SteamApps/common/dota 2 beta/dota/cfg/controller.vdf
Installing breakpad exception handler for appid(steam)/version(1405474565_client)
[0725/222707:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0725/222707:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
Im not able to run ETS 2 it's going to change resolution to 1024x768 in whole desktop and then crash. (Launch option: optirun -b primus %command%) output:
Game update: AppID 227300 "Euro Truck Simulator 2", ProcID 1554, IP 0.0.0.0:0
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(steam:1358): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
ERROR: ld.so: object '/home/akikyo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Setting breakpad minidump AppID = 227300
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198074650116 [API loaded no]
Registered appid 227300 to use native controller config at /home/akikyo/.local/share/Steam/SteamApps/common/Euro Truck Simulator 2/controller.vdf
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 80
Current serial number in output stream: 82
Game removed: AppID 227300 "Euro Truck Simulator 2", ProcID 1567
sudo journalctl
Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508930] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508943] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508969] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
Jul 25 22:35:15 lenovo bumblebeed[396]: [ 891.508984] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Jul 25 22:35:16 lenovo kernel: eurotrucks2[1567]: segfault at 17 ip 00007f40f1e30433 sp 00007fff05479db0 error 6 in steamclient.so[7f40f1b66000+f7b000]
Jul 25 22:35:16 lenovo kernel: [drm] Module unloaded
Jul 25 22:35:16 lenovo kernel: bbswitch: disabling discrete graphics
Jul 25 22:35:16 lenovo kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140214/nsarguments-95)
Jul 25 22:35:16 lenovo kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838215] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838233] [ERROR][XORG] (EE)
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838238] [ERROR][XORG] (EE) Backtrace:
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838242] [ERROR][XORG] (EE) 0: Xorg (xorg_backtrace+0x56) [0x58f186]
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838245] [ERROR][XORG] (EE) 1: Xorg (0x400000+0x192fc9) [0x592fc9]
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838249] [ERROR][XORG] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd21c5c8000+0xf4b0) [0x7fd21c5d74b0]
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838256] [ERROR][XORG] (EE) 3: /usr/lib/libc.so.6 (malloc_usable_size+0x25) [0x7fd21b290d25]
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838272] [ERROR][XORG] (EE) 4: /usr/lib/nvidia/libGL.so.1 (0x7fd21818b000+0xb61d9) [0x7fd2182411d9]
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838286] [ERROR][XORG] (EE)
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838298] [ERROR][XORG] (EE) Segmentation fault at address 0x0
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838306] [ERROR][XORG] (EE)
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838317] [ERROR][XORG] (EE) Caught signal 11 (Segmentation fault). Server aborting
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838320] [ERROR][XORG] (EE)
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838323] [ERROR][XORG] (EE)
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838329] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Jul 25 22:35:17 lenovo bumblebeed[396]: [ 892.838334] [ERROR][XORG] (EE)
sudo nano /var/log/Xorg.8.log
X.Org X Server 1.15.2
Release Date: 2014-06-27
[ 887.399] X Protocol Version 11, Revision 0
[ 887.399] Build Operating System: Linux 3.15.1-1-ARCH x86_64
[ 887.399] Current Operating System: Linux lenovo 3.15.5-2-ARCH #1 SMP PREEMPT Fri Jul 11 07:56:02 CEST 2014 x86_64
[ 887.399] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a89135f9-ef1e-4b90-a073-ee78d492b58a rw rcutree.rcu_idle_gp_delay=1 quiet
[ 887.399] Build Date: 27 June 2014 07:32:26PM
[ 887.399]
[ 887.399] Current version of pixman: 0.32.6
[ 887.399] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 887.399] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 887.399] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Jul 25 22:35:11 2014
[ 887.400] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 887.400] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 887.400] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 887.400] (==) ServerLayout "Layout0"
[ 887.400] (==) No screen section available. Using defaults.
[ 887.400] (**) |-->Screen "Default Screen Section" (0)
[ 887.400] (**) | |-->Monitor "<default monitor>"
[ 887.400] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 887.400] (**) | |-->Device "DiscreteNvidia"
[ 887.400] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 887.400] (**) Option "AutoAddDevices" "false"
[ 887.400] (**) Option "AutoAddGPU" "false"
[ 887.400] (**) Not automatically adding devices
[ 887.400] (==) Automatically enabling devices
[ 887.400] (**) Not automatically adding GPU devices
[ 887.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 887.401] Entry deleted from font path.
[ 887.401] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 887.401] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 887.401] Entry deleted from font path.
[ 887.401] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 887.401] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/
[ 887.401] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 887.401] (==) |-->Input Device "<default pointer>"
[ 887.401] (==) |-->Input Device "<default keyboard>"
[ 887.401] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 887.401] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 887.401] (II) Loader magic: 0x811cc0
[ 887.401] (II) Module ABI versions:
[ 887.401] X.Org ANSI C Emulation: 0.4
[ 887.401] X.Org Video Driver: 15.0
[ 887.401] X.Org XInput driver : 20.0
[ 887.401] X.Org Server Extension : 8.0
[ 887.401] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 887.401] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 887.401] setversion 1.4 failed: Permission denied
[ 887.403] (--) PCI:*(0:1:0:0) 10de:0fd4:17aa:3977 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
[ 887.403] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 887.403] Initializing built-in extension Generic Event Extension
[ 887.404] Initializing built-in extension SHAPE
[ 887.404] Initializing built-in extension MIT-SHM
[ 887.404] Initializing built-in extension XInputExtension
[ 887.404] Initializing built-in extension XTEST
[ 887.404] Initializing built-in extension BIG-REQUESTS
[ 887.404] Initializing built-in extension SYNC
[ 887.404] Initializing built-in extension XKEYBOARD
[ 887.404] Initializing built-in extension XC-MISC
[ 887.404] Initializing built-in extension SECURITY
[ 887.404] Initializing built-in extension XINERAMA
[ 887.404] Initializing built-in extension XFIXES
[ 887.404] Initializing built-in extension RENDER
[ 887.404] Initializing built-in extension RANDR
[ 887.404] Initializing built-in extension COMPOSITE
[ 887.404] Initializing built-in extension DAMAGE
[ 887.404] Initializing built-in extension MIT-SCREEN-SAVER
[ 887.404] Initializing built-in extension DOUBLE-BUFFER
[ 887.404] Initializing built-in extension RECORD
[ 887.404] Initializing built-in extension DPMS
[ 887.404] Initializing built-in extension Present
[ 887.404] Initializing built-in extension DRI3
[ 887.404] Initializing built-in extension X-Resource
[ 887.404] Initializing built-in extension XVideo
[ 887.404] Initializing built-in extension XVideo-MotionCompensation
[ 887.404] Initializing built-in extension XFree86-VidModeExtension
[ 887.404] Initializing built-in extension XFree86-DGA
[ 887.404] Initializing built-in extension XFree86-DRI
[ 887.404] Initializing built-in extension DRI2
[ 887.404] (II) "glx" will be loaded by default.
[ 887.404] (II) LoadModule: "dri2"
[ 887.404] (II) Module "dri2" already built-in
[ 887.404] (II) LoadModule: "glamoregl"
[ 887.404] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 887.454] (II) Module glamoregl: vendor="X.Org Foundation"
[ 887.454] compiled for 1.15.0, module version = 0.6.0
[ 887.454] ABI class: X.Org ANSI C Emulation, version 0.4
[ 887.454] (II) LoadModule: "glx"
[ 887.454] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 887.495] (II) Module glx: vendor="NVIDIA Corporation"
[ 887.495] compiled for 4.0.2, module version = 1.0.0
[ 887.495] Module class: X.Org Server Extension
[ 887.495] (II) NVIDIA GLX Module 340.24 Wed Jul 2 15:04:31 PDT 2014
[ 887.495] Loading extension GLX
[ 887.495] (II) LoadModule: "nvidia"
[ 887.495] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 887.500] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 887.500] compiled for 4.0.2, module version = 1.0.0
[ 887.500] Module class: X.Org Video Driver
[ 887.500] (II) LoadModule: "mouse"
[ 887.500] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 887.502] (II) Module mouse: vendor="X.Org Foundation"
[ 887.502] compiled for 1.15.0, module version = 1.9.0
[ 887.502] Module class: X.Org XInput Driver
[ 887.502] ABI class: X.Org XInput driver, version 20.0
[ 887.502] (II) LoadModule: "kbd"
[ 887.502] (WW) Warning, couldn't open module kbd
[ 887.502] (II) UnloadModule: "kbd"
[ 887.502] (II) Unloading kbd
[ 887.502] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 887.502] (II) NVIDIA dlloader X Driver 340.24 Wed Jul 2 14:42:23 PDT 2014
[ 887.502] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 887.502] (--) using VT number 1
[ 887.502] (II) Loading sub module "fb"
[ 887.502] (II) LoadModule: "fb"
[ 887.502] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 887.504] (II) Module fb: vendor="X.Org Foundation"
[ 887.504] compiled for 1.15.2, module version = 1.0.0
[ 887.504] ABI class: X.Org ANSI C Emulation, version 0.4
[ 887.504] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 887.504] (II) Loading sub module "wfb"
[ 887.504] (II) LoadModule: "wfb"
[ 887.504] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 887.506] (II) Module wfb: vendor="X.Org Foundation"
[ 887.506] compiled for 1.15.2, module version = 1.0.0
[ 887.506] ABI class: X.Org ANSI C Emulation, version 0.4
[ 887.506] (II) Loading sub module "ramdac"
[ 887.506] (II) LoadModule: "ramdac"
[ 887.506] (II) Module "ramdac" already built-in
[ 887.506] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 887.506] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 887.506] (==) NVIDIA(0): RGB weight 888
[ 887.506] (==) NVIDIA(0): Default visual is TrueColor
[ 887.506] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 887.506] (**) NVIDIA(0): Option "NoLogo" "true"
[ 887.506] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 887.507] (**) NVIDIA(0): Option "UseEDID" "false"
[ 887.507] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 887.507] (**) NVIDIA(0): Enabling 2D acceleration
[ 887.507] (**) NVIDIA(0): Ignoring EDIDs
[ 887.507] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 887.507] (**) NVIDIA(0): mode
[ 891.006] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 891.008] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 660M (GK107) at PCI:1:0:0 (GPU-0)
[ 891.008] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 891.008] (--) NVIDIA(0): VideoBIOS: 80.07.3c.00.16
[ 891.008] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 891.008] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 660M at PCI:1:0:0
[ 891.008] (--) NVIDIA(0): none
[ 891.008] (II) NVIDIA(0): Validated MetaModes:
[ 891.008] (II) NVIDIA(0): "NULL"
[ 891.008] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 891.008] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 891.008] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 891.008] (--) Depth 24 pixmap format is 32 bpp
[ 891.008] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 891.008] (II) NVIDIA: access.
[ 891.013] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 891.013] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 891.013] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 891.013] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 891.013] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 891.013] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 891.013] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 891.013] (II) NVIDIA(0): Config Options in the README.
[ 891.013] (II) NVIDIA(0): Setting mode "NULL"
[ 891.028] Loading extension NV-GLX
[ 891.035] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 891.035] (==) NVIDIA(0): Backing store enabled
[ 891.035] (==) NVIDIA(0): Silken mouse enabled
[ 891.035] (==) NVIDIA(0): DPMS enabled
[ 891.035] Loading extension NV-CONTROL
[ 891.036] (II) Loading sub module "dri2"
[ 891.036] (II) LoadModule: "dri2"
[ 891.036] (II) Module "dri2" already built-in
[ 891.036] (II) NVIDIA(0): [DRI2] Setup complete
[ 891.036] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 891.036] (--) RandR disabled
[ 891.044] (II) Initializing extension GLX
[ 891.100] (II) Using input driver 'mouse' for '<default pointer>'
[ 891.100] (**) Option "CorePointer" "on"
[ 891.100] (**) <default pointer>: always reports core events
[ 891.100] (WW) <default pointer>: No Device specified, looking for one...
[ 891.146] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[ 891.146] (--) <default pointer>: Device: "/dev/input/mice"
[ 891.146] (==) <default pointer>: Protocol: "Auto"
[ 891.146] (**) <default pointer>: always reports core events
[ 891.146] (**) Option "Device" "/dev/input/mice"
[ 891.200] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 891.200] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 891.200] (**) <default pointer>: Buttons: 9
[ 891.200] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 891.200] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 891.200] (**) <default pointer>: (accel) acceleration profile 0
[ 891.200] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 891.200] (**) <default pointer>: (accel) acceleration threshold: 4
[ 891.200] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[ 891.493] (II) <default pointer>: ps2EnableDataReporting: succeeded
[ 891.493] (II) LoadModule: "kbd"
[ 891.494] (WW) Warning, couldn't open module kbd
[ 891.494] (II) UnloadModule: "kbd"
[ 891.494] (II) Unloading kbd
[ 891.494] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 891.494] (EE) No input driver matching `kbd'
[ 891.497] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 891.497] (II) AutoAddDevices is off - not adding device.
[ 891.497] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[ 891.497] (II) AutoAddDevices is off - not adding device.
[ 891.497] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 891.497] (II) AutoAddDevices is off - not adding device.
[ 891.498] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 891.498] (II) AutoAddDevices is off - not adding device.
[ 891.498] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 891.498] (II) AutoAddDevices is off - not adding device.
[ 891.498] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 891.498] (II) AutoAddDevices is off - not adding device.
[ 891.499] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 891.499] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 891.499] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 891.499] setversion 1.4 failed: Permission denied
[ 891.499] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event7)
[ 891.499] (II) AutoAddDevices is off - not adding device.
[ 891.500] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[ 891.500] (II) AutoAddDevices is off - not adding device.
[ 891.500] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event8)
[ 891.500] (II) AutoAddDevices is off - not adding device.
[ 891.501] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event9)
[ 891.501] (II) AutoAddDevices is off - not adding device.
[ 891.501] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
[ 891.501] (II) AutoAddDevices is off - not adding device.
[ 891.501] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
[ 891.501] (II) AutoAddDevices is off - not adding device.
[ 891.502] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
[ 891.502] (II) AutoAddDevices is off - not adding device.
[ 891.502] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[ 891.502] (II) AutoAddDevices is off - not adding device.
[ 891.502] (II) config/udev: Adding input device Lenovo EasyCamera (/dev/input/event16)
[ 891.502] (II) AutoAddDevices is off - not adding device.
[ 891.503] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event10)
[ 891.503] (II) AutoAddDevices is off - not adding device.
[ 891.503] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event6)
[ 891.503] (II) AutoAddDevices is off - not adding device.
[ 891.503] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event17)
[ 891.504] (II) AutoAddDevices is off - not adding device.
[ 891.504] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 891.504] (II) AutoAddDevices is off - not adding device.
[ 891.504] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
[ 891.504] (II) AutoAddDevices is off - not adding device.
[ 892.695] (II) UnloadModule: "mouse"
[ 892.720] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 892.723] (EE) Server terminated successfully (0). Closing log file.
Last edited by Akikyo (2014-07-24 21:04:45)I can't be sure but most of the dota2 output looks "normal" to me (I get the same yet it works fine).
eurotrucks is clearly crashing. You could try to force the resolution it uses in its config files?
Or maybe it's missing a lib (you may need to install 32bit versions):
ldd /path/to/eurotrucks
to see if that's the case. If not, you might have to take it up with the eurotrucks developers.
And you could try using fluxbox/openbox just to see what happens. A lot lighter than KDE.
Have a good look though: https://wiki.archlinux.org/index.php/Steam
and remember to check for missing 32bit libs. -
Problem with wlan sticks module, not able to write to disk any more
Hello everybody,
when I booted my PC today, a strange and some sort of severe problem occurred concerning my wlan stick(s) that I think, I'm not able to solve without your help. I searched for a solution but it didn't seem that somebody else has had a similar problem before.
Here is the description:
I have two wlan sticks (but I do not use both of them nor are they both plugged in at the same time), and both happen to malfunction since today. My "main" stick (used most of the time) is a BigTec Wireless 11N Adapter with a Realtek chipset. My second one (only used to solve problems with the other stick) is a Fritz! WLAN USB Stick (to be used with ndiswrapper).
After bootup, which makes no problems at all, my "main" wlan stick is not able to connect to the network. When I run wicd-curses (I use wicd as network manager), the virtual terminal freezes (when I use urxvt under openbox to run wicd-curses, only the window freezes). After one minute, a message appears that says something about a dbus problem but I am not able to read it because of the screen clears. Then I'm able to use the terminal again, but (and this is the very, very strange about this) when I run any program that tries to write on my disk it stucks, so I can't cancel it with ctrl-c nor can I kill the process. Wicd-curses, ifconfig or iwconfig also crash after entering the command and show the same behavior. At this point, my wlan stick does not show any sign of being plugged in (normally it blinks...).
My second stick makes the computer crash: After a few moments a stacktrace is shown (like when a kernel panic occurs), saying something about "stack being overrun". But I can't find the message in the log files so it is difficult to post it.
When I tried to figure out a solution, I saw in pacman.log, that yesterday udev and hwdetect were updated... But also downgrading all the packages that were updated yesterday did not solve the problem!
I'll post now the last lines of a few logs here (but nothing concerning the ndiswrapper stick, else it would be too disturbing), I hope they help you at helping me!
everything.log
Jan 23 15:25:26 localhost dhcpcd[835]: dhcpcd not running
Jan 23 15:25:27 localhost kernel: [ 21.415035] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
Jan 23 15:25:27 localhost kernel: [ 22.063785] r8712u: 1 RCR=0x153f00e
Jan 23 15:25:27 localhost kernel: [ 22.064534] r8712u: 2 RCR=0x553f00e
Jan 23 15:25:27 localhost kernel: [ 22.170765] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 23 15:25:27 localhost dhcpcd[847]: dhcpcd not running
Jan 23 15:25:28 localhost kernel: [ 22.410354] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
Jan 23 15:25:28 localhost kernel: [ 22.463386] e1000e 0000:00:19.0: irq 41 for MSI/MSI-X
Jan 23 15:25:28 localhost kernel: [ 22.463902] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 23 15:25:28 localhost dhcpcd[854]: dhcpcd not running
Jan 23 15:25:28 localhost kernel: [ 22.735037] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
Jan 23 15:25:29 localhost kernel: [ 23.383789] r8712u: 1 RCR=0x153f00e
Jan 23 15:25:29 localhost kernel: [ 23.384535] r8712u: 2 RCR=0x553f00e
Jan 23 15:25:29 localhost kernel: [ 23.490763] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 23 15:26:11 localhost dhcpcd[1382]: dhcpcd not running
Jan 23 15:26:12 localhost kernel: [ 66.495307] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin" # then I hard reset because of the freeze
errors.log
Jan 23 15:00:01 localhost /USR/SBIN/CROND[5597]: (CRON) EXEC FAILED (/usr/sbin/sendmail): No such file or directory
Jan 23 15:20:01 localhost /USR/SBIN/CROND[6215]: (CRON) EXEC FAILED (/usr/sbin/sendmail): No such file or directory
Jan 23 15:25:26 localhost dhcpcd[835]: dhcpcd not running
Jan 23 15:25:27 localhost dhcpcd[847]: dhcpcd not running
Jan 23 15:25:28 localhost dhcpcd[854]: dhcpcd not running
Jan 23 15:26:11 localhost dhcpcd[1382]: dhcpcd not running # then I hard reset because of the freeze
daemon.log
Jan 23 15:25:15 localhost [ 0.864888] udevd[48]: starting version 175
Jan 23 15:25:15 localhost [ 4.116488] udevd[235]: starting version 178
Jan 23 15:25:26 localhost dhcpcd[835]: dhcpcd not running
Jan 23 15:25:27 localhost dhcpcd[847]: dhcpcd not running
Jan 23 15:25:28 localhost dhcpcd[854]: dhcpcd not running
Jan 23 15:26:11 localhost dhcpcd[1382]: dhcpcd not running # then I hard reset because of the freeze
I hope you can help me and thank you for trying
hoeffl
P.S.: Excuse all the mistakes I made because of being new here, please!This seems to be a problem with r8712u on all 3.2.x and 3.3-rc kernels on all distros. I've had it for weeks on Gentoo, Arch, and several other distros.
If you are running a 3.2.x kernel, this is almost definitely the problem. All 3.1 kernels don't do this.
I posted a temporary work-around on the Arch bugzilla, and Larry Finger (kernel dev with wireless) is currently working on it (a patch).
In the meantime, If you compile your own kernels, you can get 3.2.x's to work normally- see my comment here for more details. https://bugs.archlinux.org/task/27996
Top of page doesn't say r8712u, but it's the same problem, and after the first 2-3 comments it deals with r8712u specifically.
There is also info on the Gentoo forum 3.2 kernel quirks thread, towards the bottom of Page 1: http://forums.gentoo.org/viewtopic-t-901702.html
Last edited by wrc1944 (2012-02-03 07:45:32) -
Hi,<br>
i have problems with my MI and DB2e.<br>
I installed database DB2e but i cannot do that this work.<br><br>
My configuration is:<br>
Mobile Infrastructure version: MI 70 SP 16 Patch 0<br>
DB2e 9.1.2 <br><br>
When i want to access to the application, i getting the following error:<br><br>
Error: 500<br>
Localizacion: /XMAU/home/home_mgmt.do<br>
Error interno del servlet:<br><br>
java.lang.NullPointerException<br>
at com.sap.mbs.mam.bo.impl.Mam090ManagerImpl.getMam090s(Unknown Source)<br>
at com.sap.mbs.mam.cstm.process.impl.UserCustomCache.getUserCustomizing(Unknown Source)<br>
at com.sap.mbs.mam.cstm.process.impl.UserCustomProcessImpl.getUserCustomizing(Unknown Source)<br>
at com.sap.mbs.mam.cstm.process.impl.GenericCustomCache.getMamScenario(Unknown Source)<br>
at com.sap.mbs.mam.cstm.process.impl.GenericCustomCache.getDeviceSettingsProfile(Unknown Source)<br>
at com.sap.mbs.mam.cstm.util.DateTimeUtils.getDeviceSettingsProfile(Unknown Source)<br>
at com.sap.mbs.mam.cstm.util.DateTimeUtils.getDateFormat(Unknown Source)<br>
at com.sap.mbs.mau.application.impl.MauApplicationImpl.init(Unknown Source)<br>
at com.sap.mbs.mam.application.web.FrontServlet.init(Unknown Source)<br>
at com.sap.mbs.mau.application.web.FrontServlet.init(Unknown Source)<br>
at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)<br>
at org.apache.tomcat.core.Handler.init(Handler.java:215)<br>
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)<br>
at org.apache.tomcat.core.Handler.service(Handler.java:254)<br>
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)<br>
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)<br>
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)<br>
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)<br>
at mam_0005fstart._jspService(Unknown Source)<br>
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)<br>
at org.apache.tomcat.core.Handler.service(Handler.java:287)<br>
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)<br>
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)<br>
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)<br>
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)<br>
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)<br>
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)<br>
at java.lang.Thread.run(Unknown Source)<br><br>
and in the trace log, i'm getting the following message:<br><br>
[20100316 13:57:36:792] D [MI/API/Services ] CREATED MEPropertyResourceBundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@111bfbc for bundleName: MAUText with Locale: _es <br>
[20100316 13:57:36:792] D [MI/API/Services ] CREATED parent MEPropertyResourceBundle for child bundle: com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@111bfbc using bundle name: MAUText <br>
[20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(ZMAMText, es_AR, com.sap.ip.me.core.Startup@9664a1) <br>
[20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1 <br>
[20100316 13:57:36:792] W [AppLog/MI/API/Services ] cannot find resource bundle ZMAMText_es_AR <br>
[20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(ZMAUText, es_AR, com.sap.ip.me.core.Startup@9664a1) <br>
[20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1 <br>
[20100316 13:57:36:792] W [AppLog/MI/API/Services ] cannot find resource bundle ZMAUText_es_AR <br>
[20100316 13:57:36:792] D [Unknown ] FrontServlet:setResourceBundle() done. <br>
[20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle((null), es_AR, (null)) <br>
[20100316 13:57:36:792] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader com.sap.ip.me.core.Startup@9664a1 <br>
[20100316 13:57:36:792] I [MI/API/Services ] Cannot find resource key LIST_TAG_TOTAL within MAUText <br>
[20100316 13:57:36:792] I [MI/API/Services ] Cannot find resource key LIST_TAG_PAGE within MAUText <br>
[20100316 13:58:11:215] D [MI/Core ] Deactivated application XMAU <br>
[20100316 13:58:11:215] P [MI/Core ] Set current MSD to Name: / MOBILEENGINE_JSP (V. 70160), Target=, Type=com.sap.ip.me.core.FrameworkApplicationType <br>
[20100316 13:58:11:215] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP' <br><br>
Someone can i help me?<br>
Thanks for your help.<br>I can't be sure but most of the dota2 output looks "normal" to me (I get the same yet it works fine).
eurotrucks is clearly crashing. You could try to force the resolution it uses in its config files?
Or maybe it's missing a lib (you may need to install 32bit versions):
ldd /path/to/eurotrucks
to see if that's the case. If not, you might have to take it up with the eurotrucks developers.
And you could try using fluxbox/openbox just to see what happens. A lot lighter than KDE.
Have a good look though: https://wiki.archlinux.org/index.php/Steam
and remember to check for missing 32bit libs. -
Problem with Gourmet Recipe Manager and Python
Hi everyone.
I am using Arch with openbox. I've installed gourmet from the repository, but unfortunately it doesn't work. Python is installed, too. When I start gourmet I get a lot of error messages:
[mario@krynn ~]$ gourmet
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
WARNING: Plugin module import failed
PATH: ['/usr/bin', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages/gst-0.10', '/usr/lib/python2.6/site-packages/gtk-2.0', '/usr/share/gourmet', '/usr/lib/python2.6/site-packages/gourmet/plugins', '/usr/lib/python2.6/site-packages/gourmet/plugins/import_export', '/usr/share/gourmet/']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/gourmet/plugin_loader.py", line 243, in get_module
self._loaded = __import__(self.module)
File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/pdf_plugin/__init__.py", line 1, in <module>
import pdf_exporter_plugin,print_plugin
File "/usr/lib/python2.6/site-packages/gourmet/plugins/import_export/pdf_plugin/print_plugin.py", line 4, in <module>
import poppler
ImportError: No module named poppler
WARNING: Failed to load plugin pdf_plugin
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/gourmet/plugin_loader.py", line 93, in load_active_plugins
self.active_plugins.extend(self.available_plugin_sets[p].plugins)
File "/usr/lib/python2.6/site-packages/gourmet/plugin_loader.py", line 256, in __getattr__
if attr == 'plugins': return self.get_plugins()
File "/usr/lib/python2.6/site-packages/gourmet/plugin_loader.py", line 262, in get_plugins
return self.get_module().plugins
AttributeError: 'NoneType' object has no attribute 'plugins'
/usr/lib/python2.6/site-packages/gourmet/backends/db.py:294: SADeprecationWarning: The Binary type has been renamed to LargeBinary.
Column('image',Binary(),**{}),
/usr/lib/python2.6/site-packages/gourmet/backends/db.py:295: SADeprecationWarning: The Binary type has been renamed to LargeBinary.
Column('thumb',Binary(),**{}),
/usr/lib/python2.6/site-packages/gourmet/gtk_extras/mnemonic_manager.py:312: GtkWarning: Invalid input string
widget.set_text_with_mnemonic(txt[0:index] + '_' + txt[index:])
/usr/lib/python2.6/site-packages/gourmet/GourmetRecipeManager.py:1011: GtkWarning: Invalid input string
self.main.add(self.main_notebook)
Gourmet starts but I can't create a new recipe. I've already tried to change the first line in /usr/bin/gourmet to
#!/usr/bin/python2.6
but it doesn't make any difference. Does anyone know what to do.
Thanks, mario.I'm experiencing the same issues with Arch and Openbox using gourmet and gourmet-dev. Sorry I don't have anything to add. I installed python-poppler from AUR and that got rid of the errors on startup, but when trying to create a new recipe I get
[mbynum@m1330 ~]$ gourmet
Problem adding recipe with dictionary...
KEY: deleted of type <type 'str'> VALUE: False of type <type 'bool'>
KEY: last_modified of type <type 'str'> VALUE: 1286338412.47 of type <type 'float'>
KEY: title of type <type 'str'> VALUE: New Recipe of type <type 'unicode'>
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/gourmet/GourmetRecipeManager.py", line 1132, in show
rc=reccard.RecCard(self)
File "/usr/lib/python2.6/site-packages/gourmet/reccard.py", line 69, in __init__
recipe = self.rg.rd.new_rec()
File "/usr/lib/python2.6/site-packages/gourmet/backends/db.py", line 1416, in new_rec
return self.add_rec(blankdict)
File "/usr/lib/python2.6/site-packages/gourmet/backends/db.py", line 1179, in add_rec
ret = self.do_add_rec(dic)
File "/usr/lib/python2.6/site-packages/gourmet/backends/db.py", line 1304, in do_add_rec
select = self.recipe_table.select(self.recipe_table.c.id==insert_statement.execute(**rdict).lastrowid)
File "/usr/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 2310, in lastrowid
return self.cursor.lastrowid
AttributeError: 'NoneType' object has no attribute 'lastrowid'
I don't know any python, so I'm not sure what these errors are pointing to. Hopefully someone else can give us some insight. -
[SOLVED] Screenlets with Openbox
I have looked at 2 post on these forums and no responses were made. Just wanted to check if ATM anyone has managed to run screenlets (http://www.screenlets.org/index.php/Home) with Openbox without any problems.
Cheers,
molom
Last edited by molom (2008-10-02 13:29:31)Then problem solved!
I think I have to stop posting questions, these questions should be solved by me trying them out myself.
Cheers,
molom -
Strange problem with desktop applications randomly freezing
Hi guys,
Over the past two weeks I've noticed that a few, very specific applications, have been crashing horrifically for me. Specifically, they're Firefox, Chromium and Eclipse and anything else powered by Java as well. I found the Eclipse issue people talked about on here regarding the upgrade to Xulrunner, but they only partially fix my problem.
What happens is the applications will randomly freeze, completely. The gui locks up and the window becomes a grey box, and the only way I can get rid of the window is with kill -9.
I've tried figuring out what's wrong, but honestly I have no idea. I'm running 32bit Arch, with a Nvidia 8800GTX card on the official binary drivers, using Openbox. Everything as of the time of this post is up to date throug Pacman.
Also, with the amount of problems I'm seeing on Gnome3 in here, what about creating a temporary sub-forum to hold them all? It would certainly tidy this one up a lot.My system has started "freezing". Actually, usually when I'm browsing the net, Chromium stops loading pages. Conky stops updating, and usually I can't switch to another programs. I can't start xkill from menu, menu opens but nothing starts. If I run "ls" etc in Terminal, nothing happens
I can however control+alt+F1 to CLI, but if I try to login nothing happens.If doesn't help even if I kill X (I started it with startx). And if I don't kill X, I can't go back from CLI with control+alt+F7, there's just a black screen.
I'm using Nvidia drivers also, and XFCE4. This started happening some time ago, I think I was using Gnome2 back then. And I have updated my system, and this has happened at least with 3 kernel versions. There's nothing on logs. Well, actually, there's "TCP: Possible SYN flooding on port 6881. Sending cookies" errors on everything.log. But those don't happen when system freezes. And sometimes Chromium stops loading pages but other programs don't freeze, I think it's a problem with cache or something.
Not really sure if this everything happens because of Chromium. I think I'm gonna switch back to Firefox and see what happens. Usually I'm running Chromium, Opera (use it just for a couple of pages), couple of Terminals and Kaffeine. -
I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
Thank you in advance,
LeftyThis was one solution from the socket programming forum, have you tried this??
public Thread MyThread extends Thread{
boolean active = true;
public void run(){
ss.setSoTimeout(90);
while (active){
try{
serverSocket = ss.accept();
catch (SocketTimeoutException ste){
// do nothing
// interrupt thread
public void deactivate(){
active = false;
// you gotta sleep for a time longer than the
// accept() timeout to make sure that timeout is finished.
try{
sleep(91);
}catch (InterruptedException ie){
interrupt();
} -
Problem with Threads and a static variable
I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
Code functionality:
A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
The problem as far I understand is:
Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
Thanks,
B.D.
Code:
private static volatile boolean bChanged = false;
private static Thread objMainProcess;
protected static void Init(){
objMainProcess = new Thread() {
public void run() {
while( objMainProcess == Thread.currentThread() ) {
GetState();
objMainProcess.setDaemon( true );
objMainProcess.start();
public static void initStatusTimer(){
if(objTimer == null)
objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
public void actionPerformed( java.awt.event.ActionEvent evt){
SetState();
private static void SetState(){
if( objMainProcess == null ) return;
synchronized( objMainProcess ) {
bChanged = true;
try{
objMainProcess.notify();
}catch( IllegalMonitorStateException e ) {}
private static boolean GetState() {
if( objMainProcess == null ) return false;
synchronized( objMainProcess ) {
if( bChanged) {
SendMessage();
bChanged = false;
return true;
try {
objMainProcess.wait();
}catch( InterruptedException e ) {}
return false;
}Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
Again as you said, There is a reason I can't call sendMessage() inside setState().
The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
Thanks,
B.D. -
Problem with threads running javaw
Hi,
Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
troy.troy,
Try and post a minimum code sample of your app which
does not work.
When using javaw, make sure you redirect the standard
error and standard output streams to file.
Graeme.Hi Graeme,
I dont understand what you mean by redirection to file? some of my code below.
The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
public class Server{
ServerSocket aServerSocket;
Socket dianosticsSocket;
Socket nPortExpress;
ClientListener aClientListener;
LinkedList queue = new LinkedList();
int port = 0;
int clientPort = 0;
String clientName = null;
boolean serverAlive = true;
* Server constructor generates a server
* Socket and then starts a client threads.
* @param aPort socket port of local machine.
public Server(int aPort, String aClientName, int aClientPort){
port = aPort;
clientName = aClientName;
clientPort = aClientPort;
try{
// create a new thread
aServerSocket = new ServerSocket(port) ;
// connect to the nPortExpress
aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
// aClientListener.setDaemon(true);
aClientListener.start();
// start a dianostic port
DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
// System.out.println("Server is running on port " + port + "...");
// System.out.println("Connect to nPort");
catch(Exception e)
// System.out.println("ERROR: Server port " + port + " not available");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
serverAlive = false;
System.exit(1);
while(serverAlive&&aClientListener.hostSocket.isConnected()){
try{
// connect the client
Socket aClient = aServerSocket.accept();
//System.out.println("open client connection");
//System.out.println("client local: "+ aClient.getLocalAddress().toString());
// System.out.println("client localport: "+ aClient.getLocalPort());
// System.out.println("client : "+ aClient.getInetAddress().toString());
// System.out.println("client port: "+ aClient.getLocalPort());
// make a new client thread
ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
// start thread
clientThread.start();
catch(Exception e)
//System.out.println("ERROR: Client connection failure");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
}// end while
} // end constructor Server
void serverExit(){
JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
System.exit(1);
}// end class Server
*** connect to another server
public class ClientListener extends Thread{
InetAddress hostName;
int hostPort;
Socket hostSocket;
BufferedReader in;
PrintWriter out;
boolean loggedIn;
LinkedList queue; // reference to Server queue
Server serverRef; // reference to main server
* ClientListener connects to the host server.
* @param aHostName is the name of the host eg server name or IP address.
* @param aHostPort is a port number of the host.
* @param aLoginName is the users login name.
public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer) // reference to Server queue)
hostName = aHostName;
hostPort = aHostPort;
queue = aQueue;
serverRef = aServer;
// connect to the server
try{
hostSocket = new Socket(hostName, hostPort);
catch(IOException e){
//System.out.println("ERROR: Connection Host Failed");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);
System.exit(0);
} // end constructor ClientListener
** multi client connection server
ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
queue = aQueue;
addToQueue(this);
client = aSocket;
clientRef = aClientListener;
aDiagnostic = diagnostics;
} // end constructor ClientWorker
* run method is the main loop of the server program
* in change of handle new client connection as well
* as handle all messages and errors.
public void run(){
boolean alive = true;
String aSubString = "";
in = null;
out = null;
loginName = "";
loggedIn = false;
while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
try{
in = new BufferedReader(new InputStreamReader(client.getInputStream()));
out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
if(aDiagnostic){
out.println("WELCOME to diagnostics");
broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
out.flush();
else {
out.println("WELCOME to Troy's Server");
broadCastDia("Connect : client "+client.getInetAddress().toString());
out.flush();
String line;
while(((line = in.readLine())!= null)){
StringTokenizer aStringToken = new StringTokenizer(line, " ");
if(!aDiagnostic){
broadCastDia(line);
clientRef.sendMessage(line); // send mesage out to netExpress
out.println(line);
out.flush();
else{
if(line.equals("GETIPS"))
getIPs();
else{
clientRef.sendMessage(line); // send mesage out to netExpress
out.println(line);
out.flush();
} // end while
catch(Exception e){
// System.out.println("ERROR:Client Connection reset");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);
try{
if(aDiagnostic){
broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
out.flush();
else {
broadCastDia("Disconnect : client "+client.getInetAddress().toString());
out.flush();
// close the buffers and connection;
in.close();
out.close();
client.close();
// System.out.println("out");
// remove from list
removeThreadQueue(this);
alive = false;
catch(Exception e){
// System.out.println("ERROR: Client Connection reset failure");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);
}// end while
} // end method run
* method run - Generates io stream for communicating with the server and
* starts the client gui. Run also parses the input commands from the server.
public void run(){
boolean alive = true;
try{
// begin to life the gui
// aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
// aGuiClient.show();
in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
while (alive && hostSocket.isConnected()){
String line;
while(((line = in.readLine())!= null)){
System.out.println(line);
broadCast(line);
} // end while
} // end while
catch(Exception e){
// System.out.println("ERRORa Connection to host reset");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
try{
hostSocket.close();
}catch(Exception a){
JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
alive = false;
System.exit(1);
} // end method run -
Problem with threads and camera.
Hi everybody!
I've a problem with taking snapshot.
I would like to display a loading screen after it take snapshot ( sometimes i
have to wait few seconds after i took snapshot. Propably photo is being taken in time where i have to wait).
I was trying to use threads but i didn't succeed.
I made this code:
display.setCurrent(perform);
new Thread(new Runnable(){
public void run() {
while((!performing.isShown()) && (backgroundCamera.isShown())){
Thread.yield();
notifyAll();
}).start();
new Thread(new Runnable(){
public void run() {
try {
this.wait();
} catch(Exception e) {
exceptionHandler(e);
photo = camera.snapshot();
display.setCurrent(displayPhoto);
}).start();This code is sometimes showing performing screen but sometimes no.
I don't know why. In my opinion performing.isShown() method isn't working correctly.
Does anyone have some idea how to use threads here?Hi,
I've finally managed to work this fine.
The code:
Object o = new Object();
display.setCurrent(perform);
new Thread(new Runnable(){
public void run() {
while(!performing.isShown()){
Thread.yield();
synchronized(o) {
o.notify();
}).start();
new Thread(new Runnable(){
public void run() {
try {
synchronized(o) {
o.wait(1);
} catch(Exception e) {
exceptionHandler(e);
photo = camera.snapshot();
display.setCurrent(displayPhoto);
}).start(); -
We have a problem where our application stops responding after a few days of usage. Things will for fine for a day or two, and then pretty quickly threads will start getting hung up, usually in places where they are allocating memory
We are running WebLogic 8.1 SP2 on Sun JDK 1.4.2_04 on Solaris 8 using the alternate threading model and the -server hotspot vm. We are running pretty much the same code that we had no problems with under WebLogic 6.1 SP4 and Sun JDK 1.3.1.
A thread dump usually shows that some or all of our execute threads are in the state "waiting for monitor entry" even though they are not currently waiting on any java locks. Here is a sample thread from the thread dump (we have ~120 threads so I don't want to post the full dump).
=============================================================================================
"ExecuteThread: '8' for queue: 'itgCrmWarExecutionQueue'" daemon prio=5 tid=0x005941d0 nid=0x2c waiting for monitor entry [c807f000..c807fc28]
at java.lang.String.substring(String.java:1446)
at java.lang.String.substring(String.java:1411)
at weblogic.servlet.internal.ServletRequestImpl.getRelativeUri(ServletRequestImpl.java:1872)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3492)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
=============================================================================================
String.java line 1446 for this jdk allocates a new String object, and all the other threads in this state also are creating new objects or arrays, etc.
We've done a pstack on this process when it's in this state, and the threads that are in the "waiting for monitor entry" that look like they're allocating memory are all waiting on the same lwp_mutex_lock with some allocation method that's calling into the native TwoGenerationCollectorPolicy.mem_allocate_work (see pstack output below for the same thread as in the thread dump above)
=============================================================================================
----------------- lwp# 44 / thread# 44 --------------------
ff31f364 lwp_mutex_lock (e3d70)
fee92384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
fee324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (c807f65c, c807f7d4, 5941d0, 0, 35d654, fee328ec) + 68
fee32954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (c807f7d4, ff170000, d4680000, 4491d4, fee1bc2c,
0) + 78
fee3167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (c807f7bc, 4400, ff170000, 2d2b8, 4a6268, c807fa18) + 38
fee2e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (c807f7bc, 963a8, 0, 0, 1, 0) + 90
fed2c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (962c0, ff1c29ec, ff1c297c, ff131a26, 4800, 4998) + 160
fed22940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (ee009020, 5941d0, 15ca581, 3647f0, 4a6268, c807f8c8) + 180
fed34928 __1cLOptoRuntimeFnew_C6FpnMklassOopDesc_pnKJavaThread__v_ (ee009018, 5941d0, 0, 0, 0, 0) + 28
fa435a58 ???????? (ee009018, e86de, 15ca4de, 50dc, 5941d0, c807f9c8)
fb36f9a4 ???????? (0, d412ccd8, ee046c28, ff170000, 0, 0)
fad8b278 ???????? (ee046c28, d6000c90, ee046530, 8, db8e8450, c807f9e8)
fad62abc ???????? (d412ccd8, ee046530, d6000c90, ee3bfa38, 8, c807fa18)
fa4b3c38 ???????? (c807fb9c, 0, f2134700, fa415e50, 8, c807faa8)
fa40010c ???????? (c807fc28, c807fe90, a, ee9e1e20, 4, c807fb40)
fed5d48c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (c807fe88, c807fcf0, c807fda8, 5941d0, 5941d0, c807fd00) + 27c
fee4b784 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (ff170000, 594778, c807fd9c, c807fd98, c807fda8, 5941d0) + 164
fee5e8dc __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (c807fe88, c807fe84, c807fe7c, c807fe74, c807fe6c, 5941d0) + 6c
fee6fc74 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (5941d0, 5941d0, 838588, 594778, 306d10, fee69254) + 128
fee6927c __1cKJavaThreadDrun6M_v_ (5941d0, 2c, 40, 0, 40, 0) + 284
fee6575c _start (5941d0, fa1a1600, 0, 0, 0, 0) + 134
ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
=============================================================================================
Also when it's having this problem, the "VM Thread" is always using a lot of processor time. We did a couple of pstacks today while it was having this problem, and this thread was stuck in the ONMethodSweeper.sweep for over 15 minutes when we finally killed the server.
From the thread dump:
"VM Thread" prio=5 tid=0x000e2d20 nid=0x2 runnable
From the first pstack:
=============================================================================================
----------------- lwp# 2 / thread# 2 --------------------
fed40c04 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (42a2f4, fa5fa46d, ffffffff, fc4ffcb8, 42a2f4, 42a324) + 124
fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (42a2f0, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (fa5f7f88, fa608940, 1, 0, fa400000, 6) + 1ac
fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
fee6575c _start (e2d20, ff270200, 0, 0, 0, 0) + 134
ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
=============================================================================================
Second pstack
=============================================================================================
----------------- lwp# 2 / thread# 2 --------------------
fed41180 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (0, ff1b9664, ffffffff, fc4ffcb8, a6f2cc, fc4ffbd0) + 6a0
fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (a6f2c8, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (faded4c8, fadf2c80, 1, 0, fa400000, 6) + 1ac
fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
fee6575c _start (e2d20, ff270200, 0, 0, 0, 0) + 134
ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
=============================================================================================
Has anyone ever seen anything like this? I'm trying to figure out if this is caused by something we're doing, or something relating to our environment and jvm options. Any ideas?Thanks for the reply - I'm testing our app with the +UseConcMarkSweepGC now in our test environment to make sure it doesn't cause any problems there. Unfortunately the only place we've had this problem is on the production server, so it's extra difficult debugging this.
We're using the following memory options:
-ms512m -mx512m -XX:NewSize=128m -XX:PermSize=192m -XX:MaxNewSize=128m -XX:MaxPermSize=192m -XX:SurvivorRatio=8and the following debugging options, as we've also been seeing OutOfMemoryErrors ( see http://forum.java.sun.com/thread.jsp?forum=37&thread=522354&tstart=45&trange=15 )
-verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGCBTW, which c++filt version and options are you using? Our Solaris boxes only seem to have the GNU version installed. I was trying to run that on some of the other stack traces and wasn't getting anywhere, and didn't know if because it was GNU version wouldn't work on something compiled with the Sun compiler.
Thanks!
--Andy
Maybe you are looking for
-
How much are early termination fees? I have 4 lines, 3 of which expire 10-2015 and 1 in Dec 2014. Is there any creative ways to get out????
-
SAP XL Reporter for SAP R/3 ?
Hi Experts, SAP XL Reporter is an add-on provided by SAP only for SAP Business one? Doesn't it work for SAP R/3? Is there anyway to use SAP XL Reporter in R/3 also? If so, pls let me know. Regards, Ravi
-
Please help with a Poster Frame
I have imported an FLV into Flash using "Video Import" and selected a prebuilt skin that gives play, volume and caption control. The movie has autoplay turned off so when I viewed on the webpage it shows a black first screen and the skin beneath it.
-
Import package Out of Memory.
HI,all I'm having a problem importing a package from one enviroment to another, it gives me Out Of Memory. It's a package the hasn't been update in more then a year of executions. I've already tried to increase the Max heap size in the odiparam. The
-
How do I transfer photos in an email to the photos app on an iPhone ?
I have an iPhone 4S. A relative sent a few files of family photos by email. How do I transfer the photos to the iPhone photos app?