Following are the first couple of lines that are generated by the metakit dump utility - they show the structure of the view that I am using.  The view structure is auto-generated dynamically from CORBA type-codes (I am using metakit to cache data that has it's structure defined in CORBA IDL).  Hence I am using sub-views to store data that is contained within nested sequences defined within CORBA data structures.
 
Thanks again if you can provide any pointers for me.
 
I dont know if it might be significant, but some core dumps I get are generated with stack traces indicating a problem during commit.  Is it possible that I am experiencing some kind of memory corruption that is showing itself when either trying to extend the size of a view or commiting data to a file ? (see stack trace below)
 
Best regards,
Ian Fairclough.
 
 
data/master_DO_WO_workOrderType.dat: 1 properties
  DO_WO_workOrderType[dos.report.store:S,dos.report.woNum:S,dos.report.woType:S,dos.report.taskDesc:S,dos.report.requestDate.isNull:I,dos.report.requestDate.value.year:I,
 dos.report.requestDate.value.month:I,dos.report.requestDate.value.date:I,dos.report.requestTime.isNull:I,dos.report.requestTime.value.hour:I,
 dos.report.requestTime.value.minute:I,dos.report.requestTime.value.second:I,dos.report.schedStartDate.isNull:I,dos.report.schedStartDate.value.year:I,
 dos.report.schedStartDate.value.month:I,dos.report.schedStartDate.value.date:I,dos.report.schedStartTime.isNull:I,dos.report.schedStartTime.value.hour:I,
 dos.report.schedStartTime.value.minute:I,dos.report.schedStartTime.value.second:I,dos.report.completionDate.isNull:I,dos.report.completionDate.value.year:I,
 dos.report.completionDate.value.month:I,dos.report.completionDate.value.date:I,dos.report.completionTime.isNull:I,dos.report.completionTime.value.hour:I,
 dos.report.completionTime.value.minute:I,dos.report.completionTime.value.second:I,dos.report.priority:F,dos.report.priorityDescription:S,dos.report.rTimeHrs.isNull:I,
 dos.report.rTimeHrs.value:I,dos.report.contractorId:S,dos.report.contractorName:S,dos.report.callAgentNotes:S,dos.report.equipment[dos.report.equipment.assetNumber:S,dos.report.equipment.description:S,dos.report.equipment.department:S,dos.report.equipment.area:S,
 dos.report.equipment.position:S],dos.report.visits[dos.report.visits.auditDate.isNull:I,dos.report.visits.auditDate.value.year:I,dos.report.visits.auditDate.value.month:I,dos.report.visits.auditDate.value.date:I,
 dos.report.visits.onTime.isNull:I,dos.report.visits.onTime.value.hour:I,dos.report.visits.onTime.value.minute:I,dos.report.visits.onTime.value.second:I,
 dos.report.visits.offTime.isNull:I,dos.report.visits.offTime.value.hour:I,dos.report.visits.offTime.value.minute:I,dos.report.visits.offTime.value.second:I,
 dos.report.visits.cnoNumber:S,dos.report.visits.ptwNumber:S,dos.report.visits.employeeContractorId:S,dos.report.visits.employeeContractorName:S],
 dos.updatestamp:I,details.woNum:S,details.userId:S,details.userName:S,details.sbtId[details.sbtId:I],details.stopTime:I,details.woType:S,details.storeNumber:S,details.confirmationNum:S,details.completed:I,details.materialsUsed:I,
 details.equipmentWorking:I,details.solutionCode:S,details.gasUsed:S,details.reason:S]
 
 VIEW    31 rows = DO_WO_workOrderType:V
    0: subview 'DO_WO_workOrderType'
   VIEW 97690 rows = dos.report.store:S dos.report.woNum:S dos.report.woType:S dos.report.taskDesc:S dos.report.requestDate.isNull:I dos.report.requestDate.value.year:I dos.report.requestDate.value.month:I dos.report.requestDate.value.date:I dos.report.requestTime.isNull:I dos.report.requestTime.value.hour:I dos.report.requestTime.value.minute:I dos.report.requestTime.value.second:I dos.report.schedStartDate.isNull:I dos.report.schedStartDate.value.year:I dos.report.schedStartDate.value.month:I dos.report.schedStartDate.value.date:I dos.report.schedStartTime.isNull:I dos.report.schedStartTime.value.hour:I dos.report.schedStartTime.value.minute:I dos.report.schedStartTime.value.second:I dos.report.completionDate.isNull:I dos.report.completionDate.value.year:I dos.report.completionDate.value.month:I dos.report.completionDate.value.date:I dos.report.completionTime.isNull:I dos.report.completionTime.value.hour:I dos.report.completionTime.value.minute:I dos.report.completionTime.value.second:I dos.report.priority:F dos.report.priorityDescription:S dos.report.rTimeHrs.isNull:I dos.report.rTimeHrs.value:I dos.report.contractorId:S dos.report.contractorName:S dos.report.callAgentNotes:S dos.report.equipment:V dos.report.visits:V dos.updatestamp:I details.woNum:S details.userId:S details.userName:S details.sbtId:V details.stopTime:I details.woType:S details.storeNumber:S details.confirmationNum:S details.completed:I details.materialsUsed:I details.equipmentWorking:I details.solutionCode:S details.gasUsed:S details.reason:S
 
#0  0x41513fa1 in kill () from /lib/libc.so.6
#1  0x41365fe6 in raise (sig=6) at signals.c:65
#2  0x41515264 in abort () from /lib/libc.so.6
#3  0x4150e05d in __assert_fail () from /lib/libc.so.6
#4  0x417d66a9 in c4_Column::Validate (this=0xbfe7a6f8) at ../src/univ.inl:44
#5  0x417d6755 in c4_Column::~c4_Column (this=0xbfe7a6f8, __in_chrg=2) at ../unix/../src/column.cpp:86
#6  0x417e44a4 in c4_FormatV::Commit (this=0x8562250, [EMAIL PROTECTED]) at ../include/mk4.inl:403
#7  0x417e947f in c4_SaveContext::CommitSequence (this=0xbfe7a968, [EMAIL PROTECTED], selfDesc_=false) at ../unix/../src/persist.cpp:856
#8  0x417e42ba in c4_FormatV::Commit (this=0x85616c8, [EMAIL PROTECTED]) at ../unix/../src/format.cpp:1251
#9  0x417e947f in c4_SaveContext::CommitSequence (this=0xbfe7a968, [EMAIL PROTECTED], selfDesc_=true) at ../unix/../src/persist.cpp:856
#10 0x417e8cd1 in c4_SaveContext::SaveIt (this=0xbfe7a968, [EMAIL PROTECTED], spacePtr_=0x81fab78, [EMAIL PROTECTED]) at ../unix/../src/persist.cpp:722
#11 0x417e992d in c4_Persist::Commit (this=0x81fab78, full_=false) at ../unix/../src/persist.cpp:969
#12 0x417f0ab1 in c4_Storage::Commit (this=0x81e53a0, full_=false) at ../include/mk4.inl:76
#13 0x417489b9 in corbaMkTools::commit () from /home/portal/build_area/components/do_database_lib/libdoDatabase.so
----- Original Message -----
Sent: Friday, January 09, 2004 4:00 PM
Subject: Re: [Metakit] Core Dump - use of sub views ?

Are there issues related to using sub-views ?
 
I seem to be getting a variety of different core dumps (the trace of one example appears below) when attempting to increase the size of a view that has sub-views.
 
Any information would be much appreciated.
 
Best regards,
Ian Fairclough.
----- Original Message -----
Sent: Tuesday, January 06, 2004 1:17 PM
Subject: Re: [Metakit] Core Dump

JC,
 
Thanks for the advice.  I re-compiled as you suggested (with assertions and debug symbols enabled), and I obtained a core dump with the following stack trace :
 
#0  0x41513fa1 in kill () from /lib/libc.so.6
#1  0x41365fe6 in raise (sig=6) at signals.c:65
#2  0x41515264 in abort () from /lib/libc.so.6
#3  0x414b7e55 in __default_terminate () at ../../gcc/libgcc2.c:-1
#4  0x414b7e72 in __terminate () from /usr/lib/libstdc++-libc6.1-1.so.2
#5  0x4183ac2b in new_eh_context () at ../../gcc/libgcc2.c:3035
#6  0x4183af0d in eh_context_specific () from /usr/lib/libstdc++-libc6.2-2.so.3
#7  0x4183ae6e in eh_context_initialize () from /usr/lib/libstdc++-libc6.2-2.so.3
#8  0x4183bb4d in __rethrow (index=0x41805a4c) from /usr/lib/libstdc++-libc6.2-2.so.3
#9  0x417e3ee0 in c4_HandlerSeq::c4_HandlerSeq (this=0x3fffec00, [EMAIL PROTECTED], handler_=0xf151f20) at ../unix/../src/handler.cpp:102
#10 0x417e26dc in c4_FormatV::At (this=0xf151f20, index_=49699) at ../unix/../src/format.cpp:44
#11 0x417e281a in c4_FormatV::SetupAllSubviews (this=0xf151f20) at ../unix/../src/format.cpp:1027
#12 0x417e2b22 in c4_FormatV::Get (this=0xf151f20, index_=35525, [EMAIL PROTECTED]) at ../unix/../src/format.cpp:1096
#13 0x417e3b9a in c4_Handler::GetBytes (this=0xf151f20, index_=35525, [EMAIL PROTECTED], copySmall_=false) at ../unix/../src/handler.cpp:59
#14 0x417f4c87 in c4_Sequence::InsertAt (this=0x2e9923b8, index_=0, newElem_={_seq = 0x2d93f440, _index = 35525}, count_=1) at ../unix/../src/viewx.cpp:210
#15 0x417f17e0 in c4_View::Add (this=0xbce7aa50, [EMAIL PROTECTED]) at ../include/mk4.inl:13
#16 0x4175495c in mkExt::eq () from /home/portal/build_area/components/do_database_lib/libdoDatabase.so
 
Any suggestions of what might be wrong would be much appreciated.
 
Best regards,
Ian Fairclough.
_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to