LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 12-23-2010, 07:39 AM   #1
ViridianGames
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
Unhappy Strange Crash on Exiting an SVGALIB program


I'm currently working on an embedded system that uses Linux. The embedded system uses a 486 chip, has 32 megs of memory, has 128 megs of solid-state storage and uses a 640x480 LCD screen. The device is using SYSLinux, I'm using Ubuntu and NetBeans as my development platform and C++ as my programming language.

My problem is this. SVGALIB seems to not like to run in 640x480 mode on this device. If I specify 640x480x16 colors, the graphics are stretched off the bottom as if SVGALIB thinks the screen is taller than it actually is.

If I specify 640x480x256 (the mode I would really like to use), everything is fine...until I exit my program, at which point SGVALIB registers a segmentation fault and my screen stops getting updates. The box is still running, I just can't see anything (graphics or text) on the screen. If I ssh into the box and rerun the graphical program, it pops back up successfully.

For the speed of my development cycle, I would like to be able to cleanly exit the software without having to reboot the embedded device. Has anyone seen anything like this and has any idea how I can quickly fix it?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox crash when exiting Thursapr Slackware 8 02-01-2010 02:51 PM
Strange console behavior after exiting X rcrules Linux - Laptop and Netbook 7 05-20-2006 09:39 PM
KDE crash handler when exiting programs Klas Mandriva 9 08-29-2004 11:03 PM
ut2004 makes X crash when exiting the game chil326 Linux - Games 6 08-25-2004 10:23 PM
Origin of strange error messages when exiting KDE... migraine Linux - Newbie 3 06-06-2004 04:07 PM


All times are GMT -5. The time now is 09:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration