what the structure of dsym file? - mach-o

What's structure of a dsym file generated when build the app. I know it contain DWARF debug info, but what's a dsym file. I want to read the DWARF info in it.
Is it just a Mach-O binary file that contain only debug sections? How do I pass it to a DWARF parse tool like pyelftool, which read the DWARF info in a ELF file's debug sections.
I use objdump -h to print the sections of a dsym file ( a .dsym file is a package, I just refer the binary file in the package )
/Users/luna/Desktop/EarList.app.dSYM/Contents/Resources/DWARF/EarList: file format mach-o-i386
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00001738 000026e0 000026e0 00000000 2**4
ALLOC, LOAD, CODE
1 .symbol_stub 00000054 00003e18 00003e18 00000000 2**1
ALLOC, LOAD, CODE
2 __TEXT.__stub_helper 00000098 00003e6c 00003e6c 00000000 2**2
ALLOC, LOAD, READONLY, CODE
3 .const 00000010 00003f08 00003f08 00000000 2**3
ALLOC, LOAD, READONLY, DATA
4 __TEXT.__objc_methname 000007db 00003f18 00003f18 00000000 2**0
ALLOC, LOAD, READONLY, CODE
5 .cstring 000001a9 000046f3 000046f3 00000000 2**0
ALLOC, LOAD, READONLY, DATA
6 __TEXT.__objc_classname 0000003c 0000489c 0000489c 00000000 2**0
ALLOC, LOAD, READONLY, CODE
7 __TEXT.__objc_methtype 0000049d 000048d8 000048d8 00000000 2**0
ALLOC, LOAD, READONLY, CODE
8 __TEXT.__unwind_info 0000007c 00004d75 00004d75 00000000 2**0
ALLOC, LOAD, READONLY, CODE
9 .eh_frame 00000204 00004df8 00004df8 00000000 2**3
ALLOC, LOAD, READONLY, DATA
10 __DATA.__program_vars 00000014 00005000 00005000 00000000 2**2
ALLOC, LOAD, DATA
11 .non_lazy_symbol_pointer 00000008 00005014 00005014 00000000 2**2
ALLOC, LOAD, DATA
12 .lazy_symbol_pointer 00000038 0000501c 0000501c 00000000 2**2
ALLOC, LOAD, DATA
13 __DATA.__objc_classlist 00000008 00005054 00005054 00000000 2**2
ALLOC, LOAD, DATA
14 __DATA.__objc_protolist 00000008 0000505c 0000505c 00000000 2**2
ALLOC, LOAD, DATA
15 __DATA.__objc_imageinfo 00000008 00005064 00005064 00000000 2**2
ALLOC, LOAD, DATA
16 __DATA.__objc_const 00000518 00005070 00005070 00000000 2**3
ALLOC, LOAD, DATA
17 __DATA.__objc_selrefs 00000054 00005588 00005588 00000000 2**2
ALLOC, LOAD, DATA
18 __DATA.__objc_classrefs 00000010 000055dc 000055dc 00000000 2**2
ALLOC, LOAD, DATA
19 __DATA.__objc_superrefs 00000004 000055ec 000055ec 00000000 2**2
ALLOC, LOAD, DATA
20 __DATA.__objc_data 00000050 000055f0 000055f0 00000000 2**2
ALLOC, LOAD, DATA
21 .cfstring 00000290 00005640 00005640 00000000 2**2
ALLOC, LOAD, DATA
22 __DATA.__objc_ivar 00000004 000058d0 000058d0 00000000 2**2
ALLOC, LOAD, DATA
23 .data 00000058 000058d4 000058d4 00000000 2**2
ALLOC, LOAD, DATA
24 __DATA.__common 00000010 0000592c 0000592c 00000000 2**2
ALLOC
25 .debug_abbrev 0000028a 00008000 00008000 00002000 2**0
CONTENTS, DEBUGGING
26 .debug_aranges 000000c0 0000828a 0000828a 0000228a 2**0
CONTENTS, DEBUGGING
27 .debug_info 0000813c 0000834a 0000834a 0000234a 2**0
CONTENTS, DEBUGGING
28 __DWARF.__debug_inlined 00000038 00010486 00010486 0000a486 2**0
CONTENTS, ALLOC, LOAD, DATA
29 .debug_line 00001205 000104be 000104be 0000a4be 2**0
CONTENTS, DEBUGGING
30 .debug_pubnames 0000028e 000116c3 000116c3 0000b6c3 2**0
CONTENTS, DEBUGGING
31 .debug_pubtypes 0000159f 00011951 00011951 0000b951 2**0
CONTENTS, DEBUGGING
32 .debug_str 00005e4f 00012ef0 00012ef0 0000cef0 2**0
CONTENTS, DEBUGGING
33 __DWARF.__apple_names 0000033c 00018d3f 00018d3f 00012d3f 2**0
CONTENTS, ALLOC, LOAD, DATA
34 __DWARF.__apple_types 000016a3 0001907b 0001907b 0001307b 2**0
CONTENTS, ALLOC, LOAD, DATA
35 __DWARF.__apple_namespac 00000024 0001a71e 0001a71e 0001471e 2**0
CONTENTS, ALLOC, LOAD, DATA
36 __DWARF.__apple_objc 00000088 0001a742 0001a742 00014742 2**0
CONTENTS, ALLOC, LOAD, DATA

dSYM is indeed a container (directory), within which is a Mach O binary containing only DWARF debug data, and no code.
You can inspect it in Python using filebytes and pyelftools:
import io
from filebytes.mach_o import MachO
from elftools.dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
macho = MachO(filename)
data = {
section.name: DebugSectionDescriptor(io.BytesIO(section.bytes), section.name, None, len(section.bytes), 0)
for loadcmd in macho.loadCommands
if getattr(loadcmd, 'name', None) == '__DWARF'
for section in loadcmd.sections
}
dwarfinfo = DWARFInfo(
config=DwarfConfig(
little_endian=True,
default_address_size=8, # 64 bit
machine_arch='x64',
),
debug_info_sec=data['__debug_info'],
debug_aranges_sec=None,
debug_abbrev_sec=data['__debug_abbrev'],
debug_frame_sec=None,
eh_frame_sec=data['__eh_frame'],
debug_str_sec=data['__debug_str'],
debug_loc_sec=data['__debug_loc'],
debug_ranges_sec=data['__debug_ranges'],
debug_line_sec=data['__debug_line']
)

You will be able to read the DWARF debug info with the dwarfdump command.

There's also a GUI DWARF Explorer at https://pypi.org/project/dwex/ . Install by running pip install dwex from the command, then run with dwex.
It supports dSYM bundles. Drag one over the main window, and watch the tree.

Related

ESP8266 constantly resetting, but blink script works

Hello I have been using the Wemos D1 mini lite for awhile now with this ArduCAM setup. Everything was working perfectly, but now my esp8266 is constantly resetting.
I unplugged the ArduCAM and saw I can ran the blink script successfully, but when I try to run a script where it attempts to connect to wifi, it constantly resets.
Here is my code:
#include <ESP8266WiFi.h> // Include the Wi-Fi library
const char* ssid = "ssid"; // The SSID (name) of the Wi-Fi network you want to connect to
const char* password = ""; // The password of the Wi-Fi network
void setup() {
Serial.begin(115200); // Start the Serial communication to send messages to the computer
delay(10);
Serial.println('\n');
WiFi.begin(ssid, password); // Connect to the network
Serial.print("Connecting to ");
Serial.print(ssid); Serial.println(" ...");
int i = 0;
while (WiFi.status() != WL_CONNECTED) { // Wait for the Wi-Fi to connect
delay(1000);
Serial.print(++i); Serial.print(' ');
}
Serial.println('\n');
Serial.println("Connection established!");
Serial.print("IP address:\t");
Serial.println(WiFi.localIP()); // Send the IP address of the ESP8266 to the computer
}
void loop() { }
When I run this, I get the following:
load 0x4010f000, len 1392, room 16
tail 0
chksum 0xd0
csum 0xd0
v3d128e5c
~ld
Exception (3):
epc1=0x40100710 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4006e989 depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffb90 end: 3fffffc0 offset: 01a0
3ffffd30: feefeffe feefeffe feefeffe feefeffe
3ffffd40: feefeffe feefeffe feefeffe 3ffffef0
3ffffd50: 0000049c 0000049c 00000020 40100900
3ffffd60: feefeffe feefeffe feefeffe feefeffe
3ffffd70: 00000002 400042db 000000fd 40100b58
3ffffd80: 40004b31 00001000 000000fd 40100274
3ffffd90: 40105ae0 feefeffe feefeffe 4022da8d
3ffffda0: 40105c9d 4022db77 3ffef25c 0000049c
3ffffdb0: 000000fd 3ffffef0 3ffef25c 4022db5a
3ffffdc0: ffffff00 55aa55aa 0000000e 00000020
3ffffdd0: 00000020 00000078 00000012 aa55aa55
3ffffde0: 000000ff 4022e05a 3ffef25c 3ffef25c
3ffffdf0: 000000ff 00000119 00000119 40100640
3ffffe00: 40105c9d 00000001 3ffef26c 4022e27a
3ffffe10: 00000005 3ffef25c 000000ff 3ffffef0
3ffffe20: 3fffff10 3ffef293 0000000e 00000020
3ffffe30: 3ffef31c 3fffff51 00000001 4022e32a
3ffffe40: 3ffffef0 40239860 00000000 00000000
3ffffe50: 3ffef65c 3fffff10 3fff5594 4022e2f9
3ffffe60: 3ffef25c 4022e360 3ffe84d4 3ffe8642
3ffffe70: 40201946 3ffe8642 3ffe8663 4020189b
3ffffe80: 76696e55 69737265 6f207974 61572066
3ffffe90: 6e696873 6e6f7467 3ffffe00 40204cbc
3ffffea0: 3ffee400 00000000 3ffffe60 40204ef9
3ffffeb0: 00000f98 000001f3 000001f3 40100640
3ffffec0: 000006e8 000000dd 00000014 3ffeebc4
3ffffed0: 007a1200 44e0a632 00000000 401008cb
3ffffee0: adb5c801 fe20b34c feefeffe 00000100
3ffffef0: 76696e55 69737265 6f207974 61572066
3fffff00: 6e696873 6e6f7467 feefef00 feefeffe
3fffff10: 40203500 3ffeefcc 3ffeef4c 402035af
3fffff20: 0000001c 0001c200 00000000 00000000
3fffff30: 00000003 40203771 ffffffff 00000001
3fffff40: 40105065 00000001 3ffee35c 3ffee3d4
3fffff50: 00000000 00000001 3ffee381 00000000
3fffff60: 00000004 00000000 3ffee328 00000001
3fffff70: 0001c200 0000001c 00000000 3ffee3d4
3fffff80: 3fffdad0 3ffee328 3ffee35c 40201073
3fffff90: feefeffe feefeffe feefeffe feefeffe
3fffffa0: feefeffe 00000000 3ffee394 402024b4
3fffffb0: feefeffe feefeffe 3ffe84f0 40100b8d
<<<stack<<<
over and over and over.
I don't understand what is happening. Did I possibly short it? It couldn't have been the ArduCAM, since this was working fine already.
edit:
I found out that the Wifi.begin(ssid,password) command causes the constant reboots. When I remove this, it doesn't reboot. How can I fix this?
I think your main loop is empty. Add while(true) in the main loop function
and it´s better to set the esp in sation mode.
WiFi.mode(WIFI_STA);

ESP8266 Telegram echo-bot throws exception

I am trying to run the echo bot example from https://github.com/CasaJasmina/TelegramBot-Library/tree/master/examples/EchoBot-ESP8266 on my ESP8266 NodeMCU using Arduino IDE 1.8.9
When Wifi is connected the serial monitor gives me the following exception:
13:48:10.135 -> WiFi connected
13:48:27.328 -> no new message
13:48:27.328 ->
13:48:27.328 -> Exception (3):
13:48:27.328 -> epc1=0x402077c6 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4006ea81 depc=0x00000000
13:48:27.328 ->
13:48:27.328 -> >>>stack>>>
13:48:27.328 ->
13:48:27.328 -> ctx: cont
13:48:27.328 -> sp: 3ffffd50 end: 3fffffc0 offset: 01a0
13:48:27.328 -> 3ffffef0: 3ffeecac 0000ff19 0000ff19 402078c4
13:48:27.328 -> 3fffff00: 3fffdad0 00000000 3fffff64 40207cec
13:48:27.328 -> 3fffff10: 3ffe85dd 3fffff70 3ffeeba4 40205cb4
13:48:27.328 -> 3fffff20: 00000000 00000000 3ffeea78 40205cd8
13:48:27.328 -> 3fffff30: 3fffdad0 00000000 3ffeea78 40201134
13:48:27.362 -> 3fffff40: 000001bb 00000d50 3ffeeba4 3ffeec1c
13:48:27.362 -> 3fffff50: 000001bb 3ffeea84 3ffe865c 3ffeec1c
13:48:27.362 -> 3fffff60: 000001bb 3ffeea84 3ffe865c 402035bd
13:48:27.362 -> 3fffff70: 40208748 dca79a95 40208748 dca79a95
13:48:27.362 -> 3fffff80: 3fffdad0 3ffeeb50 3ffeea78 402042fc
13:48:27.362 -> 3fffff90: 3fffdad0 3ffeeb50 3ffeeba4 402010b6
13:48:27.362 -> 3fffffa0: feefeffe 00000000 3ffeebec 40206484
13:48:27.396 -> 3fffffb0: feefeffe feefeffe 3ffe8558 40100461
13:48:27.396 -> <<<stack<<<
13:48:27.396 ->
13:48:27.396 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
13:48:27.396 ->
13:48:27.396 -> load 0x4010f000, len 1384, room 16
13:48:27.396 -> tail 8
13:48:27.396 -> chksum 0x2d
13:48:27.396 -> csum 0x2d
13:48:27.396 -> v8b899c12
13:48:27.396 -> ~ld
13:48:27.464 -> Connecting Wifi: ...
13:48:28.954 -> WiFi connected
and so on and so forth.
The bot itself seems to be working:
one can send messages within Telegram;
it is possible to send messages using the HTTP GET,
it is also possible to send messages from a browser like https://api.telegram.org/bot/sendMessage?chat_id=163202456&text=message-sent-from-browser)
What I will do next is to find out the "rst cause": https://www.espressif.com/sites/default/files/documentation/esp8266_reset_causes_and_common_fatal_exception_causes_en.pdf
Does anyone have an idea how to investigate further?

Unity3D Firebase Access Violation

I use FirebaseAuth.unitypackage and FirebaseDatabase.unitypackage packages in my project. When I want to test SignInWithCredentialAsync and SetRawJsonValueAsync operations in the editor, the editor crashes. When I checked the error.log, it says:
FirebaseCppApp-5.0.0.dll caused an Access Violation (0xc0000005)
in module FirebaseCppApp-5.0.0.dll at 0033:b7cf5c00.
Full error.log:
Unity Editor [version: Unity 5.6.3f1_d3101c3b8468]
FirebaseCppApp-5.0.0.dll caused an Access Violation (0xc0000005)
in module FirebaseCppApp-5.0.0.dll at 0033:b7cf5c00.
Error occurred at 2018-06-22_095612.
C:\Program Files\Unity_5.6.3\Editor\Unity.exe, run by Hammurabi Win01.
74% memory in use.
7923 MB physical memory [1986 MB free].
12608 MB paging file [5375 MB free].
134217728 MB user address space [134211578 MB free].
Write to location 00000028 caused an access violation.
Context:
RDI: 0x0dc44170 RSI: 0x00000003 RAX: 0x00000000
RBX: 0x0dc44178 RCX: 0xc19da2b4 RDX: 0x00000000
RIP: 0xb7cf5c00 RBP: 0x4678f409 SegCs: 0x00000033
EFlags: 0x00010206 RSP: 0x4678f270 SegSs: 0x0000002b
R8: 0x4678f208 R9: 0x4678f409 R10: 0x00000000
R11: 0x00000246 R12: 0x00000000 R13: 0x0b2267f8
R14: 0x00000000 R15: 0x00000000
Bytes at CS:EIP:
ff 40 28 48 8b 0b f6 43 08 01 74 08 ff 15 26 a7
Stack:
0x4678f270: 0dc44178 00000000 0dc44178 00000000 xA......xA......
0x4678f280: 00000000 00000000 000026ec 00000000 .........&......
0x4678f290: fffffffe ffffffff 00000000 00000000 ................
0x4678f2a0: 4678f378 00000000 b7cb6cd5 00007ff8 x.xF.....l......
0x4678f2b0: 0dc44178 00000000 0dc44218 00000000 xA.......B......
0x4678f2c0: 00000000 00000000 3aad0a60 00000000 ........`..:....
0x4678f2d0: 0dc44170 00000000 00000003 00000000 pA..............
0x4678f2e0: fffffffe ffffffff 4678f378 00000000 ........x.xF....
0x4678f2f0: 2da51300 00000000 2da515a0 00000000 ...-.......-....
0x4678f300: 00000000 00000000 0000000f 00000000 ................
0x4678f310: 5580bf25 0000e36d 2da515a0 00000000 %..Um......-....
0x4678f320: 0dc44218 00000000 4678f4e0 00000000 .B........xF....
0x4678f330: 0dc44218 00000000 b7cbb074 00007ff8 .B......t.......
0x4678f340: 00000000 002bbdb5 00000000 00000000 ......+.........
0x4678f350: 00000000 00000000 82c2bb0a 00007ff8 ................
0x4678f360: 2da51280 00000000 00000000 00000000 ...-............
0x4678f370: 00000000 00000000 0dc44170 00000000 ........pA......
0x4678f380: 00000008 00000000 00000003 00000000 ................
0x4678f390: 00000000 00000000 00000000 00000000 ................
0x4678f3a0: 2ca25b30 00000000 fffffffe ffffffff 0[.,............
0x4678f3b0: 4678f4e0 00000000 0aaf6b40 00000000 ..xF....#k......
0x4678f3c0: 00000000 00000000 2ca25b30 00000000 ........0[.,....
0x4678f3d0: 00000000 00000000 82c330c0 00007ff8 .........0......
0x4678f3e0: 00000000 00000000 00000000 00000000 ................
0x4678f3f0: 314f5690 00000000 82bb4862 00007ff8 .VO1....bH......
0x4678f400: 00000000 00000000 4678ff38 00000000 ........8.xF....
0x4678f410: 0b2267f8 00000000 00000000 00000000 .g".............
0x4678f420: 2ca25b30 00000000 0b27018f 00000000 0[.,......'.....
0x4678f430: 5580bed5 0000e36d 0aaf6b40 00000000 ...Um...#k......
0x4678f440: 4678ff38 00000000 0dc44218 00000000 8.xF.....B......
0x4678f450: 0aaf6b40 00000000 4678f4e0 00000000 #k........xF....
0x4678f460: 4678f500 00000000 b7cbaf3c 00007ff8 ..xF....<.......
0x4678f470: 82b47e48 00007ff8 82b804d9 00007ff8 H~..............
0x4678f480: 00000000 00000000 82c6aa2c 00007ff8 ........,.......
0x4678f490: 00000000 00000000 82b4749c 00007ff8 .........t......
0x4678f4a0: 4678f548 00000000 b7cae745 00007ff8 H.xF....E.......
0x4678f4b0: 00000000 00000000 4678ff38 00000000 ........8.xF....
0x4678f4c0: 0b2267f8 00000000 82c330c0 00007ff8 .g"......0......
0x4678f4d0: 00000000 00000000 fffffffe ffffffff ................
0x4678f4e0: 4678f5c0 00000000 82b80873 00007ff8 ..xF....s.......
0x4678f4f0: 31e92581 00000000 34beddb0 00000000 .%.1.......4....
0x4678f500: 4678f640 00000000 b7c8ff10 00007ff8 #.xF............
0x4678f510: 2d49a7c0 00000000 4678f548 00000000 ..I-....H.xF....
0x4678f520: 00000000 00000000 82c330c0 00007ff8 .........0......
0x4678f530: fffffffe ffffffff 00000000 00000000 ................
0x4678f540: 00000000 00000000 2ca25b30 00000000 ........0[.,....
0x4678f550: 0aaf6b40 00000000 00000000 40d24d80 #k...........M.#
0x4678f560: 2ca25b30 00000000 2da51707 00000000 0[.,.......-....
0x4678f570: 2d49a7c0 00000000 00000000 00000000 ..I-............
0x4678f580: 00000000 00000000 00000000 00000000 ................
0x4678f590: 00000000 00000000 00000000 00000000 ................
0x4678f5a0: 00000000 00000000 00000000 00000000 ................
0x4678f5b0: 2d49a7c0 00000000 00000000 00000000 ..I-............
0x4678f5c0: 0dc44218 00000000 0aaf6b40 00000000 .B......#k......
0x4678f5d0: 034e0000 00000000 31e92580 00000000 ..N......%.1....
0x4678f5e0: 34beddb0 00000000 0000000f 00000000 ...4............
0x4678f5f0: 2da5140b 00000000 2d49a7c0 00000000 ...-......I-....
0x4678f600: 4678f640 00000000 4678f570 00000000 #.xF....p.xF....
0x4678f610: 00000000 00000000 0b2267f8 00000000 .........g".....
0x4678f620: 4678ff38 00000000 00000000 00000000 8.xF............
0x4678f630: 2ca25b30 00000000 0aaf6b40 00000000 0[.,....#k......
0x4678f640: 4678f6c0 00000000 2da51313 00000000 ..xF.......-....
0x4678f650: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678f660: 00000000 00000000 0000000f 00000000 ................
0x4678f670: 314ea7e0 00000000 0dc44218 00000000 ..N1.....B......
0x4678f680: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678f690: 00000000 00000000 314ea7e0 00000000 ..........N1....
0x4678f6a0: 00000000 00000000 034e0000 00000000 ..........N.....
0x4678f6b0: 314ea7e0 00000000 0dc44218 00000000 ..N1.....B......
0x4678f6c0: 4678f740 00000000 2da5057a 00000000 #.xF....z..-....
0x4678f6d0: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678f6e0: 313ccbb8 00000000 348a3678 00000000 ..<1....x6.4....
0x4678f6f0: 034e0000 00000000 00000000 00000000 ..N.............
0x4678f700: 3138dfa8 00000000 3141c420 00000000 ..81.... .A1....
0x4678f710: 313f67e0 00000000 305d2850 00000000 .g?1....P(]0....
0x4678f720: 314ea7e0 00000000 034e0000 00000000 ..N1......N.....
0x4678f730: 313f67e0 00000000 313f67e0 00000000 .g?1.....g?1....
0x4678f740: 4678f7c0 00000000 2da4fd50 00000000 ..xF....P..-....
0x4678f750: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678f760: 313ccbb8 00000000 348a3678 00000000 ..<1....x6.4....
0x4678f770: 034e0000 00000000 313ccba0 00000000 ..N.......<1....
0x4678f780: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678f790: 313ccbb8 00000000 00000000 00000000 ..<1............
0x4678f7a0: 3138dfa8 00000000 3141c420 00000000 ..81.... .A1....
0x4678f7b0: 313ccba0 00000000 034e0000 00000000 ..<1......N.....
0x4678f7c0: 4678f820 00000000 2da4fc1c 00000000 .xF.......-....
0x4678f7d0: 2da4fa8f 00000000 00000000 00000000 ...-............
0x4678f7e0: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678f7f0: 00000000 00000000 3141c420 00000000 ........ .A1....
0x4678f800: 313ccbb8 00000000 00000000 00000000 ..<1............
0x4678f810: 3134ca98 00000000 034e0000 00000000 ..41......N.....
0x4678f820: 4678f890 00000000 2da4fa49 00000000 ..xF....I..-....
0x4678f830: 00000000 00000000 2a88e5d8 00000000 ...........*....
0x4678f840: 034e0000 00000000 00000000 00000000 ..N.............
0x4678f850: 3144b3e0 00000000 313ccbb8 00000000 ..D1......<1....
0x4678f860: 00000000 00000000 3134ca98 00000000 ..........41....
0x4678f870: 3144b3e0 00000000 00000000 00000000 ..D1............
0x4678f880: 3134c7c8 00000000 034e0000 00000000 ..41......N.....
0x4678f890: 4678f950 00000000 2da4f590 00000000 P.xF.......-....
0x4678f8a0: 00000000 00000000 347cf760 00000000 ........`.|4....
0x4678f8b0: 314442a0 00000000 00000001 00000000 .BD1............
0x4678f8c0: 311153c0 00000000 31423230 00000000 .S.1....02B1....
0x4678f8d0: 00000000 00000000 314f56f0 00000000 .........VO1....
0x4678f8e0: 00000000 00000000 314f56f0 00000000 .........VO1....
0x4678f8f0: 310c3060 00000000 00000001 00000000 `0.1............
0x4678f900: 00000001 00000000 314442a0 00000000 .........BD1....
0x4678f910: 3144b3e0 00000000 00000000 00000000 ..D1............
0x4678f920: 3134c7c8 00000000 314442a0 00000000 ..41.....BD1....
0x4678f930: 00000001 00000000 034e0000 00000000 ..........N.....
0x4678f940: 314f56f0 00000000 303e8620 00000000 .VO1.... .>0....
0x4678f950: 4678f990 00000000 2da4f299 00000000 ..xF.......-....
0x4678f960: 00000000 00000000 00000000 00000000 ................
0x4678f970: 2da4f220 00000000 ffffffff ffffffff ..-............
0x4678f980: 31444280 00000000 034e0000 00000000 .BD1......N.....
0x4678f990: 4678fa20 00000000 2da4ed7f 00000000 .xF.......-....
0x4678f9a0: 4678fad0 00000000 0aaf6b40 00000000 ..xF....#k......
0x4678f9b0: 2da4ecd6 00000000 00000000 00000000 ...-............
0x4678f9c0: 305d4500 00000000 305d4500 00000000 .E]0.....E]0....
0x4678f9d0: 305d4500 00000000 00000000 00000000 .E]0............
0x4678f9e0: 034e0000 00000000 4678ff38 00000000 ..N.....8.xF....
0x4678f9f0: 00000000 00000000 4678f9b0 00000000 ..........xF....
0x4678fa00: 2da4ebf0 00000000 fffffffe ffffffff ...-............
0x4678fa10: 0b950000 00000000 2da4ebf0 00000000 ...........-....
0x4678fa20: 4678fad0 00000000 2da341ad 00000000 ..xF.....A.-....
0x4678fa30: 30cbca10 00000000 00000000 00000000 ...0............
0x4678fa40: 2da3410b 00000000 4678f840 00000000 .A.-....#.xF....
0x4678fa50: 4678fb10 00000000 305d4820 00000000 ..xF.... H]0....
0x4678fa60: 305d4500 00000000 31444940 00000000 .E]0....#ID1....
0x4678fa70: 034e0000 00000000 2a88e5d8 00000000 ..N........*....
0x4678fa80: 034e0000 00000000 305d4820 00000000 ..N..... H]0....
0x4678fa90: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678faa0: 00000000 00000000 4678fa40 00000000 ........#.xF....
0x4678fab0: 0b271d10 00000000 349f4be8 00000000 ..'......K.4....
0x4678fac0: 0ab490e6 00000000 0b271d10 00000000 ..........'.....
0x4678fad0: 4678fb10 00000000 2da33afd 00000000 ..xF.....:.-....
0x4678fae0: 00000000 00000000 00000000 00000000 ................
0x4678faf0: 2da33ab0 00000000 ffffffff ffffffff .:.-............
0x4678fb00: 3138dc30 00000000 034e0000 00000000 0.81......N.....
0x4678fb10: 4678fba0 00000000 2da33796 00000000 ..xF.....7.-....
0x4678fb20: 4678fc30 00000000 0aaf6b40 00000000 0.xF....#k......
0x4678fb30: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678fb40: 31444500 00000000 00000000 00000000 .ED1............
0x4678fb50: 00000000 00000000 034e0000 00000000 ..........N.....
0x4678fb60: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678fb70: 00000000 00000000 00000000 00000000 ................
0x4678fb80: 2da33730 00000000 ffffffff ffffffff 07.-............
0x4678fb90: 0b95000e 00000000 2da33730 00000000 ........07.-....
0x4678fba0: 4678fc30 00000000 2da3337c 00000000 0.xF....|3.-....
0x4678fbb0: 4678fcc0 00000000 0aaf6b40 00000000 ..xF....#k......
0x4678fbc0: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678fbd0: 314f3b10 00000000 314f3b10 00000000 .;O1.....;O1....
0x4678fbe0: 00000000 00000000 034e0000 00000000 ..........N.....
0x4678fbf0: 0b2267f8 00000000 4678ff38 00000000 .g".....8.xF....
0x4678fc00: 00000000 00000000 00000000 00000000 ................
0x4678fc10: 0b271d10 00000000 2b1e0058 00000000 ..'.....X..+....
0x4678fc20: 2baf59fd 00000000 0b271d10 00000000 .Y.+......'.....
0x4678fc30: 4678fcc0 00000000 0aaf6c42 00000000 ..xF....Bl......
0x4678fc40: 00000020 00000000 00000000 00007ff8 ...............
0x4678fc50: 00000000 00000000 82b1232d 00007ff8 ........-#......
0x4678fc60: 2baf59fd 00000000 00000000 00000000 .Y.+............
0x4678fc70: 4678ff38 00000000 30cbc850 00000000 8.xF....P..0....
0x4678fc80: 00000000 00000000 00000000 00000000 ................
0x4678fc90: 034e0000 00000000 82b1228b 00007ff8 ..N......"......
0x4678fca0: 2ca25b30 00000000 2ca25b30 00000000 0[.,....0[.,....
0x4678fcb0: 0aaf6b40 00000000 4678fd00 00000000 #k........xF....
0x4678fcc0: 4678fd00 00000000 82c35827 00007ff8 ..xF....'X......
0x4678fcd0: 2ca25b30 00000000 00000001 00000000 0[.,............
0x4678fce0: 2d49a7c0 00000000 2ca25b30 00000000 ..I-....0[.,....
0x4678fcf0: 00000000 00000000 c195265b 00007ff8 ........[&......
0x4678fd00: 0b2267f8 00000000 00000001 00000000 .g".............
0x4678fd10: 00000018 00000000 2d49a7c0 00000000 ..........I-....
0x4678fd20: 299d4600 00000000 30cbc850 00000000 .F.)....P..0....
0x4678fd30: 00000000 00000000 4678ff38 00000000 ........8.xF....
0x4678fd40: 00000000 00000000 00000000 00000000 ................
0x4678fd50: 00000001 00000000 2a362d00 00000000 .........-6*....
0x4678fd60: 00000018 00000000 00000000 00000000 ................
0x4678fd70: 30cbc850 00000000 82c8a045 00007ff8 P..0....E.......
0x4678fd80: 4678fdf0 00000000 4678fdf0 00000000 ..xF......xF....
0x4678fd90: 00000000 00000000 001f0000 00000000 ................
0x4678fda0: 00000000 00000000 82c7787d 00007ff8 ........}x......
0x4678fdb0: 00000000 00000000 2a362d00 00000000 .........-6*....
0x4678fdc0: 00000018 00000000 4678ff38 00000000 ........8.xF....
0x4678fdd0: 00000000 00000000 82b1759c 00007ff8 .........u......
0x4678fde0: 4678fe50 00000000 4678fe50 00000000 P.xF....P.xF....
0x4678fdf0: 00000000 00000000 82b30000 00007ff8 ................
0x4678fe00: 4678fe60 00000000 82b14c69 00007ff8 `.xF....iL......
0x4678fe10: 2af644b0 00000000 4678ff38 00000000 .D.*....8.xF....
0x4678fe20: 4678ff38 00000000 4678fe60 00000000 8.xF....`.xF....
0x4678fe30: 2ca25b30 00000000 82b58059 00007ff8 0[.,....Y.......
0x4678fe40: 1656f65c 00000911 4678ff38 00000000 \.V.....8.xF....
0x4678fe50: 00000000 00000000 00000000 00000000 ................
0x4678fe60: 00000000 00000000 00000001 00000000 ................
0x4678fe70: 2a362d00 00000000 00000000 00000000 .-6*............
0x4678fe80: 4678ff38 00000000 2ca25b30 00000000 8.xF....0[.,....
0x4678fe90: 30cbc850 00000000 82b88439 00007ff8 P..0....9.......
0x4678fea0: 2ca25b30 00000000 00000000 00000000 0[.,............
0x4678feb0: 30cbc850 00000000 2a362d00 00000000 P..0.....-6*....
0x4678fec0: 00000000 00000000 82bb37cb 00007ff8 .........7......
0x4678fed0: 303fde60 00000000 00000000 00000000 `.?0............
0x4678fee0: 30cbc850 00000000 00000000 00000000 P..0............
0x4678fef0: 00000000 00000000 00000000 00000000 ................
0x4678ff00: 00000000 00000000 00000000 00000000 ................
0x4678ff10: 00000000 00000000 00000000 00000000 ................
0x4678ff20: 00000000 00000000 82c6841d 00007ff8 ................
0x4678ff30: 0000640c 00000000 00000000 00000000 .d..............
0x4678ff40: 0b23bed0 00000000 00000000 00000000 ..#.............
0x4678ff50: 00000000 00000000 bf503034 00007ff8 ........40P.....
0x4678ff60: 0b23bed0 00000000 00000000 00000000 ..#.............
0x4678ff70: 00000000 00000000 00000000 00000000 ................
0x4678ff80: 00000000 00000000 c19b1431 00007ff8 ........1.......
0x4678ff90: 00000000 00000000 00000000 00000000 ................
0x4678ffa0: 00000000 00000000 00000000 00000000 ................
0x4678ffb0: 00000000 00000000 bea9bf10 00007ff8 ................
0x4678ffc0: 4678e350 00000000 4678e350 00000000 P.xF....P.xF....
0x4678ffd0: 00000000 00000000 00000000 00000000 ................
0x4678ffe0: 00000000 00000000 00000000 00000000 ................
0x4678fff0: 00000000 00000000 00000000 00000000 ................
Module 1
C:\Program Files\Unity_5.6.3\Editor\OpenRL_pthread.dll
Image Base: 0x80000000 Image Size: 0x0000f000
File Size: 42496 File Time: 2017-07-23_105438
Version:
Company: Open Source Software community LGPL
Product: POSIX Threads for Windows LPGL
FileDesc: MS C 32 bit
FileVer: 2.9.0.0
ProdVer: 2.9.0.0
Module 2
C:\Program Files\Unity_5.6.3\Editor\OpenRL.dll
Image Base: 0x80000000 Image Size: 0x00c30000
File Size: 12654592 File Time: 2017-07-23_105438
Version:
Company: Imagination Technologies, Inc.
Product: OpenRL™
FileDesc: OpenRL™ Library
FileVer: 1.5.100.0
ProdVer: 1.5.100.0
Module 3
C:\WINDOWS\SYSTEM32\MSVCP100.dll
Image Base: 0x53ec0000 Image Size: 0x00098000
File Size: 608080 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Module 4
C:\WINDOWS\SYSTEM32\MSVCR100.dll
Image Base: 0x53f60000 Image Size: 0x000d2000
File Size: 829264 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
== [end of error.log] ==
It does not happen all the time but frequently. Let say, 1/2 of my tests.
public void SendData() {
FirebaseAuth auth = FirebaseAuth.DefaultInstance;
Credential credential = FacebookAuthProvider.GetCredential(accessToken);
auth.SignInWithCredentialAsync(credential).ContinueWith(task => {
if (task.IsCompleted) {
FirebaseUser firebaseUser = task.Result;
Debug.LogFormat("User signed in successfully: {0} ({1})",
firebaseUser.DisplayName, firebaseUser.UserId);
// FIREBASE DATABASE INIT
// THIS IS EDITOR ONLY CODE. Firebase handles differently in the client.
FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("https://<<hidden>>.firebaseio.com/");
// FIREBASE DATABASE SAVE (Root Reference)
DatabaseReference reference = FirebaseDatabase.DefaultInstance.RootReference;
User user = new User(firebaseUser.UserId, "Eray", "test#testing.me");
string json = JsonUtility.ToJson(user);
reference.Child("users").Child("Eray").SetRawJsonValueAsync(json).ContinueWith(setValueTask => {
Debug.Log("Set Completed: " + setValueTask.IsCompleted);
Debug.Log("Successful: " + (setValueTask.Exception != null));
});
} else {
Debug.LogError("Firebase SignIn is NOT completed");
}
});
}
Adding a folder with your package name (i.e. com.companyName.appName) into AppData/Local worked for me. Found the solution here

JVM craches with EXCEPTION_ACCESS_VIOLATION

In my java application multiple threads periodically getting system´s "process list" through a dll(named ProcessDLL.dll). When there is only one thread in my application then it works fine. But with more than one threads i get a EXCEPTION_ACCESS_VIOLATION.
Is this a problem with DLL implementation or in java application where multiple threads trying to access dll? Any ideas...
Following is my Error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9108d3, pid=2880, tid=1584
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x108d3]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x0a9c9800): JavaThread "taskmgr" [_thread_in_native, id=1584, stack(0x0be70000,0x0bec0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x656c6441
Registers:
EAX=0x656c6441, EBX=0x0b2f0178, ECX=0x656c6449, EDX=0x000001aa
ESP=0x0bebf778, EBP=0x0bebf834, ESI=0x0b3a31b0, EDI=0x0b2f0000
EIP=0x7c9108d3, EFLAGS=0x00010293
Top of Stack: (sp=0x0bebf778)
0x0bebf778: 0b2f21d0 0b3a3860 00000000 00000000
0x0bebf788: 0bebf76c 0b3a31b0 0b2f0178 7403c6dc
0x0bebf798: 0b3b3c50 ffffffff 74005087 74005bec
0x0bebf7a8: 0b3b0ff8 0b6e30b8 656c6441 00000000
0x0bebf7b8: 00000000 0bebf7f0 00000000 0b6e2fa8
0x0bebf7c8: 0b2a1ef8 6a957160 656c6449 000006a8
0x0bebf7d8: 0b6e7740 00000001 0b712c98 00000035
0x0bebf7e8: 0bebf80c 7400605b 0b3b0ff8 74004866
Instructions: (pc=0x7c9108d3)
0x7c9108c3: d9 74 16 8d 41 f8 89 85 7c ff ff ff 66 8b 55 e4
0x7c9108d3: 66 3b 10 0f 87 93 fe ff ff 8d 46 08 89 85 64 ff
Stack: [0x0be70000,0x0bec0000], sp=0x0bebf778, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x108d3]
C [ProcessDLL.dll+0x127a2]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j process.info.NTProcessWin32.jniGetProcessInfosN([Ljava/lang/String;J)[Lprocess/info/NTProcess;+0
j process.info.NTProcessWin32.getProcessInfos([Ljava/lang/String;J)[Lprocess/info/NTProcess;+9
j process.info.InstanceController.getAndSetProcesses()V+17
j process.info.ControllerImpl$UpdateGraphTimer.run()V+7
j java.util.TimerThread.mainLoop()V+221
j java.util.TimerThread.run()V+1
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x003a7000 JavaThread "DestroyJavaVM" [_thread_blocked, id=1288, stack(0x00840000,0x00890000)]
=>0x0a9c9800 JavaThread "taskmgr" [_thread_in_native, id=1584, stack(0x0be70000,0x0bec0000)]
0x0afb8400 JavaThread "notepad" [_thread_blocked, id=3408, stack(0x0be20000,0x0be70000)]
0x0aee8800 JavaThread "mspaint" [_thread_blocked, id=3188, stack(0x0bdd0000,0x0be20000)]
0x0aee7400 JavaThread "mmc" [_thread_blocked, id=3196, stack(0x0bd80000,0x0bdd0000)]
0x0aa5dc00 JavaThread "firefox" [_thread_blocked, id=1224, stack(0x0bd30000,0x0bd80000)]
0x0b0b7c00 JavaThread "eclipse" [_thread_in_native, id=2628, stack(0x0bc80000,0x0bcd0000)]
0x0b7e4400 JavaThread "cmd" [_thread_blocked, id=3804, stack(0x0bc30000,0x0bc80000)]
0x0b7e0800 JavaThread "7zFM" [_thread_blocked, id=296, stack(0x0bbe0000,0x0bc30000)]
0x0b0b5000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3724, stack(0x0b790000,0x0b7e0000)]
0x0af9cc00 JavaThread "Thread-1" daemon [_thread_blocked, id=244, stack(0x0b0c0000,0x0b110000)]
0x0aa5a800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1480, stack(0x0ae20000,0x0ae70000)]
0x0aa57400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3656, stack(0x0add0000,0x0ae20000)]
0x0aa52800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=3756, stack(0x0ad80000,0x0add0000)]
0x0aa47400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=3672, stack(0x0ad30000,0x0ad80000)]
0x0aa44c00 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=3500, stack(0x0ace0000,0x0ad30000)]
0x0aa39c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3660, stack(0x0abf0000,0x0ac40000)]
0x0aa38800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2604, stack(0x0aba0000,0x0abf0000)]
0x0aa29400 JavaThread "Finalizer" daemon [_thread_blocked, id=1628, stack(0x0ab50000,0x0aba0000)]
0x0aa24c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3940, stack(0x0ab00000,0x0ab50000)]
Other Threads:
0x0aa20800 VMThread [stack: 0x0aab0000,0x0ab00000] [id=3048]
0x0aa6e000 WatcherThread [stack: 0x0ae70000,0x0aec0000] [id=3232]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 733K [0x02910000, 0x02a10000, 0x02df0000)
eden space 896K, 74% used [0x02910000, 0x029b76a8, 0x029f0000)
from space 64K, 99% used [0x02a00000, 0x02a0fff8, 0x02a10000)
to space 64K, 0% used [0x029f0000, 0x029f0000, 0x02a00000)
tenured generation total 4096K, used 3164K [0x02df0000, 0x031f0000, 0x06910000)
the space 4096K, 77% used [0x02df0000, 0x031073c0, 0x03107400, 0x031f0000)
compacting perm gen total 12288K, used 8431K [0x06910000, 0x07510000, 0x0a910000)
the space 12288K, 68% used [0x06910000, 0x0714bc90, 0x0714be00, 0x07510000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe
0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db3b000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d860000 - 0x6d86c000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\java.dll
0x6d340000 - 0x6d348000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d430000 - 0x6d459000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\jdwp.dll
0x6d750000 - 0x6d756000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\npt.dll
0x6d8a0000 - 0x6d8af000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\zip.dll
0x6d2b0000 - 0x6d2b7000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\dt_socket.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x10000000 - 0x1003b000 C:\DATA\ProcessDLL.dll
0x74000000 - 0x74056000 C:\WINDOWS\system32\pdh.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
0x77a80000 - 0x77b15000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
0x711a0000 - 0x711a6000 C:\WINDOWS\system32\odbcbcp.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x774e0000 - 0x7761e000 C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x0b280000 - 0x0b297000 C:\WINDOWS\system32\odbcint.dll
0x5e750000 - 0x5e75d000 C:\WINDOWS\system32\perfproc.dll
0x6d6c0000 - 0x6d6d3000 C:\Program Files\Java\jdk1.6.0_16\jre\bin\net.dll
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1349 -Dfile.encoding=UTF-8
java_command: process.info.MainClass
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16
PATH=C:\Program Files\Java\jdk1.6.0_16\jre\bin;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_16\bin;C:\Program Files\Ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\NSIS;;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2
Memory: 4k page, physical 2096620k(1088228k free), swap 4036496k(3130120k free)
vm_info: Java HotSpot(TM) Client VM (14.2-b01) for windows-x86 JRE (1.6.0_16-b01), built on Jul 31 2009 11:26:58 by "java_re" with MS VC++ 7.1
time: Wed Apr 04 11:15:02 2012
elapsed time: 30 seconds
I think you PrecessDLL.dll is not Thread-Safe. You'll have to synchronize your code, to access it only once per time. Or you must fix your ProcessDLL.dll to be multithread-safe.
You may also update your JVM (1.6.16 is quite old), but I don't think, that this version leads to the error.
update
# The crash happened outside the Java Virtual Machine in native code.
The better approach (from my point of view) is to fix the DLL.

Unable to lookup remote EJB on Websphere 8

I have deployed an EJB with local and remote interfaces, and I can lookup the local one OK after deployment, but I'm not able to to do with the remote, from a Java SE client.
The EJB code is simple:
#Local(DemoFacade.class)
#Remote(DemoFacadeRemote.class)
#Stateless
public class DemoFacadeBean implements DemoFacade
<snip>
The lookup code is also simple:
Properties env1 = new Properties();
env1.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
env1.put(Context.PROVIDER_URL, "corbaloc:iiop:localhost:2809");
Context initialContext;
initialContext = new InitialContext(env1);
Object ejbHome = initialContext.lookup("cell/nodes/OVLM46008QPZKQ1Node01/servers/server1/ejb/DemoFacadeRemote");
I also tried many variations of the jndi lookup, but all fails with the same error.
Object ejbHome = initialContext.lookup("cell/nodes/OVLM46008QPZKQ1Node01/servers/server1/java:global/WebSphereDemo/WebSphereDemoEJB/DemoFacadeBean!com.test.DemoFacadeRemote");
I have added the following arguments to help debug:
-Dcom.ibm.CORBA.Debug=true -Dcom.ibm.CORBA.CommTrace=true -Dcom.ibm.CORBA.Debug.Output=c:/temp/client.log -Dcom.ibm.ejs.ras.lite.traceSpecification=*=all -Djava.endorsed.dirs=C:/data/workspace/WebSphereDemoEJBTest/lib/websphereclient/eee
The classpath is set to all jars of the websphere/lib folder.
The full console output is (sorry by the length of the output, some of it is ommitted). Real error at the very end.
thanks for any suggestions.
************ Start Display Current Environment ************
<snip>
[26/07/2011 15:49:32:122 EST] 00000000 com.ibm.ws.naming.ipbase.NameSpace > lookUpRootContext Entry
bindingName=IIOP_DEFAULT_ROOT
rootBindingData=com.ibm.ws.naming.ipbase.BindingsTableData#fffd6386
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.ipbase.NameSpace < lookUpRootContext Exit
javax.naming.NameNotFoundException: Root context not found.
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.jcache.Cache 3 lookup
NamingException: javax.naming.NameNotFoundException: Root context not found.
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.jcache.Cache < lookup Exit
Throwing CacheEntryNotFoundException: com.ibm.ws.naming.jcache.CacheEntryNotFoundException: Entry "IIOP_DEFAULT_ROOT" not found in cache. [Root exception is javax.naming.NameNotFoundException: Root context not found.]
[26/07/2011 15:49:32:123 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > getRootJndiContext Entry
[26/07/2011 15:49:32:124 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil 3 SOURCE CODE INFO: SERV1/ws/code/naming.client/src/com/ibm/ws/naming/util/TransactionUtil.java, WAS.naming.client, WAS80.SERV1, m1116.12, ver. 1.5
[26/07/2011 15:49:32:124 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil > suspend Entry
[26/07/2011 15:49:32:127 EST] 00000000 com.ibm.ws.uow.UOWManagerFactory > getUOWManager Entry
[26/07/2011 15:49:32:128 EST] 00000000 com.ibm.ws.uow.UOWManagerFactory < getUOWManager Exit
com.ibm.ws.uow.ClientUOWManagerImpl#fffdb786
[26/07/2011 15:49:32:128 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil 3 suspend
current transaction suspended
[26/07/2011 15:49:32:128 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil < suspend Exit
[26/07/2011 15:49:32:129 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > getRootContextFromServer Entry
wsnObjectUrl=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
objectUrl=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/NameService
[26/07/2011 15:49:32:129 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > getWsnNameService Entry
objectUrl=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
[26/07/2011 15:49:32:130 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory 3 getWsnNameService
Attempting to connect to name server using URL corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
[26/07/2011 15:49:32:130 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > stringToObject Entry
string=corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/WsnNameService
[26/07/2011 15:49:32:137 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl > initialize Entry
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 version :
1.30
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR > getWLMIOR Entry
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - typeid=
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - host= ovlm46008qpzkq1.oakton.com.au
[26/07/2011 15:49:32:138 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - port= 2809
[26/07/2011 15:49:32:139 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - objectKey= 0x57736e4e616d6553657276696365
[26/07/2011 15:49:32:139 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - taggedcomponent= [Lcom.ibm.rmi.Profile$TaggedComponent;#fffde943
[26/07/2011 15:49:32:143 EST] 00000000 ebsphere.cluster.topography.KeyRepositoryFactory 3 version :
1.2
[26/07/2011 15:49:32:147 EST] 00000000 com.ibm.ws.cluster.topography.KeyRepositoryImpl 3 version :
1.15
[26/07/2011 15:49:32:147 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 component_data
[26/07/2011 15:49:32:147 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl < initialize - getWLMIOR returned a null Exit
[26/07/2011 15:49:32:192 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl > initialize Entry
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR > getWLMIOR Entry
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - typeid= IDL:com.ibm/WsnBootstrap/WsnNameService:1.0
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - host= OVLM46008QPZKQ1.oakton.com.au
[26/07/2011 15:49:32:192 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - port= 0
[26/07/2011 15:49:32:193 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - objectKey= 0x4a4d4249000000104773e3aa0000000000000000000000000000000000000024000000080000000000000000
[26/07/2011 15:49:32:193 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 getWLMIOR - taggedcomponent= [Lcom.ibm.rmi.Profile$TaggedComponent;#fffc731f
[26/07/2011 15:49:32:193 EST] 00000000 com.ibm.ws.wlm.configuration.WLMIOR 3 component_data
[26/07/2011 15:49:32:193 EST] 00000000 er.router.selection.WLMClientForCommonRouterImpl < initialize - getWLMIOR returned a null Exit
[26/07/2011 15:49:32:198 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory < stringToObject Exit
[26/07/2011 15:49:32:200 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory < getWsnNameService Exit
[26/07/2011 15:49:32:202 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory > mergeWsnNSProperties Entry
[26/07/2011 15:49:32:217 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: org.omg.CORBA.TRANSIENT: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine:host=OVLM46008QPZKQ1.oakton.com.au,port=0 vmcid: IBM minor code: E02 completed: No com.ibm.ws.orbimpl.transport.WSTransport.getConnection 448
[26/07/2011 15:49:32:237 EST] 00000000 com.ibm.ws.naming.util.RasUtil 3 SOURCE CODE INFO: SERV1/ws/code/naming/src/com/ibm/ws/naming/util/RasUtil.java, WAS.naming, WAS80.SERV1, m1116.12, ver. 1.2
[26/07/2011 15:49:32:238 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties 1549
[26/07/2011 15:49:32:238 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory mergeWsnNSProperties
FFDC: sourceId=com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties, probeId=1549
org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:239 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory < mergeWsnNSProperties Exit
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:240 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No] com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext 963
[26/07/2011 15:49:32:240 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory getRootJndiContext
FFDC: sourceId=com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext, probeId=963
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:242 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory 3 getRootJndiContext
Could not connect to name server using URL corbaloc:iiop:1.0#ovlm46008qpzkq1.oakton.com.au:2809/NameService
[26/07/2011 15:49:32:245 EST] 00000000 com.ibm.ws.ffdc.FFDCFilter 3 FFDC exception: javax.naming.NamingException: NMSV0602E: Naming Service unavailable. A communications error occurred. [Root exception is javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]] com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext 886
[26/07/2011 15:49:32:247 EST] 00000000 com.ibm.ws.naming.util.WsnInitCtxFactory getRootJndiContext
FFDC: sourceId=com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext, probeId=886
javax.naming.NamingException: NMSV0602E: Naming Service unavailable. A communications error occurred. [Root exception is javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]]
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:979)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
... 7 more
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
[26/07/2011 15:49:32:247 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil > resume Entry
wrapper=com.ibm.ws.naming.util.TransactionUtil$TransactionWrapper#fffae2a9[_manager=com.ibm.ws.uow.ClientUOWManagerImpl#fffdb786, _token=null]
[26/07/2011 15:49:32:248 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil 3 resume
no transaction to resume
[26/07/2011 15:49:32:248 EST] 00000000 com.ibm.ws.naming.util.TransactionUtil < resume Exit
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1550)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:1040)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:960)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:612)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:765)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
at javax.naming.InitialContext.lookup(InitialContext.java:431)
at com.oakton.MainTest.main(MainTest.java:20)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: IBM minor code: E07 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1274)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1342)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1162)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1308)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1884)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1264)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:458)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1547)
... 9 more
Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
at java.net.Socket.connect(Socket.java:539)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:295)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:130)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.ClientDelegate.locate(ClientDelegate.java:1981)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:2006)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1184)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1270)
... 17 more
I came across something like this and adding these two params helped:
-Dcom.ibm.SSL.ConfigURL=file:$profile_root/properties/ssl.client.props
-Dcom.ibm.CORBA.ConfigURL=file:$profile_root/properties/sas.client.props
You may also have to set these params too or hardcode them in sas.client.props, I noticed that the prompt kept timing out waiting for login credentials if I did not include these ones.
-Dcom.ibm.CORBA.loginUserid=${WasUserid}
-Dcom.ibm.CORBA.loginPassword=${WasPassword}
-Dcom.ibm.CORBA.loginSource=properties
just noticed that my listener address / url format is different too:
-Djava.naming.provider.url=iiop://localhost:${ORB_LISTENER_ADDRESS} . You can find the orb listener port in config/cells//nodes//serverindex.xml .
Hope that works!

Resources