big orbit problem.
- From: bob cs csoft net
- To: gnome-devel-list gnome org
- Subject: big orbit problem.
- Date: Thu, 11 Nov 1999 01:28:37 -0600 (CST)
a bit of gdbing from a lib I am writing.
21 blade->orb = CORBA_ORB_init(argc, argv, "orbit-local-orb",
blade->ev);(gdb) print *argc
$28 = 1
(gdb) n
22 blade->corba_env=blade_environment__alloc();
(gdb) print *argc
$29 = 1
(gdb) n
23 if(context==NULL||!strcmp(context, "")){
(gdb) print *argc
$30 = 1
(gdb) n
24 blade->corba_env->web_context=CORBA_string_dup("default");
(gdb) print *argc
Cannot access memory at address 0x0.
CORBA_string_dup is somehow doing something to the memory around it.
*argc before is 1 like it should be, and
after, argc is NULL. This is bad. Very BAD.
It is odd that it doesnt segfault the program flat out.
This is not the first time I have seen CORBA_string_dup do this.
I have tryed this with both orbit 0.4.3 and orbit 0.5.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]