fixed bug in stringlist - #552
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Any reason why test cases won't pass specifically for macos compiler. I rechecked everything many times but couldn't find any error in logic, I wanted to know if I am making some mistake by making some assumption which is invalid for macos's compiler. PS: all test cases pass for my gfortran 10.2.0 windows, ran cmake --build build --target clean as well. |
690c89a to
597ddbd
Compare
7c04491 to
c5ea35d
Compare
|
As per my analysis: call number 14 to function compare_list is failing because:
I am trying to insert This is what I am getting as the output from macos compiler: |
c5ea35d to
0bd66e1
Compare
|
What is the status of this PR? How can we help to move forward? |
|
@jvdp1 Thanks for contacting. PR is stuck here, I tried many different things. I have mentioned the details of the problem here. I am planning to make these test cases readable for others (I should have thought to do that earlier). |
|
Strange... |
|
Any luck? @jvdp1 |
No :( And then the holidays arrived. It is also difficult to run tests as I don't have a MacOS computer. Anyone with a MaCOS to test this issue? |
If the inserted
slisthas length 0, theninsert_atcan give seg-fault error in this code:Resolved by: adding an if-else statement to check for length of
slist