dbTalk Databases Forums  

Re: Core dump with purify during dbc::get

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Re: Core dump with purify during dbc::get in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Florian Weimer
 
Posts: n/a

Default Re: Core dump with purify during dbc::get - 06-09-2006 , 12:53 PM






* Kiran Kumar M. R.:

Quote:
Hi,
I am testing my application with purify.
I am encountering a core dump.

memcpy [rtlib.o]
chunk_realloc [libc.so.6]
ReAlLoC [libc.so.6]
__os_realloc [os_alloc.c:325]
__db_retcopy [db_ret.c:133]
__db_ret [db_ret.c:72]
__db_c_get [db_cam.c:778]
__db_c_get_pp [db_iface.c:1741]
Dbc::get(Dbt *,Dbt *, unsigned) [cxx_dbc.cpp:80]
e
Please let me know how to resolve this.
From the documentation:

Quote:
--enable-umrw
Rational Software's Purify product and other run-time tools complain
about uninitialized reads/writes of structure fields whose only
purpose is padding, as well as when heap memory that was never
initialized is written to disk. Specify the --enable-umrw argument
during configuration to mask these errors. This argument should not
be specified when configuring to build production binaries.
<http://www.sleepycat.com/docs/ref/build_unix/conf.html>

Hope this helps.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.