make[1]: Entering directory `/c/work/gnucash/ORBit2-2.14.2/test/everything'
Sample name: '/tmp/orbit-/tst/orbit-/linc-78fe-0-14c0fc671d5b4'
Running with socketdir: '/tmp/orbit-/tst'
testing with --ORBIIOPIPv4=1 --ORBIIOPUSock=0 --ORBCorbaloc=1
./client --ORBIIOPIPv4=1 --ORBIIOPUSock=0 --ORBCorbaloc=1
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) Breakpoint 1 at 0x417960
(gdb) Starting program: c:\work\gnucash\ORBit2-2.14.2\test\everything/./client.exe --ORBIIOPIPv4=1 --ORBIIOPUSock=0 --ORBCorbaloc=1

Breakpoint 1, ORBit_small_invoke_async (obj=0x7784a8, m_data=0x41b8c0, 
    fn=0x414f8c <test_BasicServer_opStringA_cb>, user_data=0x0, args=0x22fa80, 
    ctx=0x0, ev=0x22ff50) at orbit-small.c:1178
1178		ORBitAsyncQueueEntry   *aqe = g_new (ORBitAsyncQueueEntry, 1);
(gdb) Breakpoint 2 at 0x638e80fb: file linc-connection.c, line 708.
(gdb) Continuing.

Breakpoint 2, link_connection_initiate (derived_type=7856304, 
    proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=LINK_CONNECTION_NONBLOCKING, 
    first_property=0x638f7174 "orb") at linc-connection.c:708
708		gboolean initiated = TRUE;
(gdb) Breakpoint 3 at 0x638e7afb: file linc-connection.c, line 507.
(gdb) Continuing.

Breakpoint 3, link_connection_do_initiate (cnx=0xc07080, 
    proto_name=0x638fe62e "IPv4", host=0x77e130 "stimmfix.et2.tu-harburg.de", 
    service=0x22f9d0 "4327", options=LINK_CONNECTION_NONBLOCKING)
    at linc-connection.c:507
507		gboolean                retval = FALSE;
(gdb) #0  link_connection_do_initiate (cnx=0xc07080, proto_name=0x638fe62e "IPv4", 
    host=0x77e130 "stimmfix.et2.tu-harburg.de", service=0x22f9d0 "4327", 
    options=LINK_CONNECTION_NONBLOCKING) at linc-connection.c:507
#1  0x638e823a in link_connection_initiate (derived_type=7856304, 
    proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=LINK_CONNECTION_NONBLOCKING, 
    first_property=0x638f7174 "orb") at linc-connection.c:738
#2  0x638c2133 in giop_connection_initiate (orb_data=0x779738, 
    proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=2, giop_version=GIOP_1_2)
    at giop-connection.c:179
#3  0x638cc859 in ORBit_object_get_connection (obj=0x77e3b0)
    at corba-object.c:354
#4  0x638caf1c in ORBit_small_invoke_async (obj=0x7784a8, m_data=0x41b8c0, 
    fn=0x414f8c <test_BasicServer_opStringA_cb>, user_data=0x0, args=0x22fa80, 
    ctx=0x0, ev=0x22ff50) at orbit-small.c:1185
#5  0x004151eb in test_BasicServer_opStringA (obj=0x7784a8, 
    in_str=0x41e4f0 "In string", inout_str=0x41e4fa "Inout in string", 
    ev=0x22ff50) at client.c:1951
#6  0x00415326 in testAsync (factory=0x77b098, ev=0x22ff50) at client.c:1979
#7  0x00416ddd in run_tests (factory=0x77b098, thread_tests=0, ev=0x22ff50)
    at client.c:2461
#8  0x004174b6 in main (argc=1, argv=0x7728f0) at client.c:2620
(gdb) 511		proto = link_protocol_find (proto_name);
(gdb) link_protocol_find (name=0x638fe62e "IPv4") at linc-protocols.c:1163
1163		for (i = 0; static_link_protocols [i].name; i++) {
(gdb) 1164			if (!strcmp (name, static_link_protocols [i].name))
(gdb) 1165				return &static_link_protocols [i];
(gdb) 1169	}
(gdb) link_connection_do_initiate (cnx=0xc07080, proto_name=0x638fe62e "IPv4", 
    host=0x77e130 "stimmfix.et2.tu-harburg.de", service=0x22f9d0 "4327", 
    options=LINK_CONNECTION_NONBLOCKING) at linc-connection.c:513
513		if (!proto)
(gdb) 516		saddr = link_protocol_get_sockaddr (
(gdb) link_protocol_get_sockaddr (proto=0x638f6c70, 
    hostname=0x77e130 "stimmfix.et2.tu-harburg.de", service=0x22f9d0 "4327", 
    saddr_len=0x22f8c8) at linc-protocols.c:712
712		if (proto && proto->get_sockaddr)
(gdb) 713			return proto->get_sockaddr (proto, hostname, service, saddr_len);
(gdb) link_protocol_get_sockaddr_ipv4 (proto=0x638f6c70, 
    hostname=0x77e130 "stimmfix.et2.tu-harburg.de", portnum=0x22f9d0 "4327", 
    saddr_len=0x22f8c8) at linc-protocols.c:489
489		g_assert (proto->family == AF_INET);
(gdb) 490		g_assert (hostname);
(gdb) 492		if (!portnum)
(gdb) 495		saddr = g_new0 (struct sockaddr_in, 1);
(gdb) 497		*saddr_len = sizeof (struct sockaddr_in);
(gdb) 501		saddr->sin_family = AF_INET;
(gdb) 502		saddr->sin_port   = htons (atoi (portnum));
(gdb) 504		if ((saddr->sin_addr.s_addr = inet_addr (hostname)) == INADDR_NONE) {
(gdb) 513			host = gethostbyname (hostname);
(gdb) 514			if (!host) {
(gdb) 519			for(i = 0; host->h_addr_list[i]; i++)
(gdb) 520			    if(ipv4_addr_from_addr (&saddr->sin_addr,
(gdb) ipv4_addr_from_addr (dest_addr=0x77e25c, 
    src_addr=0x23cd34 "\206\034#\rstimmfix.et2.tu-harburg.de", src_length=4)
    at linc-protocols.c:293
293		if (src_length == 4)
(gdb) 294			memcpy (dest_addr, src_addr, 4);
(gdb) 316		return TRUE;
(gdb) 317	}
(gdb) link_protocol_get_sockaddr_ipv4 (proto=0x638f6c70, 
    hostname=0x77e130 "stimmfix.et2.tu-harburg.de", portnum=0x22f9d0 "4327", 
    saddr_len=0x22f8c8) at linc-protocols.c:523
523			      break;
(gdb) 525			if(!host->h_addr_list[i]) {
(gdb) 531		return (struct sockaddr *) saddr;
(gdb) 532	}
(gdb) link_protocol_get_sockaddr (proto=0x638f6c70, 
    hostname=0x77e130 "stimmfix.et2.tu-harburg.de", service=0x22f9d0 "4327", 
    saddr_len=0x22f8c8) at linc-protocols.c:716
716	}
(gdb) link_connection_do_initiate (cnx=0xc07080, proto_name=0x638fe62e "IPv4", 
    host=0x77e130 "stimmfix.et2.tu-harburg.de", service=0x22f9d0 "4327", 
    options=LINK_CONNECTION_NONBLOCKING) at linc-connection.c:519
519		if (!saddr && (strcmp (proto_name, "IPv6") ==0)) {/* Falling back to IPv4 */
(gdb) 526		if (!saddr)
(gdb) 529		fd = socket (proto->family, SOCK_STREAM, 
(gdb) 532		if (fd == INVALID_SOCKET) {
(gdb) 538		if (fd < 0) {
(gdb) 543		if (options & LINK_CONNECTION_NONBLOCKING) {
(gdb) 545			u_long yes = 1;
(gdb) 546			if (ioctlsocket (fd, FIONBIO, &yes) == SOCKET_ERROR) {
(gdb) 566			if (!DuplicateHandle (GetCurrentProcess (), (HANDLE) fd,
(gdb) 572			fd = newfd;
(gdb) 576		LINK_TEMP_FAILURE_RETRY_SOCKET (connect (fd, saddr, saddr_len), rv);
(gdb) 578		if (rv == SOCKET_ERROR) {
(gdb) 579			if ((options & LINK_CONNECTION_NONBLOCKING) &&
(gdb) 587				FD_ZERO (&write_fds);
(gdb) 588				FD_SET (fd, &write_fds);
(gdb) 590				FD_ZERO (&except_fds);
(gdb) 591				FD_SET (fd, &except_fds);
(gdb) 593				rv  = select (1, NULL, &write_fds, &except_fds, NULL);
(gdb) 594				if (rv == SOCKET_ERROR) {
(gdb) 597				} else if (FD_ISSET (fd, &write_fds)) {
(gdb) 599				} else if (FD_ISSET (fd, &except_fds)) {
(gdb) 600					rv = -1;
(gdb) 601					errno = WSAECONNREFUSED;
(gdb) 609		if (rv && errno != EINPROGRESS)
(gdb) 610			goto out;
(gdb) 623		if (!retval && fd >= 0) {
(gdb) 626			LINK_CLOSE_SOCKET (fd);
(gdb) 629		g_free (saddr);
(gdb) 631		return retval;
(gdb) 632	}
(gdb) link_connection_initiate (derived_type=7856304, proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=LINK_CONNECTION_NONBLOCKING, 
    first_property=0x638f7174 "orb") at linc-connection.c:743
743		CNX_LIST_UNLOCK();
(gdb) link_unlock () at linc.c:523
523		if (link_main_lock)
(gdb) 525	}
(gdb) link_connection_initiate (derived_type=7856304, proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=LINK_CONNECTION_NONBLOCKING, 
    first_property=0x638f7174 "orb") at linc-connection.c:745
745		if (!initiated) {
(gdb) 746			link_connection_unref (cnx);
(gdb) link_connection_unref (cnx=0xc07080) at linc-connection.c:111
111		g_return_if_fail (cnx != NULL);
(gdb) 113		CNX_AND_LIST_LOCK (cnx);
(gdb) link_lock () at linc.c:516
516		if (link_main_lock)
(gdb) 518	}
(gdb) link_connection_unref (cnx=0xc07080) at linc-connection.c:115
115		link_connection_unref_unlock (cnx);
(gdb) link_connection_unref_unlock (cnx=0xc07080) at linc-connection.c:73
73		gboolean tail_unref = FALSE;
(gdb) 75		if (((GObject *)cnx)->ref_count > 1)
(gdb) 79			cnx_list = g_list_remove (cnx_list, cnx);
(gdb) 80			tail_unref = TRUE;
(gdb) 83		CNX_AND_LIST_UNLOCK (cnx);
(gdb) link_unlock () at linc.c:523
523		if (link_main_lock)
(gdb) 525	}
(gdb) link_connection_unref_unlock (cnx=0xc07080) at linc-connection.c:85
85		if (tail_unref) {
(gdb) 88			cmd->cmd.cmd.type = LINK_COMMAND_CNX_UNREF;
(gdb) 89			cmd->cmd.complete = FALSE;
(gdb) 90			cmd->cnx = cnx;
(gdb) 91			link_exec_command ((LinkCommand *) cmd);
(gdb) link_exec_command (cmd=0x22f8a0) at linc.c:124
124		int  res = 0;
(gdb) 126		if (link_in_io_thread ()) {
(gdb) link_in_io_thread () at linc.c:332
332		return (!link_io_thread ||
(gdb) 334	}
(gdb) link_exec_command (cmd=0x22f8a0) at linc.c:127
127			link_dispatch_command (cmd, TRUE);
(gdb) link_dispatch_command (data=0x22f8a0, immediate=1) at linc.c:493
493		LinkCommand *cmd = data;
(gdb) 494		switch (cmd->type) {
(gdb) 505			link_connection_exec_cnx_unref (data, immediate);
(gdb) link_connection_exec_cnx_unref (cmd=0x22f8a0, immediate=1)
    at linc-connection.c:100
100		if (immediate) /* In I/O thread - with just 1 ref left */
(gdb) 101			g_object_unref (cmd->cnx);
(gdb) 106	}
(gdb) link_dispatch_command (data=0x22f8a0, immediate=1) at linc.c:506
506			break;
(gdb) 511	}
(gdb) link_exec_command (cmd=0x22f8a0) at linc.c:128
128			return;
(gdb) 162	}
(gdb) link_connection_unref_unlock (cnx=0xc07080) at linc-connection.c:93
93	}
(gdb) link_connection_unref (cnx=0xc07080) at linc-connection.c:116
116	}
(gdb) link_connection_initiate (derived_type=7856304, proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=LINK_CONNECTION_NONBLOCKING, 
    first_property=0x638f7174 "orb") at linc-connection.c:747
747			cnx = NULL;
(gdb) 752		return cnx;
(gdb) 753	}
(gdb) giop_connection_initiate (orb_data=0x779738, proto_name=0x638fe62e "IPv4", 
    remote_host_info=0x77e130 "stimmfix.et2.tu-harburg.de", 
    remote_serv_info=0x22f9d0 "4327", options=2, giop_version=GIOP_1_2)
    at giop-connection.c:187
187	}
(gdb) ORBit_object_get_connection (obj=0x77e3b0) at corba-object.c:358
358				if (!obj->connection && unix_socket_enabled && ipv4_ipv6_enabled) {
(gdb) 363				if (obj->connection && ORBit_try_connection_T (obj)) {
(gdb) 345		for (cur = plist; cur; cur = cur->next) {
(gdb) 389		OBJECT_UNLOCK (obj);
(gdb) 391		return cnx;
(gdb) 392	}
(gdb) ORBit_small_invoke_async (obj=0x7784a8, m_data=0x41b8c0, 
    fn=0x414f8c <test_BasicServer_opStringA_cb>, user_data=0x0, args=0x22fa80, 
    ctx=0x0, ev=0x22ff50) at orbit-small.c:1187
1187		if (!cnx) {
(gdb) 1189			aqe->completion_status = CORBA_COMPLETED_NO;
(gdb) 1190			goto system_exception;
(gdb) 1225		CORBA_exception_set_system (ev, ex_CORBA_COMM_FAILURE,
(gdb) CORBA_exception_set_system (ev=0x22ff50, 
    except_repos_id=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0", 
    completed=CORBA_COMPLETED_NO) at corba-env.c:96
96		g_return_if_fail (ev != NULL);
(gdb) 98		se = CORBA_SystemException__alloc ();
(gdb) ORBit_small_alloc (tc=0x638f21d0) at orbit-small.c:44
44		return ORBit_alloc_by_tc (tc);
(gdb) ORBit_alloc_by_tc (tc=0x638f21d0) at allocators.c:370
370		if (!(size = ORBit_gather_alloc_info (tc)))
(gdb) ORBit_gather_alloc_info (tc=0x638f21d0) at corba-any.c:12
12		SKIP_ALIAS (tc);
(gdb) 14		switch (tc->kind) {
(gdb) 42			for (sum = i = 0; i < tc->sub_parts; i++) {
(gdb) 43				sum = ALIGN_VALUE (sum, tc->subtypes[i]->c_align);
(gdb) 44				sum += ORBit_gather_alloc_info (tc->subtypes[i]);
(gdb) ORBit_gather_alloc_info (tc=0x638f5ad0) at corba-any.c:12
12		SKIP_ALIAS (tc);
(gdb) 14		switch (tc->kind) {
(gdb) 18			return sizeof (CORBA_long);
(gdb) 90	}
(gdb) 42			for (sum = i = 0; i < tc->sub_parts; i++) {
(gdb) 43				sum = ALIGN_VALUE (sum, tc->subtypes[i]->c_align);
(gdb) 44				sum += ORBit_gather_alloc_info (tc->subtypes[i]);
(gdb) ORBit_gather_alloc_info (tc=0x638ed690) at corba-any.c:12
12		SKIP_ALIAS (tc);
(gdb) 14		switch (tc->kind) {
(gdb) 18			return sizeof (CORBA_long);
(gdb) 90	}
(gdb) 42			for (sum = i = 0; i < tc->sub_parts; i++) {
(gdb) 46			sum = ALIGN_VALUE (sum, tc->c_align);
(gdb) 48			return sum;
(gdb) 90	}
(gdb) ORBit_alloc_by_tc (tc=0x638f21d0) at allocators.c:373
373		prefix = g_malloc0 (LONG_PREFIX_LEN + size);
(gdb) 375		prefix->u.tc = ORBit_RootObject_duplicate (tc);
(gdb) ORBit_RootObject_duplicate (obj=0x638f21d0) at orbit-object.c:121
121		ORBit_RootObject robj = obj;
(gdb) 123		if (robj && robj->refs != ORBIT_REFCOUNT_STATIC) {
(gdb) 130		return obj;
(gdb) 131	}
(gdb) ORBit_alloc_by_tc (tc=0x638f21d0) at allocators.c:377
377		mem = (guchar *)prefix + LONG_PREFIX_LEN;
(gdb) 379		*((ORBitMemHow *)mem - 1) = ORBIT_MEMHOW_MAKE (
(gdb) 382		return mem;
(gdb) 383	}
(gdb) ORBit_small_alloc (tc=0x638f21d0) at orbit-small.c:45
45	}
(gdb) CORBA_exception_set_system (ev=0x22ff50, 
    except_repos_id=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0", 
    completed=CORBA_COMPLETED_NO) at corba-env.c:100
100		se->minor = 0 /* minor */;
(gdb) 101		se->completed = completed;
(gdb) 102		CORBA_exception_set (
(gdb) CORBA_exception_set (ev=0x22ff50, major=CORBA_SYSTEM_EXCEPTION, 
    except_repos_id=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0", 
    param=0x77e268) at corba-env.c:112
112		g_return_if_fail (ev != NULL);
(gdb) 114		CORBA_exception_free(ev);
(gdb) CORBA_exception_free (ev=0x22ff50) at corba-env.c:24
24		g_return_if_fail (ev != NULL);
(gdb) 26		if (ev->_major != CORBA_NO_EXCEPTION) {
(gdb) 33	}
(gdb) CORBA_exception_set (ev=0x22ff50, major=CORBA_SYSTEM_EXCEPTION, 
    except_repos_id=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0", 
    param=0x77e268) at corba-env.c:116
116		ev->_major = major;
(gdb) 117		if (major != CORBA_NO_EXCEPTION) {
(gdb) 118			ev->_id = CORBA_string_dup (except_repos_id);
(gdb) CORBA_string_dup (str=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0")
    at corba-string.c:17
17		if (!str)
(gdb) 20		len = strlen (str) + 1;
(gdb) 22		retval = ORBit_alloc_string (len);
(gdb) ORBit_alloc_string (string_length=35) at allocators.c:228
228		mem = g_malloc (string_length + 1);
(gdb) 230		return (CORBA_char *)(mem + 1);
(gdb) 231	}
(gdb) CORBA_string_dup (str=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0")
    at corba-string.c:23
23		memcpy (retval, str, len);
(gdb) 25		return retval;
(gdb) 26	}
(gdb) CORBA_exception_set (ev=0x22ff50, major=CORBA_SYSTEM_EXCEPTION, 
    except_repos_id=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0", 
    param=0x77e268) at corba-env.c:120
120	                if (ev->_any._release)
(gdb) 124			ev->_any._type = NULL; /* CORBA sucks */
(gdb) 125			ev->_any._value = param;
(gdb) 126			ev->_any._release = CORBA_TRUE;
(gdb) 128	}
(gdb) CORBA_exception_set_system (ev=0x22ff50, 
    except_repos_id=0x638fcb04 "IDL:omg.org/CORBA/COMM_FAILURE:1.0", 
    completed=CORBA_COMPLETED_NO) at corba-env.c:104
104	}
(gdb) ORBit_small_invoke_async (obj=0x7784a8, m_data=0x41b8c0, 
    fn=0x414f8c <test_BasicServer_opStringA_cb>, user_data=0x0, args=0x22fa80, 
    ctx=0x0, ev=0x22ff50) at orbit-small.c:1227
1227		g_free (aqe);
(gdb) 1228		goto clean_out;
(gdb) 1218		if (cnx)
(gdb) 1229	}
(gdb) test_BasicServer_opStringA (obj=0x7784a8, in_str=0x41e4f0 "In string", 
    inout_str=0x41e4fa "Inout in string", ev=0x22ff50) at client.c:1954
1954	}
(gdb) testAsync (factory=0x77b098, ev=0x22ff50) at client.c:1982
1982		g_assert (ev->_major == CORBA_NO_EXCEPTION);
(gdb) 
Program received signal SIGTRAP, Trace/breakpoint trap.
