-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segmentation fault #1
Comments
I'm relatively certain that adding It would be best if we had some test data to make sure that this fix works. There may have been some other change that I'm forgetting that would also need to be made. |
Thank you for your response. For clarification, I added the line to the DBContaier.cc file after line 29 as shown below. Is this the correct place as the file contains empty lines? Unfortunately, I still get the same segmentation fault. Thanks, Markus #include "DBContainer.h" #include using std::ifstream; void DBContainer::init(const char* dbFile){
} |
Sorry, my comment above was really more of a running commentary aimed towards maintainers. ORFanFinder is not a dependency, but it does share some code HTGFinder. However, there have been times where one has been modified without the other, and we'll need to reconcile that. |
Just to be clear, is there anything I can do to fix the problem? |
No, I think this is something that we will have to debug. |
Hi - Thank you for making this script available. I have been running into several segmentation faults, some I could solve but I'm not sure how to approach this one. When I check the core file I get the following output:
gdb HGTFinder core
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from HGTFinder...(no debugging symbols found)...done.
[New LWP 21569]
Core was generated by `./HGTFinder -d CG23.2.blast.out -s Janthino.CG23.2.blast.self -t 1706231 -o HGT'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000041f2eb in DBContainer::operator[](std::__cxx11::basic_string<char, std::char_traits, std::allocator >&) ()
Do you have any suggestion what could cause this segmentation fault in the DBcontainer files?
Best,
Markus
The text was updated successfully, but these errors were encountered: