View Full Version : Segmentation Fault
merry
9th March 2007, 13:05
Hi all
Please tell me why we got segmentationfault.
and how can we detect these faults.
Thanx
merry
wysota
9th March 2007, 13:57
Segmentation fault happens when an application tries to access memory in a way that violates system security policies. How to detect? Use a debugger :)
merry
9th March 2007, 14:08
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
wysota
9th March 2007, 15:26
Use a debugger to see where the crash occurs. You probably have a null pointer somewhere.
sunil.thaha
12th March 2007, 05:08
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2023 vBulletin Solutions Inc. All rights reserved.