Hello @liangkaiye. I am getting a segfault using pindel + breakdancer. All other events are output by pindel except for these:
-rw-r--r-- 1 apand2 mdclab 0 Aug 11 12:42 LB_BGI_vs_none.pindel_BP
-rw-r--r-- 1 apand2 mdclab 0 Aug 11 12:42 LB_BGI_vs_none.breakdancer.pindel.txt --> (--output_of_breakdancer_events)
-rw-r--r-- 1 apand2 mdclab 0 Aug 11 12:42 LB_BGI_vs_none.pindel_CloseEndMapped
Looking at the coredump:
Segfault happened @ 889
884 bool BDData::isBreakDancerEvent( const unsigned int leftPosition, const unsigned int rightPosition ) const
885 {
886 unsigned int rawLeftPosition = leftPosition + g_SpacerBeforeAfter;
887 unsigned int rawRightPosition = rightPosition + g_SpacerBeforeAfter;
888
889 if ( m_breakDancerMask[ rawLeftPosition - m_currentWindow.getStart() ]!=0 &&
890 m_breakDancerMask[ rawRightPosition - m_currentWindow.getStart() ]!=0 ) {
891 //std::cout << "Found breakdancerEvent near " << leftPosition << "-" << rightPosition << "\n";
892
893 return haveCommonBDEvent( m_regionsToScanCollection[ m_breakDancerMask[ rawLeftPosition - m_currentWindow.getStart() ] ],
rawLeftPosition = 4239970296
p m_currentWindow.m_currentStart
$4 = 55097000
m_breakDancerMask[rawLeftPosition - 55097000 ]
Cannot access memory at address 0x4481665c0
(gdb) p m_breakDancerMask[rawLeftPosition ]
Cannot access memory at address 0x455394060
That looks to be the start of the problem.
m_breakDancerMask[ 4239970296 - 55097000 ]
Have you seen this before? I am currently using (Pindel version 0.2.5a4, May 2 2014.), Is there a specific version of breakdancer I should use too?