SIGSEGV - maybe RMI related
Hi all,
Sorry for the not-quite-cross-post.
I'm having problems with a JVM crash which looks like it might be RMI related. Rather than cross-post, the original thread is here:
http://forum.java.sun.com/thread.jspa?threadID=5238997
Thanks!
we have already created a registry with the default rmi port
try
java.rmi.registry.Registry reg = null;
reg = java.rmi.registry.LocateRegistry.createRegistry(1099);
reg.rebind("rbe",this); //binding error
}catch(Exception e)
throw new AlreadyBoundException("Port Already bound " + e.getMessage());
}
Similar Messages
-
SIGSEGV in socket accept native code (possibly RMI related)
Hi,
We've been having this problem for a while on a 1.4.2 VM (don't recall the exact version), so we upgraded to 1.5.0_03 and it got slightly worse... so we upgraded to 1.5.0_09 and it got much worse. Unfortunately, this is the latest version of the JVM that's packaged/authorised in my organisation so trying later versions isn't possible.
The problem is a Signal 11 (SIGSEGV) fault during JVM shutdown which appears to be caused by a bug in the native socket accept code. The problem seems to be exhibited by some RMI related code. This client uses RMI to talk to a server, but (as far as I know - it's using a third party closed-source library) it doesn't export any RMI objects of its own, so I'm a bit baffled why there's an RMI TCP Accept thread at all.
We've googled every conceivable combination of useful-looking terms (including Java_java_net_PlainSocketImpl_socketAccept (with and without the offset), bits of the stack trace, PC addresses, thread names, etc.) and we can turn up one or two things that look like they're related, but really nothing that appears hugely significant.
Basically, we're really stuck with this and it's a production problem so it's causing us a lot of pain. If anybody out there has the faintest clue, we'd really appreciate it.
Thanks.
====uname -a=====
(Hostname changed)
Linux host.domain.blah.com 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:13:01 EST 2006 i686 athlon i386 GNU/Linux
====hs thing log file====
(NOTE: Some of the information in here has been obfuscated for commercial sensitivity, but I don't think any of it is relevant)
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xb789bb79, pid=30978, tid=2638416816
# Java VM: Java HotSpot(TM) Server VM (1.5.0_09-b01 mixed mode)
# Problematic frame:
# V [libjvm.so+0x284b79]
--------------- T H R E A D ---------------
Current thread (0x08ae81a0): JavaThread "RMI TCP Accept-0" daemon [_thread_in_vm, id=14935]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
Registers:
EAX=0x00000000, EBX=0xb7bcfe50, ECX=0x00000002, EDX=0x00000ffc
ESP=0x9d42ff2c, EBP=0x9d42ff64, ESI=0x08ae81a0, EDI=0x00000008
EIP=0xb789bb79, CR2=0x00000000, EFLAGS=0x00010213
Top of Stack: (sp=0x9d42ff2c)
0x9d42ff2c: 08ae81a0 08ae8260 9d42ff64 9e4e04af
0x9d42ff3c: 08ae81a0 0a5eec84 00000052 00000001
0x9d42ff4c: 00000001 9d42ffb4 9e4e02bb 9e4e5184
0x9d42ff5c: 0a5eec84 0000000b 9d42ffe4 9e4df306
0x9d42ff6c: 08ae8260 00000000 00000022 0000000b
0x9d42ff7c: 08ae81a0 afde6cb8 9d42ffc4 9d42ffac
0x9d42ff8c: 9d42ffa8 00000010 00000000 00000000
0x9d42ff9c: b7a3f669 00000000 0000c2ff 0000001c
Instructions: (pc=0xb789bb79)
0xb789bb69: 00 00 00 06 00 00 00 8b 45 0c 8b 7d 10 c1 ef 02
0xb789bb79: 8b 10 8b 83 5c 13 00 00 8b 00 8b 4a 04 85 c0 0f
Stack: [0x9d3b0000,0x9d431000), sp=0x9d42ff2c, free space=511k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x284b79]
C [libnet.so+0xb306] Java_java_net_PlainSocketImpl_socketAccept+0x276
j java.net.PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V+0
j java.net.PlainSocketImpl.accept(Ljava/net/SocketImpl;)V+7
j java.net.ServerSocket.implAccept(Ljava/net/Socket;)V+50
j java.net.ServerSocket.accept()Ljava/net/Socket;+48
j sun.rmi.transport.tcp.TCPTransport.run()V+59
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x266eec]
V [libjvm.so+0x42da88]
V [libjvm.so+0x266745]
V [libjvm.so+0x2667de]
V [libjvm.so+0x2ddf75]
V [libjvm.so+0x4cdb13]
V [libjvm.so+0x42e698]
C [libpthread.so.0+0x5341]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.net.PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V+0
j java.net.PlainSocketImpl.accept(Ljava/net/SocketImpl;)V+7
j java.net.ServerSocket.implAccept(Ljava/net/Socket;)V+50
j java.net.ServerSocket.accept()Ljava/net/Socket;+48
j sun.rmi.transport.tcp.TCPTransport.run()V+59
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x09274f88 JavaThread "RMI ConnectionExpiration-[10.72.14.39:40107]" daemon [_thread_blocked, id=11989]
0x08c9cc20 JavaThread "RMI ConnectionExpiration-[10.72.14.40:40107]" daemon [_thread_blocked, id=11983]
0x0903aec8 JavaThread "RMI ConnectionExpiration-[10.72.14.40:40112]" daemon [_thread_blocked, id=11982]
0x08fbc518 JavaThread "RMI ConnectionExpiration-[10.72.14.44:40113]" daemon [_thread_blocked, id=11981]
0x0813ceb8 JavaThread "RMI ConnectionExpiration-[10.72.13.183:40113]" daemon [_thread_blocked, id=11980]
0x08a6e7f0 JavaThread "RMI ConnectionExpiration-[10.72.14.40:40110]" daemon [_thread_blocked, id=11979]
0x08ee22f0 JavaThread "RMI ConnectionExpiration-[10.72.14.44:40109]" daemon [_thread_blocked, id=11978]
0x090c0ef0 JavaThread "RMI ConnectionExpiration-[10.72.14.39:40118]" daemon [_thread_blocked, id=11977]
0x091fdfb0 JavaThread "RMI ConnectionExpiration-[10.72.13.183:40109]" daemon [_thread_blocked, id=11976]
0x087dd5a0 JavaThread "RMI ConnectionExpiration-[10.72.14.39:40110]" daemon [_thread_blocked, id=10595]
0x091fe340 JavaThread "RMI RenewClean-[10.72.14.39:40110]" daemon [_thread_blocked, id=10594]
0x08e70220 JavaThread "RMI ConnectionExpiration-[10.72.14.39:53973,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=10593]
0x087de380 JavaThread "RMI RenewClean-[10.72.14.39:53973,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=10353]
0x092832e0 JavaThread "RMI RenewClean-[10.72.13.183:40109]" daemon [_thread_blocked, id=10346]
0x085c2710 JavaThread "RMI RenewClean-[10.72.13.183:40248,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=10336]
0x08a470a0 JavaThread "RMI ConnectionExpiration-[10.72.14.39:40114]" daemon [_thread_blocked, id=10327]
0x09471ca8 JavaThread "RMI RenewClean-[10.72.14.39:40114]" daemon [_thread_blocked, id=10326]
0x08e10e78 JavaThread "RMI ConnectionExpiration-[10.72.14.39:54045,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=10325]
0x08dc22b8 JavaThread "RMI ConnectionExpiration-[10.72.14.39:40112]" daemon [_thread_blocked, id=10178]
0x08dc1ae0 JavaThread "RMI RenewClean-[10.72.14.39:40112]" daemon [_thread_blocked, id=10177]
0x08dc64b8 JavaThread "RMI ConnectionExpiration-[10.72.14.39:54006,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=10176]
0x08e6ac08 JavaThread "RMI RenewClean-[10.72.14.39:54006,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=10146]
0x087d94f8 JavaThread "RMI ConnectionExpiration-[10.72.13.183:40111]" daemon [_thread_blocked, id=9948]
0x087d8df8 JavaThread "RMI RenewClean-[10.72.13.183:40111]" daemon [_thread_blocked, id=9947]
0x085c30e8 JavaThread "RMI RenewClean-[10.72.13.183:40278,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=9945]
0x085c3bb0 JavaThread "RMI ConnectionExpiration-[10.72.14.44:40111]" daemon [_thread_blocked, id=8815]
0x085c1c08 JavaThread "RMI RenewClean-[10.72.14.44:40111]" daemon [_thread_blocked, id=8432]
0x085c4940 JavaThread "RMI ConnectionExpiration-[10.72.14.44:33150,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=8241]
0x085c3f10 JavaThread "RMI RenewClean-[10.72.14.44:33150,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=8219]
0x085bee18 JavaThread "RMI ConnectionExpiration-[10.72.14.39:40116]" daemon [_thread_blocked, id=8106]
0x085be388 JavaThread "RMI RenewClean-[10.72.14.39:40116]" daemon [_thread_blocked, id=8105]
0x08e15b68 JavaThread "RMI ConnectionExpiration-[10.72.14.39:54066,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=7006]
0x085bd3b0 JavaThread "RMI RenewClean-[10.72.14.39:54066,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=6696]
0x08e152c8 JavaThread "RMI RenewClean-[10.72.14.39:40118]" daemon [_thread_blocked, id=6524]
0x08a45098 JavaThread "RMI RenewClean-[10.72.14.39:54088,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=5775]
0x09472c60 JavaThread "RMI RenewClean-[10.72.14.44:40109]" daemon [_thread_blocked, id=5771]
0x09474e00 JavaThread "RMI RenewClean-[10.72.14.44:33127,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=5769]
0x08dc1428 JavaThread "RMI RenewClean-[10.72.14.40:40110]" daemon [_thread_blocked, id=5765]
0x08dc5758 JavaThread "RMI RenewClean-[10.72.14.40:42086,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=5763]
0x092846f0 JavaThread "RMI RenewClean-[10.72.13.183:40113]" daemon [_thread_blocked, id=5759]
0x08b6cc00 JavaThread "RMI RenewClean-[10.72.13.183:40295,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=5757]
0x08b72058 JavaThread "RMI RenewClean-[10.72.14.44:40113]" daemon [_thread_blocked, id=5745]
0x08b712a0 JavaThread "RMI RenewClean-[10.72.14.44:33186,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=5726]
0x0a7339b0 JavaThread "RMI RenewClean-[10.72.14.40:40112]" daemon [_thread_blocked, id=5722]
0x08ad4d58 JavaThread "RMI RenewClean-[10.72.14.40:42110,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=5720]
0x08fbe770 JavaThread "Scheduler" daemon [_thread_blocked, id=5719]
0x0997a398 JavaThread "RMI RenewClean-[10.72.14.39:54045,com.commerciallysensitive.RMISSLClientSocketFactory@180650e]" daemon [_thread_blocked, id=15762]
0x08e1b708 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=14942]
=>0x08ae81a0 JavaThread "RMI TCP Accept-0" daemon [_thread_in_vm, id=14935]
0x08604250 JavaThread "RMI RenewClean-[10.72.14.39:40107]" daemon [_thread_blocked, id=14931]
0x08603c78 JavaThread "GC Daemon" daemon [_thread_blocked, id=14930]
0x0911f558 JavaThread "RMI RenewClean-[10.72.14.40:40107]" daemon [_thread_blocked, id=14920]
0x08da6e20 JavaThread "Scheduler" daemon [_thread_blocked, id=14902]
0x08da7db0 JavaThread "CleanUpReference clean up thread" daemon [_thread_blocked, id=14892]
0x08121920 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=30988]
0x08120498 JavaThread "CompilerThread1" daemon [_thread_blocked, id=30987]
0x0811f438 JavaThread "CompilerThread0" daemon [_thread_blocked, id=30986]
0x0811e308 JavaThread "AdapterThread" daemon [_thread_blocked, id=30985]
0x0811d578 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=30984]
0x08110598 JavaThread "Finalizer" daemon [_thread_blocked, id=30983]
0x081100e0 JavaThread "Reference Handler" daemon [_thread_blocked, id=30982]
0x0806b288 JavaThread "main" [_thread_blocked, id=30978]
Other Threads:
0x0810dbe0 VMThread [id=30981]
0x08122dc0 WatcherThread [id=30989]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 19008K, used 8604K [0xafa60000, 0xb1090000, 0xb1090000)
eden space 16064K, 45% used [0xafa60000,0xb01953c0,0xb0a10000)
from space 2944K, 41% used [0xb0db0000,0xb0ee1e28,0xb1090000)
to space 3328K, 0% used [0xb0a10000,0xb0a10000,0xb0d50000)
PSOldGen total 38592K, used 31818K [0xa4890000, 0xa6e40000, 0xafa60000)
object space 38592K, 82% used [0xa4890000,0xa67a2bf0,0xa6e40000)
PSPermGen total 28416K, used 20144K [0xa0890000, 0xa2450000, 0xa4890000)
object space 28416K, 70% used [0xa0890000,0xa1c3c340,0xa2450000)
Dynamic libraries:
004aa000-004bf000 r-xp 00000000 fd:00 1867896 /lib/ld-2.3.4.so
004bf000-004c0000 r-xp 00015000 fd:00 1867896 /lib/ld-2.3.4.so
004c0000-004c1000 rwxp 00016000 fd:00 1867896 /lib/ld-2.3.4.so
004c3000-005e7000 r-xp 00000000 fd:00 1867897 /lib/tls/libc-2.3.4.so
005e7000-005e8000 r-xp 00124000 fd:00 1867897 /lib/tls/libc-2.3.4.so
005e8000-005eb000 rwxp 00125000 fd:00 1867897 /lib/tls/libc-2.3.4.so
005eb000-005ed000 rwxp 005eb000 00:00 0
005ef000-005f1000 r-xp 00000000 fd:00 1868983 /lib/libdl-2.3.4.so
005f1000-005f3000 rwxp 00001000 fd:00 1868983 /lib/libdl-2.3.4.so
005f5000-00616000 r-xp 00000000 fd:00 1868961 /lib/tls/libm-2.3.4.so
00616000-00618000 rwxp 00020000 fd:00 1868961 /lib/tls/libm-2.3.4.so
006e3000-006f1000 r-xp 00000000 fd:00 1868984 /lib/tls/libpthread-2.3.4.so
006f1000-006f3000 rwxp 0000d000 fd:00 1868984 /lib/tls/libpthread-2.3.4.so
006f3000-006f5000 rwxp 006f3000 00:00 0
009dd000-009ef000 r-xp 00000000 fd:00 1869140 /lib/libnsl-2.3.4.so
009ef000-009f1000 rwxp 00011000 fd:00 1869140 /lib/libnsl-2.3.4.so
009f1000-009f3000 rwxp 009f1000 00:00 0
08048000-08057000 r-xp 00000000 fd:00 1199000 /usr/java/jdk-1.5.0_09-i386/bin/java
08057000-08059000 rwxp 0000e000 fd:00 1199000 /usr/java/jdk-1.5.0_09-i386/bin/java
08059000-0ab15000 rwxp 08059000 00:00 0
98f9f000-98fa2000 ---p 98f9f000 00:00 0
98fa2000-99020000 rwxp 98fa2000 00:00 0
99020000-99023000 ---p 99020000 00:00 0
99023000-990a1000 rwxp 99023000 00:00 0
990a1000-990a4000 ---p 990a1000 00:00 0
990a4000-99122000 rwxp 990a4000 00:00 0
99122000-99125000 ---p 99122000 00:00 0
99125000-991a3000 rwxp 99125000 00:00 0
991a3000-991a6000 rwxp 991a3000 00:00 0
991a6000-99224000 rwxp 991a6000 00:00 0
99224000-99227000 ---p 99224000 00:00 0
99227000-992a5000 rwxp 99227000 00:00 0
992a5000-992a8000 rwxp 992a5000 00:00 0
992a8000-99326000 rwxp 992a8000 00:00 0
99326000-99329000 ---p 99326000 00:00 0
99329000-993a7000 rwxp 99329000 00:00 0
993a7000-993aa000 rwxp 993a7000 00:00 0
993aa000-99428000 rwxp 993aa000 00:00 0
99428000-9942b000 ---p 99428000 00:00 0
9942b000-994a9000 rwxp 9942b000 00:00 0
994a9000-994ac000 ---p 994a9000 00:00 0
994ac000-9952a000 rwxp 994ac000 00:00 0
9952a000-9952d000 rwxp 9952a000 00:00 0
9952d000-995ab000 rwxp 9952d000 00:00 0
995ab000-995ae000 ---p 995ab000 00:00 0
995ae000-9962c000 rwxp 995ae000 00:00 0
9962c000-9962f000 ---p 9962c000 00:00 0
9962f000-996ad000 rwxp 9962f000 00:00 0
996ad000-996b0000 rwxp 996ad000 00:00 0
996b0000-9972e000 rwxp 996b0000 00:00 0
9972e000-99731000 ---p 9972e000 00:00 0
99731000-997af000 rwxp 99731000 00:00 0
997af000-997b2000 ---p 997af000 00:00 0
997b2000-99830000 rwxp 997b2000 00:00 0
99830000-99833000 ---p 99830000 00:00 0
99833000-998b1000 rwxp 99833000 00:00 0
998b1000-998b4000 ---p 998b1000 00:00 0
998b4000-99932000 rwxp 998b4000 00:00 0
99932000-99935000 ---p 99932000 00:00 0
99935000-999b3000 rwxp 99935000 00:00 0
999b3000-999b6000 ---p 999b3000 00:00 0
999b6000-99a34000 rwxp 999b6000 00:00 0
99a34000-99a37000 ---p 99a34000 00:00 0
99a37000-99ab5000 rwxp 99a37000 00:00 0
99ab5000-99ab8000 ---p 99ab5000 00:00 0
99ab8000-99b36000 rwxp 99ab8000 00:00 0
99b36000-99b39000 rwxp 99b36000 00:00 0
99b39000-99bb7000 rwxp 99b39000 00:00 0
99bb7000-99bba000 ---p 99bb7000 00:00 0
99bba000-99c38000 rwxp 99bba000 00:00 0
99c38000-99c3b000 ---p 99c38000 00:00 0
99c3b000-99cb9000 rwxp 99c3b000 00:00 0
99cb9000-99cbc000 ---p 99cb9000 00:00 0
99cbc000-99d3a000 rwxp 99cbc000 00:00 0
99d3a000-99d3d000 ---p 99d3a000 00:00 0
99d3d000-99dbb000 rwxp 99d3d000 00:00 0
99dbb000-99dbe000 rwxp 99dbb000 00:00 0
99dbe000-99e3c000 rwxp 99dbe000 00:00 0
99e3c000-99e3f000 ---p 99e3c000 00:00 0
99e3f000-99ebd000 rwxp 99e3f000 00:00 0
99ebd000-99ec0000 rwxp 99ebd000 00:00 0
99ec0000-99f3e000 rwxp 99ec0000 00:00 0
99f3e000-99f41000 ---p 99f3e000 00:00 0
99f41000-99fbf000 rwxp 99f41000 00:00 0
99fbf000-99fc2000 ---p 99fbf000 00:00 0
99fc2000-9a040000 rwxp 99fc2000 00:00 0
9a040000-9a043000 ---p 9a040000 00:00 0
9a043000-9a0c1000 rwxp 9a043000 00:00 0
9a0c1000-9a0c4000 ---p 9a0c1000 00:00 0
9a0c4000-9a142000 rwxp 9a0c4000 00:00 0
9a142000-9a145000 ---p 9a142000 00:00 0
9a145000-9a1c3000 rwxp 9a145000 00:00 0
9a1c3000-9a1c6000 ---p 9a1c3000 00:00 0
9a1c6000-9a244000 rwxp 9a1c6000 00:00 0
9a244000-9a247000 ---p 9a244000 00:00 0
9a247000-9a2c5000 rwxp 9a247000 00:00 0
9a2c5000-9a2c8000 ---p 9a2c5000 00:00 0
9a2c8000-9a346000 rwxp 9a2c8000 00:00 0
9a346000-9a349000 ---p 9a346000 00:00 0
9a349000-9a3c7000 rwxp 9a349000 00:00 0
9a3c7000-9a3ca000 ---p 9a3c7000 00:00 0
9a3ca000-9a448000 rwxp 9a3ca000 00:00 0
9a448000-9a44b000 rwxp 9a448000 00:00 0
9a44b000-9a4c9000 rwxp 9a44b000 00:00 0
9a4c9000-9a4cc000 rwxp 9a4c9000 00:00 0
9a4cc000-9a54a000 rwxp 9a4cc000 00:00 0
9a54a000-9a54d000 ---p 9a54a000 00:00 0
9a54d000-9a5cb000 rwxp 9a54d000 00:00 0
9a5cb000-9a5ce000 rwxp 9a5cb000 00:00 0
9a5ce000-9a64c000 rwxp 9a5ce000 00:00 0
9a64c000-9a64f000 ---p 9a64c000 00:00 0
9a64f000-9a6cd000 rwxp 9a64f000 00:00 0
9a6cd000-9a6d0000 rwxp 9a6cd000 00:00 0
9a6d0000-9a74e000 rwxp 9a6d0000 00:00 0
9a74e000-9a751000 ---p 9a74e000 00:00 0
9a751000-9a7cf000 rwxp 9a751000 00:00 0
9a7cf000-9a7d2000 rwxp 9a7cf000 00:00 0
9a7d2000-9a850000 rwxp 9a7d2000 00:00 0
9a850000-9a853000 ---p 9a850000 00:00 0
9a853000-9a8d1000 rwxp 9a853000 00:00 0
9a8d1000-9a8d4000 rwxp 9a8d1000 00:00 0
9a8d4000-9a952000 rwxp 9a8d4000 00:00 0
9a952000-9a955000 ---p 9a952000 00:00 0
9a955000-9a9d3000 rwxp 9a955000 00:00 0
9a9d3000-9a9d6000 rwxp 9a9d3000 00:00 0
9a9d6000-9aa54000 rwxp 9a9d6000 00:00 0
9aa54000-9aa57000 ---p 9aa54000 00:00 0
9aa57000-9aad5000 rwxp 9aa57000 00:00 0
9ae00000-9af58000 rwxp 9ae00000 00:00 0
9af58000-9b000000 ---p 9af58000 00:00 0
9b000000-9b1fa000 rwxp 9b000000 00:00 0
9b1fa000-9b200000 ---p 9b1fa000 00:00 0
9b200000-9b400000 rwxp 9b200000 00:00 0
9b400000-9b5f9000 rwxp 9b400000 00:00 0
9b5f9000-9b600000 ---p 9b5f9000 00:00 0
9b600000-9b800000 rwxp 9b600000 00:00 0
9b800000-9ba00000 rwxp 9b800000 00:00 0
9ba00000-9bb00000 rwxp 9ba00000 00:00 0
9bb7f000-9bb82000 rwxp 9bb7f000 00:00 0
9bb82000-9bcfe000 rwxp 9bb82000 00:00 0
9bcfe000-9bd00000 ---p 9bcfe000 00:00 0
9bd7d000-9bd80000 ---p 9bd7d000 00:00 0
9bd80000-9bdfe000 rwxp 9bd80000 00:00 0
9bdfe000-9be01000 rwxp 9bdfe000 00:00 0
9be01000-9be7f000 rwxp 9be01000 00:00 0
9be7f000-9be82000 ---p 9be7f000 00:00 0
9be82000-9bff2000 rwxp 9be82000 00:00 0
9bff2000-9c000000 ---p 9bff2000 00:00 0
9c02c000-9c02f000 rwxp 9c02c000 00:00 0
9c02f000-9c0ad000 rwxp 9c02f000 00:00 0
9c0ad000-9c0b0000 rwxp 9c0ad000 00:00 0
9c0b0000-9c12e000 rwxp 9c0b0000 00:00 0
9c12e000-9c131000 rwxp 9c12e000 00:00 0
9c131000-9c1af000 rwxp 9c131000 00:00 0
9c200000-9c2f8000 rwxp 9c200000 00:00 0
9c2f8000-9c300000 ---p 9c2f8000 00:00 0
9c400000-9c4ee000 rwxp 9c400000 00:00 0
9c4ee000-9c500000 ---p 9c4ee000 00:00 0
9c57f000-9c582000 rwxp 9c57f000 00:00 0
9c582000-9c6f4000 rwxp 9c582000 00:00 0
9c6f4000-9c700000 ---p 9c6f4000 00:00 0
9c77d000-9c780000 ---p 9c77d000 00:00 0
9c780000-9c7fe000 rwxp 9c780000 00:00 0
9c7fe000-9c801000 ---p 9c7fe000 00:00 0
9c801000-9c87f000 rwxp 9c801000 00:00 0
9c87f000-9c882000 rwxp 9c87f000 00:00 0
9c882000-9c9f9000 rwxp 9c882000 00:00 0
9c9f9000-9ca00000 ---p 9c9f9000 00:00 0
9ca77000-9ca7a000 rwxp 9ca77000 00:00 0
9ca7a000-9caf8000 rwxp 9ca7a000 00:00 0
9caf8000-9cafb000 rwxp 9caf8000 00:00 0
9cafb000-9cb79000 rwxp 9cafb000 00:00 0
9cb79000-9cb7c000 rwxp 9cb79000 00:00 0
9cb7c000-9cbfa000 rwxp 9cb7c000 00:00 0
9cbfa000-9cbfd000 rwxp 9cbfa000 00:00 0
9cbfd000-9cc7b000 rwxp 9cbfd000 00:00 0
9cc7b000-9cc7e000 ---p 9cc7b000 00:00 0
9cc7e000-9ccfc000 rwxp 9cc7e000 00:00 0
9cea6000-9cea9000 rwxp 9cea6000 00:00 0
9cea9000-9cf27000 rwxp 9cea9000 00:00 0
9cf27000-9cf2a000 rwxp 9cf27000 00:00 0
9cf2a000-9cfa8000 rwxp 9cf2a000 00:00 0
9cfa8000-9cfab000 ---p 9cfa8000 00:00 0
9cfab000-9d029000 rwxp 9cfab000 00:00 0
9d029000-9d02c000 ---p 9d029000 00:00 0
9d02c000-9d0aa000 rwxp 9d02c000 00:00 0
9d0aa000-9d0ad000 ---p 9d0aa000 00:00 0
9d0ad000-9d12b000 rwxp 9d0ad000 00:00 0
9d12b000-9d12e000 rwxp 9d12b000 00:00 0
9d12e000-9d1ac000 rwxp 9d12e000 00:00 0
9d1ac000-9d1af000 rwxp 9d1ac000 00:00 0
9d1af000-9d22d000 rwxp 9d1af000 00:00 0
9d22d000-9d230000 rwxp 9d22d000 00:00 0
9d230000-9d2ae000 rwxp 9d230000 00:00 0
9d2ae000-9d2b1000 rwxp 9d2ae000 00:00 0
9d2b1000-9d32f000 rwxp 9d2b1000 00:00 0
9d32f000-9d332000 rwxp 9d32f000 00:00 0
9d332000-9d3b0000 rwxp 9d332000 00:00 0
9d3b0000-9d3b3000 ---p 9d3b0000 00:00 0
9d3b3000-9d431000 rwxp 9d3b3000 00:00 0
9d431000-9d434000 rwxp 9d431000 00:00 0
9d434000-9d4b2000 rwxp 9d434000 00:00 0
9d4b2000-9d4b5000 ---p 9d4b2000 00:00 0
9d4b5000-9d533000 rwxp 9d4b5000 00:00 0
9d533000-9d536000 ---p 9d533000 00:00 0
9d536000-9d5b4000 rwxp 9d536000 00:00 0
9d5b4000-9d5b7000 ---p 9d5b4000 00:00 0
9d5b7000-9d635000 rwxp 9d5b7000 00:00 0
9d635000-9d636000 r-xp 00000000 fd:00 1214048 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/librmi.so
9d636000-9d637000 rwxp 00000000 fd:00 1214048 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/librmi.so
9d637000-9d63a000 rwxp 9d637000 00:00 0
9d63a000-9d6b8000 rwxp 9d63a000 00:00 0
9d6b8000-9d6bb000 rwxp 9d6b8000 00:00 0
9d6bb000-9d739000 rwxp 9d6bb000 00:00 0
9d739000-9d73c000 ---p 9d739000 00:00 0
9d73c000-9d7ba000 rwxp 9d73c000 00:00 0
9d7ba000-9d7bd000 ---p 9d7ba000 00:00 0
9d7bd000-9d83b000 rwxp 9d7bd000 00:00 0
9e41e000-9e421000 rwxp 9e41e000 00:00 0
9e421000-9e49f000 rwxp 9e421000 00:00 0
9e49f000-9e4d4000 r-xs 00000000 fd:00 2473232 /var/db/nscd/hosts
9e4d4000-9e4e5000 r-xp 00000000 fd:00 1214046 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libnet.so
9e4e5000-9e4e6000 rwxp 00011000 fd:00 1214046 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libnet.so
9e4e6000-9e4e9000 rwxp 9e4e6000 00:00 0
9e4e9000-9e567000 rwxp 9e4e9000 00:00 0
9e567000-9e56a000 ---p 9e567000 00:00 0
9e56a000-9e5e8000 rwxp 9e56a000 00:00 0
9f834000-9f9ef000 r-xs 00000000 fd:04 6144498 /blahblah/xerces.jar
9ffd4000-9ffd5000 ---p 9ffd4000 00:00 0
9ffd5000-a0055000 rwxp 9ffd5000 00:00 0
a0055000-a0058000 ---p a0055000 00:00 0
a0058000-a00d6000 rwxp a0058000 00:00 0
a00d6000-a00d9000 ---p a00d6000 00:00 0
a00d9000-a0157000 rwxp a00d9000 00:00 0
a0157000-a015a000 ---p a0157000 00:00 0
a015a000-a01d8000 rwxp a015a000 00:00 0
a01d8000-a01db000 ---p a01d8000 00:00 0
a01db000-a0259000 rwxp a01db000 00:00 0
a0259000-a025c000 ---p a0259000 00:00 0
a025c000-a02da000 rwxp a025c000 00:00 0
a02da000-a02db000 r-xp 00fb3000 fd:00 969958 /usr/lib/locale/locale-archive
a02db000-a030d000 r-xp 00f2c000 fd:00 969958 /usr/lib/locale/locale-archive
a030d000-a050d000 r-xp 00000000 fd:00 969958 /usr/lib/locale/locale-archive
a050d000-a0510000 ---p a050d000 00:00 0
a0510000-a058e000 rwxp a0510000 00:00 0
a058e000-a0591000 ---p a058e000 00:00 0
a0591000-a060f000 rwxp a0591000 00:00 0
a060f000-a0610000 ---p a060f000 00:00 0
a0610000-a0690000 rwxp a0610000 00:00 0
a0690000-a0691000 ---p a0690000 00:00 0
a0691000-a0711000 rwxp a0691000 00:00 0
a0711000-a0712000 ---p a0711000 00:00 0
a0712000-a07a0000 rwxp a0712000 00:00 0
a07a0000-a07b2000 rwxp a07a0000 00:00 0
a07b2000-a07c5000 rwxp a07b2000 00:00 0
a07c5000-a080b000 rwxp a07c5000 00:00 0
a080b000-a0819000 rwxp a080b000 00:00 0
a0819000-a082b000 rwxp a0819000 00:00 0
a082b000-a083e000 rwxp a082b000 00:00 0
a083e000-a0883000 rwxp a083e000 00:00 0
a0883000-a088f000 rwxp a0883000 00:00 0
a088f000-a2450000 rwxp a088f000 00:00 0
a2450000-a4890000 rwxp a2450000 00:00 0
a4890000-a6e40000 rwxp a4890000 00:00 0
a6e40000-afa60000 rwxp a6e40000 00:00 0
afa60000-b1090000 rwxp afa60000 00:00 0
b1093000-b10a6000 rwxp b1093000 00:00 0
b10a6000-b1153000 rwxp b10a6000 00:00 0
b1153000-b15e3000 rwxp b1153000 00:00 0
b15e3000-b4153000 rwxp b15e3000 00:00 0
b4153000-b49c3000 r-xs 00000000 fd:00 1200731 /usr/java/jdk-1.5.0_09-i386/jre/lib/charsets.jar
b49c3000-b49d8000 r-xs 00000000 fd:00 1200759 /usr/java/jdk-1.5.0_09-i386/jre/lib/jce.jar
b49d8000-b4a5d000 r-xs 00000000 fd:00 1200760 /usr/java/jdk-1.5.0_09-i386/jre/lib/jsse.jar
b4a5d000-b4ac6000 rwxp b4a5d000 00:00 0
b4ac6000-b70dc000 r-xs 00000000 fd:00 1200767 /usr/java/jdk-1.5.0_09-i386/jre/lib/rt.jar
b70dc000-b70eb000 r-xp 00000000 fd:00 1214052 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libzip.so
b70eb000-b70ed000 rwxp 0000e000 fd:00 1214052 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libzip.so
b70ed000-b710e000 r-xp 00000000 fd:00 1214032 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libjava.so
b710e000-b7110000 rwxp 00020000 fd:00 1214032 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libjava.so
b7110000-b711b000 r-xp 00000000 fd:00 1214051 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libverify.so
b711b000-b711c000 rwxp 0000b000 fd:00 1214051 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/libverify.so
b711c000-b7124000 rwxs 00000000 fd:00 2392802 /tmp/hsperfdata_elm_d/30978
b7124000-b760e000 r-xs 00000000 fd:00 2473112 /var/db/nscd/passwd
b760e000-b7614000 r-xp 00000000 fd:00 1214056 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/native_threads/libhpi.so
b7614000-b7615000 rwxp 00006000 fd:00 1214056 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/native_threads/libhpi.so
b7615000-b7616000 rwxp b7615000 00:00 0
b7616000-b7617000 r-xp b7616000 00:00 0
b7617000-b7b71000 r-xp 00000000 fd:00 1214060 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/server/libjvm.so
b7b71000-b7bd4000 rwxp 0055a000 fd:00 1214060 /usr/java/jdk-1.5.0_09-i386/jre/lib/i386/server/libjvm.so
b7bd4000-b7fed000 rwxp b7bd4000 00:00 0
bfe00000-bfe03000 ---p bfe00000 00:00 0
bfe03000-c0000000 rwxp bfe03000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0
VM Arguments:
jvm_args: -Xmx200M -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -Djava.security.manager -Djava.security.policy=/blah/blah/blah.policy -Dsun.rmi.dgc.client.gcInterval=72000000 -Dsun.rmi.dgc.server.gcInterval=72000000
java_command: blahblahblah
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/java/jdk-1.5.0_09-i386
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/java/jdk-1.5.0_09-i386/jre/lib/i386/server:/usr/java/jdk-1.5.0_09-i386/jre/lib/i386:/usr/java/jdk-1.5.0_09-i386/jre/../lib/i386
Signal Handlers:
SIGSEGV: [libjvm.so+0x508860], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGBUS: [libjvm.so+0x508860], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGFPE: [libjvm.so+0x42cac0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGPIPE: [libjvm.so+0x42cac0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGILL: [libjvm.so+0x42cac0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x42ef10], sa_mask[0]=0x00000000, sa_flags=0x14000004
SIGHUP: [libjvm.so+0x42e940], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGINT: [libjvm.so+0x42e940], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGQUIT: [libjvm.so+0x42e940], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
SIGTERM: [libjvm.so+0x42e940], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
--------------- S Y S T E M ---------------
OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 2)
uname:Linux 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:13:01 EST 2006 i686
libc:glibc 2.3.4 NPTL 2.3.4
rlimit: STACK 10240k, CORE 0k, NPROC 131071, NOFILE 1024, AS infinity
load average:30.16 19.62 12.95
CPU:total 2 (cores per cpu 1, threads per core 1) family 15 model 37 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowext, 3dnow
Memory: 4k page, physical 8145028k(148604k free), swap 1023k(997k free)
vm_info: Java HotSpot(TM) Server VM (1.5.0_09-b01) for linux-x86, built on Sep 7 2006 13:17:49 by java_re with gcc 3.2.1-7a (J2SE release)There's no JNI component of RMI so this is only an RMI problem to the extent that RMI uses TCP. It's a Java TCP accept() problem.That's what I figured. Shame nobody else on the entire Internet appears to have experienced the same problem... :-( Nevertheless, there is no native code in our application so it's looking like a bug in the native socket accept implementation, yes? And that appears to be exacerbated by RMI and/or our use of RMI.
I suspect we are (or the third party code is) doing something strange at VM shutdown since the crash always happens after a log output saying that the process has completed its work. So my current lines of attack are around JVM shutdown handlers, finalizers, etc.
Our project also uses OpenAdaptor (open source ETL tool) and I discovered that this by default calls runFinalizersOnExit(true), so we're going to try re-configuring that today too in case there's something dodgy going on with the finalizers somewhere.
That EDI register of 0x8 looks very suspicious. Have you tried the Bug Parade?Your expertise extends to understand the underlying hardware implemention? Is there no end to your talents ejp?! :-)
I have tried the bug parade but there's nothing obvious there. Plus, it's just about the worst bug tracking system in existance (to go with the worst forum software I guess! LOL) and things just get closed with no comment, or ignored, or turn into a flame war, etc... Still, I tried and didn't have any luck.
Thanks ejp! -
No sound in Shadowgrounds (maybe OSS related)
Hello
I got a copy of Shadowgrounds (a native GNU/Linux game).
http://www.linuxgamepublishing.com/info.php?id=41&
I had no any problem installing the game, but I don't have sound
The official FAQ of the game says:
Sound
I get no sound, and messages about (snd_ctl_open_noupdate) Invalid CTL hw:0
This is usually because of the new PulseAudio system that makes sound difficult to use on Linux.
To fix this problem, you need to do one of the following (in order of ease)
run the game using pasuspender
pasuspender gamename
run the game using padsp
padsp gamename
Finally if these fail, or give poor results, you need to install the OSS layer for ALSA and ensure it is loaded into the kernel. This will vary for each Linux distribution, and you should consult your Linux distribution documentation for instructions on how to do this.
Source: http://www.linuxgamepublishing.com/faq. … 1&#faq_5_1
Well I don't have the message about snd_ctl_open_noupdate, neither I have installed pulseaudio, So I guess, I must install the OSS layer for ALSA (I have installed ALSA)
Then I installed the package alsa-oss and I tried load the correspondent modules in the kernel.
I ran:
$ lsmod|grep '^snd' | column -t
snd_hda_codec_analog 52624 1
snd_seq_dummy 1071 0
snd_seq_oss 25016 0
snd_seq_midi_event 4488 1 snd_seq_oss
snd_seq 41656 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 4353 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 33474 0
snd_hda_intel 18769 7
snd_hda_codec 66623 2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep 4756 1 snd_hda_codec
snd_pcm 58460 6 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_mixer_oss 14328 1 snd_pcm_oss
snd_timer 15601 5 snd_seq,snd_pcm
snd 42602 19 snd_hda_codec_analog,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_mixer_oss,snd_timer
snd_page_alloc 5941 2 snd_hda_intel,snd_pcm
I loaded all modules that contain oss in their name:
$ sudo modprobe snd_pcm_oss snd_mixer_oss snd_seq_oss
I got all this information from here:
http://wiki.archlinux.org/index.php/ALSA
But, after all this, still I don't have sound in the game.
Maybe I am making something wrong, or this problem is not related to OSS
Please any idea, I will be very gratefulI found the solution:
Install the package alsa-oss and launch the game with aoss:
$ aoss ./shadowgrounds-bin -
RMI related NotSerializableException problem
Hi,
I am attempting to write a distributed chess player program. I've written a ChessServer class that all clients register with before they can play (which keeps track of how many clients are connected). Each clients creates an instance of a ChessServerListener which they add to the ChessServer's vector of listeners via a remote call to the method 'addChessServerListener(ChessServerListener listener)' in the ChessServer class. Everytime a new Client registers with the server, an event method is fired which notifies all listeners.
My client uses the following code to create the listener and add it to the server's vector of listeners:
chessServerListener = new ChessServerListener() {
public void clientListValueChanged() {
System.out.println("client list value changed");
//The following results in a RemoteException:
chessServer.addChessServerListener(chessServerListener);
The exception is as follows:
trouble: RemoteException
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: frontend.IBoard$12
at sun.rmi.server.UnicastRef.invoke(Uknown Source)
at frontend.RMI.ChessServerImpl_Stub.addChessServerListener(Uknown Source)
at frontend.IBoard.connectToChessServer(IBoard.java:430)
I have done a million Google searches trying to sort this out, and I think it might have something to do with the code I use to start up my ChessServer, which is as follows:
UnicastRemoteObject.exportObject(this,REG_PORT);
reg = LocateRegistry.createRegistry(REG_PORT);
reg.rebind(SERVER_NAME, this);
Can anyone help me? I can't continue with my project until I solve this!
Thanks in advance.Anonymous classes that you create from an interface implement only that interface; they are not Serializable. You need to declare the listener as a named local class:class LocalClass implements ChessServerListener, Serializable {
public void clientListValueChanged() {
System.out.println("client list value changed");
chessServerListener = new LocalClass();
chessServer.addChessServerListener(chessServerListener);
... -
Really annoying RMI-related error
Hi,
I'm attempting to write a Message-Passing system so that two people can play chess against each other remotely. On each player's host computer, a ChessPlayer object keeps track of the current board layout and comes up with the player's next move. A ChessServer object handles all of the communication with the remote opponent; it packages up moves from the local player into messages, and ships them off to the opponent's ChessServer. (It also takes messages from the remote opponent and calls the required methods on the local ChessPlayer.)
I have a ChessMove object interface class and a ChessMove implementation class as follows
~~~~~~~~~~~~~~~~~~~
RMIChessMove.java :
package RMI;
import java.rmi.RemoteException;
// Interface for RMI-based chess move
public interface RMIChessMove {
public int sourceRow() throws RemoteException;
public int sourceCol() throws RemoteException;
public int destRow() throws RemoteException;
public int destCol() throws RemoteException;
public int checkFlag() throws RemoteException;
public void setSourceRow(int sr) throws RemoteException;
public void setSourceCol(int sc) throws RemoteException;
public void setDestRow(int dr) throws RemoteException;
public void setDestCol(int dc) throws RemoteException;
public void setCheckFlag (int cf) throws RemoteException;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RMIChessMoveImpl.java :
package RMI;
import java.rmi.*;
public class RMIChessMoveImpl implements RMIChessMove extends Remote {
String fromPos;
String toPos;
int sourceRow;
int sourceCol;
int destRow;
int destCol;
int checkFlag;
public RMIChessMoveImpl(int sr, int sc, int dr, int dc, int cf) {
int sourceRow=sr;
int sourceCol=sc;
int destRow=dr;
int destCol=dc;
int checkFlag=cf;
public int sourceRow() throws RemoteException {
return sourceRow;
public int sourceCol() throws RemoteException {
return sourceCol;
public int destRow() throws RemoteException {
return destRow;
public int destCol() throws RemoteException {
return destCol;
public int checkFlag() throws RemoteException {
return checkFlag;
public void setSourceRow(int sr) throws RemoteException {
sourceRow=sr;
public void setSourceCol(int sc) throws RemoteException {
sourceCol=sc;
public void setDestRow(int dr) throws RemoteException {
destRow=dr;
public void setDestCol(int dc) throws RemoteException {
destCol=dc;
public void setCheckFlag (int cf) throws RemoteException {
checkFlag=cf;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The RMIChessMove class compiles without any errors, but the compiler comes up with a weird error when i try to compile RMIChessMoveImpl.java which is as follow:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RMI/RMIChessMoveImpl.java [5:1] '{' expected
public class RMIChessMoveImpl implements RMIChessMove extends Remote {
^
RMI/RMIChessMoveImpl.java [51:1] '}' expected
^
2 errors
Errors compiling RMIChessMoveImpl.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I've tried switching round the "implements RMIChessMove" and "extends Remote" things but then I get this error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RMI/RMIChessMoveImpl.java [5:1] no interface expected here
public class RMIChessMoveImpl extends Remote implements RMIChessMove {
^
1 error
Errors compiling RMIChessMoveImpl.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm convinced this should compile because it's based on O'Reilly's "Java Distributed Computing" textbook.
I'll happily give all my duke dollars to anyone who can solve this problem for me asap.
Cheers.When I create an RMI application I use the following structure:
MyInterface extends Remote
MyInterfaceImpl extends UnicastRemoteObject implements MyInterface
Your code would then look like this:
public interface RMIChessMove extends Remote {
// ALL methods should throw RemoteException
public class RMIChessMoveImpl extends UnicastRemoteObject implements RMIChessMove {
// implemented methods from RMIChessMove interface + your setters and manipulators
}If you do not do it like this, your RMI will not work. Note that every implementation of your interface (in this case, ít's RMIChessMoveImpl) should extend UnicastRemoteObject. Then you will have to let the rmic compiler loose on that class to compile the skels and stubs.
Also note that interfaces extend eachother, classes extend eachother, but classes implement interfaces. -
AppStore and iCloud aunthefication problems (maybe hardware related things)
Hi. I have MBP (2006) with broken ethernet port but working wifi. I never woried about it cause I've used wireless everywhere.I had the interface "Ethernet" in the list of interfaces for years but MBP has not seen any cable plugged into it.
But after update to 10.7.x (I didn't really noticed when it had happened) ethernet interface has been missed from the list of interfaces. And at the same time AppStore stoped to work with my apple id with the message "Your device or computer could not be verified. Contact support for assistance". And now after starting iCloud services it doesn't work too: "This Apple ID is valid but is not an iCloud account"
My apple id is ok, I've checked it 4 times, everything is verified, I can buy applications and music at iTunes Music Store, authorize and deauthorize computers use it for iMessage on my iPad etc. iCloud works too on my iPad and at the website icloud.com — I can sync everything, backup to iCloud etc. But neither purchases at AppStore nor iCloud features works on my MacBook Pro.
I think its some eth0/eth1 related things, cause most of solutions for broken Apple ID on Macs are: "Remove /Library/Preferences/SystemConfigurations/* then reboot". I did it thosands of times but nothing happens. I tried to reset SMC but it doesn't work too — ethernet interface is still missing, AppStore and iCloud give me strange error messages and doesn't work.Right - I have tried booting the MacMini using Chameleon. Using these instructions: http://forum.netkas.org/index.php/topic,1123.0.html it boots.
Basically, Chameleon can be made to work if you re-format your HD to use a MBR boot sector. Even the latest Chamelon (Chameleon_2.1svn_r1686_trunk_pkg) can be made to work by using a minimal org.chameleon.Boot config (i.e. not the one it installs by default - use the one in the first link/post as a basis). You can also use Champlist to control your installation settings.
This enables me to change the model number, serial number, bios/efi version etc reported by the system - and you can also do this by manually editing the smbios.plist file
After booting I added relevant information into the settings to simulate a built-in ethernet port, after matching the specific settings for my macmini - but no luck.
I also booted it as a MacBook Air to see if this would negate the need for an inbuilt ethernet port - however no luck either.
Authentication failed in the same way.
Either the information reported by Apple System Profiler, and changed by Chamelon, is surface-level and the 'true' information is still being read by the authentication process or there is something amiss with my 'hackintosh' settings.
I have a few more things to try including:
Booting using Chamelon and then deleting network prefs and seeing if this resets the authentication process on the next boot
Reverting the MacMini to stock macmini1,1 firmware. (Has been updated to macmini2,1 using method at: http://forum.netkas.org/index.php/topic,874.0.html) -
JINI n RMI related issues..i hate it..
Can somebody tell me how for pc A wants to find out somewhere on earth there's pc B that willing to share his calculator.should i use something like lookupLocator o LookupDiscovery or what?
Edited by: c0reng on Mar 17, 2008 12:26 AMAll the java components are on different machines (solaris) and bind with the registry via UDP multicast. RMI components bind to the RMI Registry via TCP unicast.
1) How come the java components keep communicating? Because even they call remote methods on each other without any fail.I don't know what failures you were expecting so I can't answer that.
2) If there is any network interruption in between the RMI registry and the remote component, could it be possible that the skeletons in the list are no longer bound with the RMI registry?I don't understand the question. The only communication between the RMI Registry and remote objects occurs at bind time or else it consists of DGC calls. There are no skeletons in an RMI Registry, only stubs. The only way a stub can no longer be bound is if someone unbinds it or the Registry is restarted.
3) Its fine that such exceptions are being observed when there are network interruptions........ but even after its back to normal such exceptions are still being observed.Doesn't that mean there is still a network problem?
Just trying to figure out what happens with the registry in case of heavy network interruptions.Nothing special. It's just a TCP server really. -
Usb 3.0 device to 2.0 port issue, maybe Mavericks related?
I have a 15" mid-2009 Mac Book Pro running 10.9.2. The usb 2.0 ports seem to be working as my usb 3.0 external hard drive lights up but does not appear in under device in the Finder window. External harddrive is working fine, checked it with a PC. I use it with Time Machine as a backup device and it last worked in late December. Not at all sure what's going on.
biotechbeat wrote:
External harddrive is working fine, checked it with a PC.
How did you check it with the PC?
How is the external HDD formatted?
Did you try all USB ports?
Did you try with a different cable?
Did you try it with a different enclosure?
Does it appear in Disk Utility? If so, have you run Disk Utility>First Aid?
Ciao. -
Process: iPhoto [1565]
Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
Identifier: com.apple.iPhoto
Version: 9.4.3 (9.4.3)
Build Info: iPhotoProject-720091000000000~2
Code Type: X86 (Native)
Parent Process: launchd [291]
Date/Time: 2013-10-06 16:12:07.828 -0400
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 2133 sec
Per-App Interval Since Last Report: 3311 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: A064A2C7-C250-44F5-A348-E0B4BEFF7A05
Crashed Thread: 19 Import thread 3
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000020
VM Regions Near 0x20:
--> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] ---/--- SM=NUL /Applications/iPhoto.app/Contents/MacOS/iPhoto
VM_ALLOCATE 0000000000001000-00000000000f5000 [ 976K] ---/--- SM=NUL
Application Specific Information:
objc_msgSend() selector name: objectForKey:
objc[1565]: garbage collection is OFF
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x940efc22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x940ef1f6 mach_msg + 70
2 com.apple.CoreFoundation 0x968219da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x9682ab04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x9682a1dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x9682a088 CFRunLoopRunInMode + 120
6 com.apple.HIToolbox 0x9795a543 RunCurrentEventLoopInMode + 318
7 com.apple.HIToolbox 0x979618ab ReceiveNextEventCommon + 381
8 com.apple.HIToolbox 0x9796171a BlockUntilNextEventMatchingListInMode + 88
9 com.apple.AppKit 0x9b8a5ee8 _DPSNextEvent + 678
10 com.apple.AppKit 0x9b8a5752 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
11 com.apple.AppKit 0x9b8a1ac1 -[NSApplication run] + 911
12 com.apple.AppKit 0x9bb32ac5 NSApplicationMain + 1054
13 com.apple.iPhoto 0x001050b9 0xf5000 + 65721
14 com.apple.iPhoto 0x00104705 0xf5000 + 63237
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x940f1b5e __select_nocancel + 10
1 libdispatch.dylib 0x998b0cbd _dispatch_mgr_invoke + 642
2 libdispatch.dylib 0x998af853 _dispatch_mgr_thread + 53
Thread 2:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 3:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 5:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 8:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 9:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.RedRock 0x0243e2bf -[RKAsyncImageRenderer _backgroundRenderThread:] + 173
7 com.apple.CoreFoundation 0x968921aa -[NSObject performSelector:] + 58
8 com.apple.proxtcore 0x01e0dab2 -[XTThreadSendOnlyDetached _detachedMessageHandler:] + 167
9 com.apple.CoreFoundation 0x96889d11 -[NSObject performSelector:withObject:] + 65
10 com.apple.proxtcore 0x01e05e59 -[XTSubscription postMessage:] + 191
11 com.apple.proxtcore 0x01e0571f -[XTDistributor distributeMessage:] + 681
12 com.apple.proxtcore 0x01e04f42 -[XTThread handleMessage:] + 515
13 com.apple.proxtcore 0x01e03b2f -[XTThread run:] + 434
14 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
15 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
16 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
17 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 10:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x940efc22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x940ef1f6 mach_msg + 70
2 com.apple.CoreFoundation 0x968219da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x9682ab04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x9682a1dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x9682a088 CFRunLoopRunInMode + 120
6 com.apple.Foundation 0x92fbf0c4 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 378
7 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
8 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
9 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
10 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 11:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9219d42c pthread_cond_wait$UNIX2003 + 71
3 com.apple.Foundation 0x92fb4be8 -[NSCondition wait] + 304
4 com.apple.iPhoto 0x00147184 0xf5000 + 336260
5 com.apple.iPhoto 0x00146d92 0xf5000 + 335250
6 com.apple.CoreFoundation 0x9688ca9d __invoking___ + 29
7 com.apple.CoreFoundation 0x9688c9d9 -[NSInvocation invoke] + 137
8 com.apple.RedRock 0x0245a6eb -[RKInvoker _invokeTarget:] + 33
9 com.apple.RedRock 0x0246b4ac -[RKInvoker _invokeTargetWithPool:] + 68
10 com.apple.CoreFoundation 0x96889d11 -[NSObject performSelector:withObject:] + 65
11 com.apple.proxtcore 0x01e0dab2 -[XTThreadSendOnlyDetached _detachedMessageHandler:] + 167
12 com.apple.CoreFoundation 0x96889d11 -[NSObject performSelector:withObject:] + 65
13 com.apple.proxtcore 0x01e05e59 -[XTSubscription postMessage:] + 191
14 com.apple.proxtcore 0x01e0571f -[XTDistributor distributeMessage:] + 681
15 com.apple.proxtcore 0x01e04f42 -[XTThread handleMessage:] + 515
16 com.apple.proxtcore 0x01e03b2f -[XTThread run:] + 434
17 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
18 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
19 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
20 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 12:: jpegdecompress_MPLoop
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9219482a pthread_cond_wait + 48
3 com.apple.QuickTimeComponents.component 0x939f4407 0x932e5000 + 7402503
4 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
5 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 13:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x9262c3a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9262c11d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x9262bf2e TSWaitOnSemaphoreRelative + 24
6 com.apple.QuickTimeComponents.component 0x938d210a 0x932e5000 + 6213898
7 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 14:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.proxtcore 0x01e04a42 -[XTMsgQueue waitForMessage] + 47
7 com.apple.proxtcore 0x01e03b19 -[XTThread run:] + 412
8 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
9 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 15:: Dispatch queue: Face Detection
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.Foundation 0x92fe53c3 -[NSCondition waitUntilDate:] + 427
4 com.apple.Foundation 0x92fab7d2 -[NSConditionLock lockWhenCondition:beforeDate:] + 294
5 com.apple.Foundation 0x92fab6a6 -[NSConditionLock lockWhenCondition:] + 69
6 com.apple.iPhoto 0x0022c885 0xf5000 + 1276037
7 com.apple.iPhoto 0x00826bcc 0xf5000 + 7543756
8 com.apple.RedRock 0x026cb660 -[RKFaceDetectionWorker performJob:forWorkOrder:] + 437
9 com.apple.proxtcore 0x01e3f5d1 -[XTWorker performJob:] + 117
10 com.apple.CoreFoundation 0x96889d11 -[NSObject performSelector:withObject:] + 65
11 com.apple.proxtcore 0x01e05e59 -[XTSubscription postMessage:] + 191
12 com.apple.proxtcore 0x01e0571f -[XTDistributor distributeMessage:] + 681
13 com.apple.proxtcore 0x01e04f42 -[XTThread handleMessage:] + 515
14 com.apple.proxtcore 0x01e242bd __42-[XTDispatchMsgQueue triggerDispatchQueue]_block_invoke_0 + 176
15 libdispatch.dylib 0x998aefbd _dispatch_call_block_and_release + 15
16 libdispatch.dylib 0x998b0943 _dispatch_queue_drain + 224
17 libdispatch.dylib 0x998b07e8 _dispatch_queue_invoke + 47
18 libdispatch.dylib 0x998afff0 _dispatch_worker_thread2 + 187
19 libsystem_c.dylib 0x921eab24 _pthread_wqthread + 346
20 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 16:
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x9262c3a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9262c11d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x9262bf2e TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x9265ee53 AIOFileThread(void*) + 1019
7 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 17:: CVDisplayLink
0 libsystem_kernel.dylib 0x940f183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x921ece78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x921ecf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreVideo 0x925c8e8c CVDisplayLink::waitUntil(unsigned long long) + 306
4 com.apple.CoreVideo 0x925c7fde CVDisplayLink::runIOThread() + 706
5 com.apple.CoreVideo 0x925c7d05 _ZL13startIOThreadPv + 160
6 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
7 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 18:: com.apple.appkit-heartbeat
0 libsystem_kernel.dylib 0x940f1bb2 __semwait_signal + 10
1 libsystem_c.dylib 0x9219d7b9 nanosleep$UNIX2003 + 187
2 libsystem_c.dylib 0x9219d558 usleep$UNIX2003 + 60
3 com.apple.AppKit 0x9baea6da -[NSUIHeartBeat _heartBeatThread:] + 2399
4 com.apple.Foundation 0x92fb2e25 -[NSThread main] + 45
5 com.apple.Foundation 0x92fb2dd5 __NSThread__main__ + 1582
6 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
7 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 19 Crashed:: Import thread 3
0 libobjc.A.dylib 0x96ae7d47 objc_msgSend + 23
1 com.apple.RedRock 0x024906cf +[RKSearchableProperty updateSearchableProperties:inDatabase:type:versionId:] + 308
2 com.apple.RedRock 0x0248f540 -[RKVersion persist] + 341
3 com.apple.RedRock 0x0249d2a5 -[RKVersion makeOriginalVersion] + 1575
4 com.apple.iPhoto 0x003fe29e 0xf5000 + 3183262
5 com.apple.iPhoto 0x0071e927 0xf5000 + 6461735
6 com.apple.iPhoto 0x0071de70 0xf5000 + 6458992
7 com.apple.iPhoto 0x0071ff90 0xf5000 + 6467472
8 com.apple.iPhoto 0x0021cf09 0xf5000 + 1212169
9 com.apple.iPhoto 0x00212d82 0xf5000 + 1170818
10 libsystem_c.dylib 0x921e8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x921ec6de thread_start + 34
Thread 20:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 21:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 22:: Dispatch queue: com.apple.Mercury.KDatabaseMgr
0 libsystem_kernel.dylib 0x940f25fa __fsync + 10
1 com.apple.iLifeSQLAccess 0x01ededeb unixSync + 69
2 com.apple.iLifeSQLAccess 0x01edeccf syncJournal + 399
3 com.apple.iLifeSQLAccess 0x01edeab4 sqlite3PagerCommitPhaseOne + 1156
4 com.apple.iLifeSQLAccess 0x01ecb16c sqlite3BtreeCommitPhaseOne + 701
5 com.apple.iLifeSQLAccess 0x01eca80a sqlite3VdbeHalt + 1073
6 com.apple.iLifeSQLAccess 0x01ec9f40 sqlite3VdbeExec + 38690
7 com.apple.iLifeSQLAccess 0x01ec0512 sqlite3_step + 2439
8 com.apple.iLifeSQLAccess 0x01ee0e40 -[HgKPreparedSql updateWithArgs:] + 255
9 com.apple.iLifeSQLAccess 0x01f3da18 __50-[HgKDatabaseManager commitAndBeginNewTransaction]_block_invoke_0 + 55
10 libdispatch.dylib 0x998af8cd _dispatch_function_recurse_invoke + 37
11 libdispatch.dylib 0x998b12d2 _dispatch_barrier_sync_f_invoke + 30
12 libdispatch.dylib 0x998b1762 dispatch_barrier_sync_f + 87
13 libdispatch.dylib 0x998b1663 _dispatch_barrier_sync_f_slow + 192
14 libdispatch.dylib 0x998b1730 dispatch_barrier_sync_f + 37
15 libdispatch.dylib 0x998b18b8 dispatch_sync + 45
16 com.apple.iLifeSQLAccess 0x01f3ecba -[HgKDatabaseManager _dispatch_sync_if_needed_suspend:withBlock:] + 266
17 com.apple.iLifeSQLAccess 0x01f3eb6e -[HgKDatabaseManager dispatch_sync_if_needed:] + 48
18 com.apple.iLifeSQLAccess 0x01efff99 -[HgKDatabaseManager commitAndBeginNewTransaction] + 359
19 com.apple.RedRock 0x024796a5 -[RKInfoDictionaryMgr saveDirtyPlistIds] + 887
20 com.apple.RedRock 0x0253453c -[RKInfoDictionaryMgr writeInfoDictionaries:withFlush:] + 2199
21 com.apple.RedRock 0x0247628c -[RKInfoDictionaryMgr writeSomeInfoDictionaries] + 955
22 com.apple.RedRock 0x025346a3 __58-[RKInfoDictionaryMgr sendSaveSomeInfoDictionariesMessage]_block_invoke_0 + 36
23 libdispatch.dylib 0x998aefbd _dispatch_call_block_and_release + 15
24 libdispatch.dylib 0x998b0943 _dispatch_queue_drain + 224
25 libdispatch.dylib 0x998b07e8 _dispatch_queue_invoke + 47
26 libdispatch.dylib 0x998afff0 _dispatch_worker_thread2 + 187
27 libsystem_c.dylib 0x921eab24 _pthread_wqthread + 346
28 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 23:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 24:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 25:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 26:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 27:
0 libsystem_kernel.dylib 0x940f202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x921eaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x921ec6fe start_wqthread + 30
Thread 28:
Thread 19 crashed with X86 Thread State (32-bit):
eax: 0x8342d5e0 ebx: 0x8342d5e0 ecx: 0x9c1f0600 edx: 0x00000000
edi: 0xad0570b4 esi: 0x024905ac ebp: 0xb1db8b28 esp: 0xb1db8888
ss: 0x00000023 efl: 0x00010282 eip: 0x96ae7d47 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
cr2: 0x00000020
Logical CPU: 0Just by curiosity, do you have any idea of what can cause this corrupted file in iOS
It may be a transmission error (network problems) when the photo was added to the stream, or one of the apps on your IOS device that writes to the Camera Roll, crashed and left a corrupted file. Are all your apps current? Perhaps you need to update one of them.
Added: If you can isolate the corrupted photo, you may be able to find out, how it was created - if it was taken with your iDevice, your digital camera, generated by some app. -
System problem - MAYBE OSX related...?
I have no definitive answer or resolution thus far for this
problem in the forums and wanted to re-summarize it here, one more time, to see if anyone has
any other suggestions before i toss in the towel on self-repair efforts and invest in Apple Service.
Problem:
On a dual MDD G4 1.25, which i normally boot/use OS 9 on)
there is now a system 'hang time' of anywhere from 15-25 secs. in various circumstances including:
On boot-up, just after the Finder has loaded, I can move the mouse cursor but the Mac won't respond to clicks for up to 15-20 secs. Then, the "buffered clicks" get executed at once.
This hang time also occurs within certain applications, and on startup of IE Explorer there is an abnormal delay between the Open command and completion of startup cycle(opening to Home Page).
At first it appears a system freeze, but then ultimately system interactivity resumes eventually.
This machine is on a high-end Tripp-Lite power conditioner in a recording studio.
The problem seemed to begin after a day where i had multiple power fluctuations/outages requiring cold reboot several times.
I have swapped out both 512 Dimms and tried running with each separately and the problem remained.
TechTools has been run, OSX Permission Repairs run/re-run..
and i've done an OS 9-only "restore/reinstall" of that
System. I also ran a defragmentation off of techtools.
Memory 'tested' as okay.
My internal HD is a 160g, one partition.
Since the problem occurs within OS 9 and i did reinstall that system, i would tend to think that rules out the System.
I can't detect any similar problem under OSX!
Things tried that didn't resolve it:
Emptying Servers Folder in the System Folder. Desktop Rebuild, PRAM/NVRAM resets, VM Off, Extensions OFF restart, (no change), Startup Items Folder/Prefs Folder EMPTIED and restart; no change. All Devices (USB/Firewire & Cable Modem, Keyboard/Mouse) disconnected/Restart; no change.
MemTest run on Dimms; Reported as OK.
Is there any point in reinstalling Sys software given all
this, or any ideas on what else to try?
Thanks,
MikeRon, I did, (conflicting opinions about Norton notwithstanding) run a Volume/Directory test from NDD (it is
a cumbersome process given that Norton must be on a separate computer and the machine in question must be in target-firewire mode to "access" the OS 9 System Folder - since the Norton app will not startup on the MDD machine...
"Apparently," it was able to process a test and no errors
were reported after running it, or, Tech Tools, on that System Folder.
I appreciate the idea. Not sure if there's an easier way to 'get at' the folder off a Norton Utilities disk as long as it resides in the peculiar dual-boot environment which presents a variety of challenges for anyone seeking to run any type of OS 9 diagnostics from a non OSX-based startup disk... not to mention the screwy reinstall/restore configuration of this particular Apple incarnation's install disk "set."
To put it bluntly, Mac really went out of its way to discourage any OS 9 loyalists with their "last OS 9 machine"
--but i digress....
Thanks
Mike -
HT201257 Screen/ Display Problems- maybe hardware related?
Has anyone experienced a problem with their display- where an open window repeats over and over the entire screen (sometimes appearing like random squares) and the only way to correct the display seems to be by opening finder and dragging it across the screen? This often occurs when using CS5 inDesign.
Does anyone have a solution/ diagnosis?
Thanks in advance!That sort of problem correlates with a graphics Hardware problem.
It is possible that if your graphics card is clogged with dust, blowing out the dust and allowing it to stay cool will resolve the problem, but I would not get my hopes up.
The Apple 5770 works in all Mac Pro models, about US$250. Do not buy a non-Apple version, as it will not show a picture under Mac OS X.
http://store.apple.com/us/product/MC742ZM/A/ati-radeon-hd-5770-graphics-upgrade- kit-for-mac-pro-(mid-2010)?fnode=53
http://www.bhphotovideo.com/c/product/726537-REG/Apple_MC742ZM_A_ATI_Radeon_HD_5 770.html -
My 2007 iMac has started to shutdown randomly. The longer I use it the more frequent the shutdown happen. I can hear the fans working but the top of the computer is very warm. Is there over heating protection on these iMacs?
Hello Ticks,
Thanks for using Apple Support Communities.
I'd like you to please reset the SMC by following the steps in the article below and report back if the issue has been resolved or not.
Intel-based Macs: Resetting the System Management Controller (SMC)
http://support.apple.com/kb/HT3964
Take care,
Alex H. -
6800 Problem maybe Motherboard related
Ok im just going to get straight into it....
I recently replaced my built by ATi 9800 non pro for a brand new BFG 6800GT.
So i bring it home about 2 days ago, reformat to make sure all the old drivers are gone, installed win xp, then sp2 (w/ DirectX 9.0c), then my Chipset/AGP drivers and finally my video card (61.77) and soundcard drivers.
So far so good...
I run 3dmark and get some very good scores (3dmark03: 10,900 / 3dmark01: 19833)
So next i install call of duty and thats where the problem begins...
Terrible and i mean TERRIBLE performance, my 9800 non pro beats out my GT in alot of situations. The biggest problem is the FPS dropping randomly from about 125 to 30 then getting choppy then going back up to normal (On LAN and online servers).
The problem only seems to be occuring in OpenGL / Quake3 Engine games.
So from there i went and downloaded the 65.73 and 65.76 drivers, tested them both (After uninstalling and running driver cleaner) still no luck.
From there i tried all the drivers between 60.xx - 66.xx and still no change.
So finally i run live update 3, get all the new updated mobo drivers and flash my BIOS to the latest version and still terrible FPS drops and random choppyness.
At this point im almost ready to return the 6800GT and buy a X800 Pro and see if that works which i have a chance to tommorow (Friday).
If you know anyway to fix this or what the problem might be or if i should just buy the X800 please let me know asap.
My system specs are below in my sig
Thanks,
Phourstar
*EDIT: Forgot to add I've tried playing with AA/AF off and Vsync off and still bad results, i currently have everything set to low detail in my games and 800x600 no AA/AF and vsync off *Hi
there are several things that can cause problems some which can be solved easily and some not so easy. Ive heard many problems with BFG ultras but not so many with the GT's but i suggest your first port of call should be BFG to see if they have a new BIOS for your card as they had to release one for the ultra.
Other options to try are ... turn OFF fastwrites in the mobo BIOS , raise the agp aperature size to 256Mb , make sure nothing else is on the same power cable plugged into the GT , increase case ventilation or leave side of case off while testing as the 6800's throttle back if they get too hot , or trade in for a standard GT not a pre overclocked one from BFG
thats all i can think of right now ..
best of luck -
Question about argument marshalling with RMI.
Hello guys,
I recently started an RMI-related project and successfully implemented this technology, but at some point I created this interface on the server
package xyz;
import somePackage.SomeClass ;
public interface A extends Remote{
public void methodA( SomeClass x ) throws RemoteEx; //SomeClass is implementing interface A
and exported it to the RemoteReg folowing standard RMI procedure.
The problem came when i tried to pass a instance of SomeClass to methodA from the corresponding object retrived from the registry, got myself a nice
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: somePackage.SomeClass
The question is: can't RMI pass arguments as shown previously or it's my implementation faulty?
//ofc i could send the vars needed and create the SomeClass instance on the server but maybe it can be done this way too.Well the .class on the client implemented Serialize, while the .class from the server didn't(this being the only difference).So in other words 'yes, I had different versions of the .class file at the server and the client'.
So in theory they might get different serialVersionsUID due to this discrepancyNo, in theory one of them isn't Serializable, so either the sender or the receiver is going to throw an exception of some kind.
You have to deploy the same .class file at both ends (until you get into Versioning), and they certainly both have to implement Serializable. They also both have to have the same serialVersionUID, which you should hard-code into the class now. -
We have a service that is being monitored via JMX. The JVM heap usage is growing and even major collections are not able to remove the garbage. Inspecting the heap shows garbage consisting of RMI related references (mostly, if not all, related class loaders). The only way to alleviate the issue is to issue explicit gc call through JMX (that removes all accumulated garbage). Our gc related options are:
-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly
And we have not touched either of: DisableExplicitGC or sun.rmi.dgc.server.gcInterval
I believe the problem is supposed to addressed by the code in sun.misc.GC.Daemon:
public void run() { for (;;) { long l; synchronized (lock) { l = latencyTarget; if (l == NO_TARGET) { /* No latency target, so exit */ GC.daemon = null; return; } long d = maxObjectInspectionAge(); if (d >= l) { /* Do a full collection. There is a remote possibility * that a full collection will occurr between the time * we sample the inspection age and the time the GC * actually starts, but this is sufficiently unlikely * that it doesn't seem worth the more expensive JVM * interface that would be required. */ System.gc(); d = 0; } /* Wait for the latency period to expire, * or for notification that the period has changed */ try { lock.wait(l - d); } catch (InterruptedException x) { continue; } } } }
For some reason the above System.gc is not being invoked (that has been verified by looking at gc logs). Anyone has a suggestion as to how to address the issue?Thanks for pointing to MOS notes, they were quite helpful. Though sometime on our system, ohasd.bin consumes more resources. Is it safe to kill it?
Also, we have observed that there are multiple oraagents belonging to different users such as root,grid and oracle.
grid 14620 1 0 20:32 ? 00:00:14 /u01/app/11.2.0/grid/bin/oraagent.bin
root 14625 1 0 20:32 ? 00:00:02 /u01/app/11.2.0/grid/bin/orarootagent.bin
root 14627 1 0 20:32 ? 00:00:00 /u01/app/11.2.0/grid/bin/cssdagent
grid 14803 1 0 20:32 ? 00:00:06 /u01/app/11.2.0/grid/bin/oraagent.bin
oracle 14807 1 0 20:32 ? 00:01:53 /u01/app/11.2.0/grid/bin/oraagent.bin
root 14811 1 0 20:32 ? 00:00:38 /u01/app/11.2.0/grid/bin/orarootagent.bin
When these are killed, not all are re-spawned automatically - typically oraagent belonging to "oracle" user is left out. Is this an expected behaviour or it will cause some instability in the clusterware?
Thanks
Maybe you are looking for
-
When on the internet, how do I expand webpage to fill the whole screen?
When on the internet, how do I expand a webpage to fill the whole screen?
-
Can i prioritize wi-fi networks on my ipod touch 5g?
when i go to a location i frequent, my ipod first connects to a wi-fi network i don't want to use. then i have to switch it to the more secure one.
-
During checkin read the filename in oracle ucm
During Checkin content from Profile I want to read the filename. Can we do this using Java filter?How?
-
Sender FCC , problem with Repeating Field under a Sub-structure
Hi, I have an Input File as D,TH_ ,10/31/2008,ABC,pieces PF, 10/31/2008,11/2/2008,11/3/2008,11/4/2008 P,mat,CS,100,120,130,125,150,170,120 P,mat,CS,100,120,100,110,140,120,110 I need to Implement an FCC to convert this to a Structure like this Reco
-
BADI/Exit for transaction FB05/F-36
Can anybody help me regarding exit/BADI for transaction FB05/F-36? I have tried exits in CMOD such as: F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment F050S002 FIDCC1: Change IDoc/do not send F050S003 FIDCC2: Change IDoc/do not send F