P
Plissken.s
Hi
I have a problem which result in a "corrupted double-linked list
error", I would need some help in trouble shot this one:
Here is a stack track:
Thread [0] (Suspended: Signal 'SIGABRT' received. Description:
Aborted.)
15 __kernel_vsyscall() 0xb7f25402
14 raise() 0x00646118
13 abort() 0x00647888
12 __libc_message() 0x0067b22a
11 malloc_consolidate() 0x00680bed
10 _int_free() 0x006810a9
9 free() 0x0068165f
8 __fopen_internal() 0x0067350e
7 fopen64() 0x00675878
6 std::__basic_file<char>:pen() 0x069e9a16
5 std::basic_filebuf<char, std::char_traits<char> >:pen()
0x06998f9e
4 std::basic_fstream<char, std::char_traits<char> >:pen()
0x069990ad
3 TestCase::runTestWithTestData() at ../TestCase.cpp:136 0x0809f280
2 TestPatternMatcher::test() at ../TestMatcher.h:37 0x080a4421
1 main() at ../TestDriver.cpp:73 0x080a1eda
here is my code where the error occured (line 136 of TestCase.cpp):
135 fstream fin;
136 fin.open(expectedResultfileName.c_str(),ios::in);
*** glibc detected ***
/home/plissken/workspace/snapshot/Debug/snapshot: corrupted
double-linked list: 0x007448b8 ***
======= Backtrace: =========
/lib/libc.so.6[0x680bed]
/lib/libc.so.6[0x6810a9]
/lib/libc.so.6(__libc_free+0x77)[0x68165f]
/lib/libc.so.6[0x67350e]
/lib/libc.so.6(fopen64+0x2c)[0x675878]
/usr/lib/libstdc++.so.6(_ZNSt12__basic_fileIcE4openEPKcSt13_Ios_Openmodei+0x48)[0x69e9a16]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x4e)[0x6998f9e]
/usr/lib/libstdc++.so.6(_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x2f)[0x69990ad]
/home/plissken/workspace/snapshot/Debug/snapshot[0x809f280]
/home/plissken/workspace/snapshot/Debug/snapshot[0x80a4421]
/home/plissken/workspace/snapshot/Debug/snapshot[0x80a1eda]
/lib/libc.so.6(__libc_start_main+0xdf)[0x632d5f]
/home/plissken/workspace/snapshot/Debug/snapshot(__gxx_personality_v0+0xa1)[0x8049b25]
I have a problem which result in a "corrupted double-linked list
error", I would need some help in trouble shot this one:
Here is a stack track:
Thread [0] (Suspended: Signal 'SIGABRT' received. Description:
Aborted.)
15 __kernel_vsyscall() 0xb7f25402
14 raise() 0x00646118
13 abort() 0x00647888
12 __libc_message() 0x0067b22a
11 malloc_consolidate() 0x00680bed
10 _int_free() 0x006810a9
9 free() 0x0068165f
8 __fopen_internal() 0x0067350e
7 fopen64() 0x00675878
6 std::__basic_file<char>:pen() 0x069e9a16
5 std::basic_filebuf<char, std::char_traits<char> >:pen()
0x06998f9e
4 std::basic_fstream<char, std::char_traits<char> >:pen()
0x069990ad
3 TestCase::runTestWithTestData() at ../TestCase.cpp:136 0x0809f280
2 TestPatternMatcher::test() at ../TestMatcher.h:37 0x080a4421
1 main() at ../TestDriver.cpp:73 0x080a1eda
here is my code where the error occured (line 136 of TestCase.cpp):
135 fstream fin;
136 fin.open(expectedResultfileName.c_str(),ios::in);
*** glibc detected ***
/home/plissken/workspace/snapshot/Debug/snapshot: corrupted
double-linked list: 0x007448b8 ***
======= Backtrace: =========
/lib/libc.so.6[0x680bed]
/lib/libc.so.6[0x6810a9]
/lib/libc.so.6(__libc_free+0x77)[0x68165f]
/lib/libc.so.6[0x67350e]
/lib/libc.so.6(fopen64+0x2c)[0x675878]
/usr/lib/libstdc++.so.6(_ZNSt12__basic_fileIcE4openEPKcSt13_Ios_Openmodei+0x48)[0x69e9a16]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x4e)[0x6998f9e]
/usr/lib/libstdc++.so.6(_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x2f)[0x69990ad]
/home/plissken/workspace/snapshot/Debug/snapshot[0x809f280]
/home/plissken/workspace/snapshot/Debug/snapshot[0x80a4421]
/home/plissken/workspace/snapshot/Debug/snapshot[0x80a1eda]
/lib/libc.so.6(__libc_start_main+0xdf)[0x632d5f]
/home/plissken/workspace/snapshot/Debug/snapshot(__gxx_personality_v0+0xa1)[0x8049b25]