Difference between revisions of "BTP300B A2 Team 2 Bugs Report"
(Created page with '<-- Go Back == <u>'''Accomplishments'''</u> == <u>''' Week 2: Oct 13 - 19 '''</u> * Wednesday: meeting and deciding what part each of the team me…') |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 25: | Line 25: | ||
<u>''' Week 3: Oct 20 - 26 '''</u> | <u>''' Week 3: Oct 20 - 26 '''</u> | ||
− | * Friday: | + | * Friday: The program can't call display function from consolelineedit.cpp (same problem with edit function) |
+ | |||
+ | '''Error #1:''' | ||
+ | |||
+ | |||
+ | cframe.cpp: In member function âvoid CFrame::display(const char*)â: | ||
+ | |||
+ | cframe.cpp:92:63: error: no matching function for call to âCFrame::display(const char*&, int, int, int&)â | ||
+ | |||
+ | |||
+ | |||
+ | ** We put the functions of consolelineedit.cpp in namespace cio, so we have to specify it when we are calling the functions: | ||
+ | |||
+ | '''FIX:''' | ||
+ | |||
+ | cio::display(str, top_row + 1, l_most_col + 1, width_val); | ||
+ | |||
<u>''' Week 4: Oct 27 - Nov 2'''</u> | <u>''' Week 4: Oct 27 - Nov 2'''</u> | ||
− | * Monday: | + | * Monday: The code below causing segmentation fault. |
+ | ** This line calls release function from consolebackup.cpp: | ||
+ | |||
+ | release((void**)message); | ||
+ | |||
+ | |||
+ | '''FIX:''' | ||
+ | |||
+ | release((void**)&message); | ||
+ | |||
+ | '''Week 5:''' | ||
+ | * Problem with moving function - Message didn't disappear after pressing the ESCAPE key. (fixed) | ||
+ | * The message from main program would disappear if the box would go over that line. (fixed). |
Latest revision as of 14:54, 5 November 2013
Accomplishments
Week 2: Oct 13 - 19
- Wednesday: meeting and deciding what part each of the team members will do
Week 3: Oct 20 - 26
- Friday:
- All team members finished their coding tasks.
- Meeting in order to decide what will be the future steps.
- Future steps are:
- Due to segmentation fault during testing we decided that each of team members will test at home in order to find what causes the fault.
Week 4: Oct 27 - Nov 2
- Monday:
- The cause for the segmentation fault was found (will be presented in the bug report below).
- The fix was shared between team members using SVN for future testing and improving of the program.
- So far, our code compiles, executes, but the output we get does not looks exactly like required.
Bugs/Problems
Week 3: Oct 20 - 26
- Friday: The program can't call display function from consolelineedit.cpp (same problem with edit function)
Error #1:
cframe.cpp: In member function âvoid CFrame::display(const char*)â:
cframe.cpp:92:63: error: no matching function for call to âCFrame::display(const char*&, int, int, int&)â
- We put the functions of consolelineedit.cpp in namespace cio, so we have to specify it when we are calling the functions:
FIX:
cio::display(str, top_row + 1, l_most_col + 1, width_val);
Week 4: Oct 27 - Nov 2
- Monday: The code below causing segmentation fault.
- This line calls release function from consolebackup.cpp:
release((void**)message);
FIX:
release((void**)&message);
Week 5:
- Problem with moving function - Message didn't disappear after pressing the ESCAPE key. (fixed)
- The message from main program would disappear if the box would go over that line. (fixed).