LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Segmentation Fault after adding a radio button into my compiled app/ (https://www.linuxquestions.org/questions/programming-9/segmentation-fault-after-adding-a-radio-button-into-my-compiled-app-374109/)

Gnarg 10-17-2005 09:53 PM

Segmentation Fault after adding a radio button into my compiled app/
 
Hi All,

When I add a radio button to my application using KdevDesigner, compiling is successful with no warning or errors. Running the compiled application will cause a Segmentation Fault when I run the file.

Any idea how to allow a radio button to work in my app instead of crashing during loading of the app? I'm not sure why it crashes when I done nothing except add it to my app. Its not even connected to anything.

I am using KDE 3.4.1 and KDevelop 3.2.1

Thanks for your helppp...

Aju 10-18-2005 02:29 AM

A bit of code might help us

Gnarg 10-18-2005 06:47 AM

Fixed by a rebuild project
 
Thanks for your reply Aju,


Let me give a little more detail on my project and what I did to correct the issue.

Since I was having this problem at work and at home and could not find a solution I posted this message. I'm using QMAKE to create this app and just by adding in a radio button in KDevDesigner and saving the .UI file, compiling no errors occur or warnings. I then run the executalbe and it crashes while it tries to load so there is no code for me to post since I did not add anything and KdevDesigner added it itself. I still had this problem when I got back to work so I thought to rebuild the whole project to see what happens. Since I have done that the error does not occur anymore and I now can use the radio buttons.

I guess I'll keep that in mind if I ever run into a weird situation again.

Thanks for the help....


Gnarg
:)


All times are GMT -5. The time now is 02:22 AM.