Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 03-14-2003, 05:41 AM   #1
LQ Newbie
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
segmentation fault with my Gtk Application

My Gtk Application most of the times dies giving a segmentation fault at gtk_widget_show(window2).

Debugger gdb, shows the same error as
gtk_window_show() at eval.c: 41.
41 eval.c no such file or directory.

If not at this statement, some other times gbd stops at end of a function showing error at gtk_marshal_NONE_NONE().

Anyone, please lemme know a way to avoid this segmentation fault.


1. I tried "myapplication --sync" for any error logging, this doesnt help me.
2. Also did MALLOC_CHECK_=2 for that environment variable, havent got any more informatio.
Old 03-18-2003, 11:05 AM   #2
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
It might help if you posted some of your source code, especially line 41 of eval.c and the code surrounding it


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
Qt application: segmentation fault error dr_berta Programming 2 10-24-2005 03:20 PM
how to link helpblocks application to gtk application m.harshavardhan Linux - Software 0 08-16-2005 08:39 AM
segmentation fault itywygms Linux - Newbie 10 09-19-2004 08:25 PM
segmentation fault sakkie Linux - Security 7 03-26-2004 11:10 PM

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

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