473,395 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

fltk

I am doing some development with the fltk libraries, and struggling to
track down segmentation faults. The program opens a text file,
representing a maze, and has an algorithm to solve the maze. Getting
faults randomly after opening files. Wondering what parts of code will
trigger segmentation faults. I am aware that this is attempting to
access memory not allocated the program, but not sure what fltk
functions or objects will do this, or what flaws in my code will do
this.
thanks

Oct 20 '06 #1
2 1609
steve wrote:
I am doing some development with the fltk libraries, and struggling to
track down segmentation faults. The program opens a text file,
representing a maze, and has an algorithm to solve the maze. Getting
faults randomly after opening files. Wondering what parts of code will
trigger segmentation faults. I am aware that this is attempting to
access memory not allocated the program, but not sure what fltk
functions or objects will do this, or what flaws in my code will do
this.
Briefly, this newsgroup is only qualified to discuss raw C++ itself, not all
its libraries.

You have memory corruption (or FLTK does), and your code dies after the
corruption occurs. Try whacking large segments out of your program until the
corruption goes away.

You should either post some here, or to a mailing list that covers FLTK, for
better help.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Oct 20 '06 #2
steve wrote:
I am doing some development with the fltk libraries, and struggling to
track down segmentation faults. The program opens a text file,
representing a maze, and has an algorithm to solve the maze. Getting
faults randomly after opening files. Wondering what parts of code will
trigger segmentation faults. I am aware that this is attempting to
access memory not allocated the program, but not sure what fltk
functions or objects will do this, or what flaws in my code will do
this.
thanks
You're best to ask in the FLTK newsgroups. You can subscribe to the FLTK
newsgroup by pointing your newsreader to: news.easysw.com. Ask your
question in: fltk.general.

Alvin
Oct 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: R.Marquez | last post by:
I hope I don't bore you with this personal experience. But, I hope the details are helpful for other Python and/or Linux newbies, or for those thinking about becoming such. I have been using...
13
by: Alessandro Pinto | last post by:
Dear All, I'm looking for C++ GUI toolkit which is free and standard. I'm currently using the Fox toolkit. The features I'm looking for are: -Platform independence -Reasonable users support...
1
by: Engineer | last post by:
Hi there , iam doing a GUI using FLTK, in my interface i have a picture .. and i need to select a region in this picture using a rectangle.. this rectangle should be drawn sing the mouse .. and...
17
by: gamaron | last post by:
Summary --------- Is Fox Toolkit ( http://www.fox-toolkit.org/ ) the "best" C++ GUI library/toolkit? My key goals (at least those that come to mind right now): * Portability (Windows, Linux,...
18
by: aum | last post by:
Hi all, I've been doing a fair bit of python gui programming on and off, jumping between different widget sets along the way, from anygui, to pythoncard, to tkinter/PMW, then to...
22
by: Glurt Wuntal | last post by:
I am a newbie with Python. It's a great language, but I would like to be able to present a simple gui menu for some of my scripts; something better than using 'raw_input' prompts. Any...
24
by: silversurfer2025 | last post by:
Hello. I do not know whether this really is the right group, but I could not find any group dealing only with GUIs for C++ so here I am. I am currently deciding which GUI to use in my program....
11
by: maybetooparanoid | last post by:
Hello, I am now in the crucial moment I must choose one GUI platform for a new project, and would like to get some advice from experts. Details about my project: - source code is in C++ =GUI...
12
by: Udhay | last post by:
I am new to vc++. Whether Visual Studio is a platform independent? Is there any chance of using my application created by vc in MAC or Linux. udhay
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.