Hi all
Please tell me why we got segmentationfault.
and how can we detect these faults.
Thanx
merry
Hi all
Please tell me why we got segmentationfault.
and how can we detect these faults.
Thanx
merry
Always Believe in Urself
Merry
Segmentation fault happens when an application tries to access memory in a way that violates system security policies. How to detect? Use a debugger
hi
Actually having a listView of items. When I click on items it wont show any error but when clicks on any other portion on the listView .It shows Segmentationfault.
How can I correct this
Thanx
Always Believe in Urself
Merry
Use a debugger to see where the crash occurs. You probably have a null pointer somewhere.
When you click on the other parts of the ListView the QListViewItem* is set to 0.
so before you do anything on it check if it is a null pointer.
We can't solve problems by using the same kind of thinking we used when we created them
Bookmarks