English Amiga Board

Go Back   English Amiga Board > Support > support.FS-UAE

Thread Tools
Old 17 March 2013, 21:15   #1
Posts: n/a
Unable to start FS-UAE because of segmentation fault [Solved]

Hi all,

I've compiled the latest development release of FS-UAE (2.1.34dev), and when I run it, I get a "Segmentation fault". I can also mention that I tried compiling the latest stable version, and got the same result.

I'm using Slackware 14.0 64-bit (32-bit enabled), and compiled it using make optimize=0 CXXFLAGS="-O2 -fPIC". I have analyzed both the logs and the strace when I ran the fs-uae binary, but I am not able to determine the root cause of the problem.

Anyone with more debug experience than me who would care to give it a shot? :-)

Attached Files
File Type: txt output_from_ldd.txt (2.0 KB, 145 views)
File Type: zip output_from_strace.txt.zip (15.4 KB, 144 views)
File Type: txt FS-UAE.log.txt (4.0 KB, 171 views)

Last edited by FrodeSolheim; 18 March 2013 at 18:57.
Old 17 March 2013, 22:54   #2
FS-UAE Developer
FrodeSolheim's Avatar
Join Date: Dec 2011
Location: Førde, Norway
Age: 40
Posts: 3,860
It would help if you ran FS-UAE through gdb, for example:
gdb --args fs-uae --no-initial-input-grab --no-automatic-input-grab
and post the stack trace!
(the extra args are to prevent your input from being grabbed when GDB pauses the crashed process).
FrodeSolheim is offline  
Old 18 March 2013, 18:32   #3
Posts: n/a
Hi Frode! Awesome to get replies directly from the developer :-)

I did as you suggested, and collected a stacktrace using gdb. I have attached the log file.

This information helped me pinpoint the root cause of my troubles, which was libGL.so.1. Apparently the file was missing, and I remember now that I replaced my ATI fglrx driver with the open source radeon driver a couple of weeks ago. When I removed fglrx, it must have removed libGL.so.1 as well.

The problem was solved by reinstalling the packages bundling opengl, and restarting fs-uae.

Thanks for the tip!
Attached Files
File Type: txt output_from_gdb.txt (2.3 KB, 223 views)

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS-UAE not working online [Solved] Neil79 support.FS-UAE 8 10 April 2013 01:15
Missing stereo sound in FS-UAE [Solved] yesplease support.FS-UAE 20 22 January 2013 07:11
FS-UAE: NTSC still not quite right [Solved] mr_a500 support.FS-UAE 22 21 January 2013 21:09
Using shaders with FS-UAE on Ubuntu [Solved] DaveMB support.FS-UAE 2 14 October 2012 15:46
savestate.cpp => segmentation fault john4p support.Other 2 07 July 2010 08:55

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 On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 19:46.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.06616 seconds with 14 queries