Re: Memory fault when i am using a shared object
- From: "Aneesh E Warrier" <vinuwarrier@xxxxxxxxx>
- Date: 30 Mar 2006 20:36:16 -0800
--Have you considered the possibility that there is a bug in your code?
--
I tried that; if I am not invoking any of the functions from the
library still I am getting the memory fault.
In my application there is only one cout statement and return
statement.
It is printing the comment in cout then it is giving memory fault.
#0 0x00a08b22 in std::_Rb_tree<char*, char*, std::_Identity<char*>,
std::less<char*>, std::allocator<char*> >::_S_right (
__x=0x3) at
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/stl_tree.h:494
#1 0x00a08791 in std::_Rb_tree<char*, char*, std::_Identity<char*>,
std::less<char*>, std::allocator<char*> >::_M_erase (
this=0x8abbd20, __x=0x3) at
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/stl_tree.h:1066
#2 0x00a0879d in std::_Rb_tree<char*, char*, std::_Identity<char*>,
std::less<char*>, std::allocator<char*> >::_M_erase (
this=0x8abbd20, __x=0x8abc768)
at
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/stl_tree.h:1066
#3 0x00a0879d in std::_Rb_tree<char*, char*, std::_Identity<char*>,
std::less<char*>, std::allocator<char*> >::_M_erase (
this=0x8abbd20, __x=0x8abbce4)
at
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/stl_tree.h:1066
#4 0x00a084ce in ~_Rb_tree (this=0x8abbd20)
at
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/stl_tree.h:567
#5 0x00a08424 in ~set (this=0x8abbd20) at ./CPEPoints.cpp :34
#6 0x00a0804e in BufMgr::~BufMgr ()
at
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/locale_facets.tcc:2443
#7 0x00a0a8c8 in __tcf_1 () at ./CPEPoints.cpp :312
#8 0x0050d6e4 in __cxa_finalize () from /lib/tls/libc.so.6
#9 0x009c8dd6 in __do_global_dtors_aux () from
.../../Lib/libCPERateCard.so.1
#10 0x00a3cd82 in _fini () from ../../Lib/libCPERateCard.so.1
#11 0x004d6887 in _dl_fini () from /lib/ld-linux.so.2
#12 0x0050d467 in exit () from /lib/tls/libc.so.6
#13 0x004f7e2d in __libc_start_main () from /lib/tls/libc.so.6
#14 0x08048aed in _start ()
.
- Follow-Ups:
- Re: Memory fault when i am using a shared object
- From: Paul Pluzhnikov
- Re: Memory fault when i am using a shared object
- References:
- Memory fault when i am using a shared object
- From: Aneesh E Warrier
- Re: Memory fault when i am using a shared object
- From: Paul Pluzhnikov
- Memory fault when i am using a shared object
- Prev by Date: CK-ERP (Open Source ERP/CRM Software) v.0.18.1 released
- Next by Date: Re: Memory fault when i am using a shared object
- Previous by thread: Re: Memory fault when i am using a shared object
- Next by thread: Re: Memory fault when i am using a shared object
- Index(es):