Hello,
Let me ask one question I'm struggling with.I found a problem when using
xmlFree().
When xmlFree() is called, I think thead look like being hanged.
So, I put two debug message as following.
printf("Debug message #1 \n");xmlFree( Buffer );printf("Debug message #2 \n");
Then I can see only the first debug message.
So I tried to track this more with GDB. And the result is as following.
gdb) next950 xmlFree( Buffer );(gdb) stepi0x0809b11a 950 xmlFree( Buffer
);(gdb) stepi0x0809b11d 950 xmlFree( Buffer );(gdb) stepi0xb7b0d5a0 in free ()
from /lib/libc.so.6(gdb) si0xb7b0d5a1 in free () from /lib/libc.so.6(gdb)
si0xb7b0d5a3 in free () from /lib/libc.so.6(gdb) si0xb7b0d5a6 in free () from
/lib/libc.so.6(gdb) si
0xb7b0d5a9 in free () from /lib/libc.so.6(gdb) si0xb7ab6db0 in
__i686.get_pc_thunk.bx () from /lib/libc.so.6(gdb) si0xb7ab6db3 in
__i686.get_pc_thunk.bx () from /lib/libc.so.6(gdb) si0xb7b0d5ae in free () from
/lib/libc.so.6(gdb) si0xb7b0d5b4 in free () from /lib/libc.so.6(gdb)
si0xb7b0d5b7 in free () from /lib/libc.so.6(gdb) si0xb7b0d5ba in free () from
/lib/libc.so.6(gdb) si0xb7b0d5bd in free () from /lib/libc.so.6(gdb)
si0xb7b0d5c3 in free () from /lib/libc.so.6(gdb) si0xb7b0d5c5 in free () from
/lib/libc.so.6(gdb) si0xb7b0d5c7 in free () from /lib/libc.so.6(gdb)
si0xb7b0d5e2 in free () from /lib/libc.so.6(gdb) si0xb7b0d5e4 in free () from
/lib/libc.so.6(gdb) si0xb7b0d5e6 in free () from /lib/libc.so.6(gdb)
si0xb7b0d5e9 in free () from /lib/libc.so.6(gdb) si0xb7b0d5ec in free () from
/lib/libc.so.6(gdb) si0xb7b0d5ef in free () from /lib/libc.so.6(gdb)
si0xb7b0d5f1 in free () from /lib/libc.so.6(gdb) si0xb7b0d5f3 in free () from
/lib/libc.so.6(gdb) si0xb7b0d5f5 in free () f
rom /lib/libc.so.6(gdb) si0xb7b0d5fb in free () from /lib/libc.so.6(gdb)
si0xb7b0d5fd in free () from /lib/libc.so.6(gdb) si0xb7b0d604 in free () from
/lib/libc.so.6(gdb) si0xb7b0d607 in free () from /lib/libc.so.6(gdb)
si0xb7b0d609 in free () from /lib/libc.so.6(gdb) si0xb7b0d60b in free () from
/lib/libc.so.6(gdb) si0xb7b0d610 in free () from /lib/libc.so.6(gdb)
si0xb7b0d618 in free () from /lib/libc.so.6(gdb) si0xb7b0d61a in free () from
/lib/libc.so.6(gdb) si0xb7b0d61e in free () from /lib/libc.so.6(gdb)
si0xb7b0e377 in _L_lock_14919 () from /lib/libc.so.6(gdb) si0xb7b0e379 in
_L_lock_14919 () from /lib/libc.so.6(gdb) si0xb7b809e0 in __lll_mutex_lock_wait
() from /lib/libc.so.6(gdb) si0xb7b809e1 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809e2 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809e3 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809e8 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809ea in __lll_mutex_l
ock_wait () from /lib/libc.so.6(gdb) si0xb7b809ec in __lll_mutex_lock_wait ()
from /lib/libc.so.6(gdb) si0xb7b809ee in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809f0 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809f9 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809fb in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809fd in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809ff in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809f2 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si0xb7b809f7 in __lll_mutex_lock_wait () from
/lib/libc.so.6(gdb) si
0xb7b809f9 in __lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809fb in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809fd in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809ff in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809f2 in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809f7 in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809f9 in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809fb in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809fd in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809ff in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809f2 in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809f7 in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809f9 in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb) si0xb7b809fb in
__lll_mutex_lock_wait () from /lib/libc.so.6(gdb)
Now I'm using libxml2-2.6.31-1 and libxml2-python-2.6.31-1.And one more thing
is this program is working well on single core platfrom and2 x single core
(with hyperthreading) platform but it is not working on2 x quadcore platform
and makes problem as above.
Could you give me any suggestion to solve this?Thanks in advance.
Jason,
_________________________________________________________________
간편하고 정확한 나만의 맞춤 검색, Live Search!
http://search.live.com_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml