LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-17-2005, 09:53 PM   #1
Gnarg
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Gentoo Linux
Posts: 44

Rep: Reputation: 15
Unhappy 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...
 
Old 10-18-2005, 02:29 AM   #2
Aju
LQ Newbie
 
Registered: Aug 2005
Location: ~
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
A bit of code might help us
 
Old 10-18-2005, 06:47 AM   #3
Gnarg
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Gentoo Linux
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
php radio button question jabfinger Programming 5 08-14-2005 10:36 AM
internet radio app subzero13 Linux - General 3 07-18-2005 09:09 AM
Segmentation fault on toplevel = XtVaAppInitialize(&app, "Email", NULL, 0, &argc, cbranje Programming 0 02-19-2005 12:06 PM
My Qt App Produce A Segmentation Fault andresbm3 Programming 1 01-16-2004 10:41 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration