|
[Sponsors] |
May 21, 2015, 22:04 |
sigSegv ERROR caused by SLPtrList<>
|
#1 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
greetings to everyone.
your checking this thread has made me thankful. i now encounter a tough problem, which maybe C++ programming involved. i develop mySolver in OF-2.3.0 on ubuntu-12.04 and everything seems to be OK. it can run normally and give the expected results. however, problem comes with the last statement of the main function, "return 0". here is all what i get: Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/yk/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigSegv::sigHandler(int) in "/home/yk/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Uninterpreted: Segmentation fault (core dumped) any idea will make my day. thanks for the attention. best regards, jhyk Last edited by cfdopenfoam; May 22, 2015 at 21:52. |
|
May 22, 2015, 07:22 |
|
#2 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
some struggling...the problem is addressed but not solved.
it comes from the SLPtrList<> (in src/OpenFOAM/containers/LinkedLists/user/SLPtrList.H), which unfortunately i know nothing about. when debugging with gdb, i find that a class containing an object of SLPtrList<> could not destruct normally. i think this is the problem makes the program could not return 0. so, could someone kindly say something about this confusing SLPtrList<>? or where i can learn more about it? any idea will be greatly appreciated! |
|
September 20, 2015, 15:21 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings,
I guess I'm too late to answer now, but in theory:
Best regards, Bruno
__________________
|
|
June 11, 2018, 07:49 |
|
#4 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Hello @cfdopenfoam
Were you able to discover what the problem is? Best regards |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|