...
This produces the following output:
Code Block | ||||
---|---|---|---|---|
| ||||
[strsort.c:15] **READ_NULL**
>> if(dir * strcmp(a[j-1], a[j]) > 0) {
Reading null pointer: <argument 2>
Stack trace where the error occurred:
strcmp() (interface)
bubble_sort() strsort.c, 15
main() strsort.c, 41
**Memory corrupted. Program may crash!!**
**Insure trapped exception: 0xc0000005**
Stack trace where the error occurred:
strcmp() (interface)
strsort.exe bubble_sort() strsort.c, 15
strsort.exe main() strsort.c, 41
Access violation | ||||
Code Block | ||||
| ||||
[strsort.c:15] **READ_NULL** >> if(dir * strcmp(a[j-1], a[j]) > 0) { Reading null pointer: <argument 2> Stack trace where the error occurred: strcmp() (interface) bubble_sort() strsort.c, 15 main() strsort.c, 41 **Memory corrupted. Program may crash!!** **Insure trapped signal: 11** Stack trace where the error occurred: strcmp() ../sysdeps/generic/strcmp.c, 39 strcmp() (interface) bubble_sort() strsort.c, 15 main() strsort.c, 41 Segmentation violation Abort (core dumped) Exit 134 |
...