FlashComGuru Home InfluxisCDNImediaseeUvault
                                                                                       Forum Index | Active Topics | Register
                                                                                                          List Overview | List Archives
                                                                                                                           About this site | Advertise
 

home

Adobe AIR (11)
Applications (40)
Books & Training (11)
Collaboration (18)
Components (10)
Events (80)
Flash Player (35)
Flex (39)
FMS (110)
General (123)
Hosting (6)
Jobs (17)
Off topic (36)
OSMF (3)
Press Releases (23)
Site Check (11)
Tools (53)
Videos & Players (74)

Follow me on Twitter

 
As promised previously here are some instructions on how to create a stack trace for FMS on Linux. Thanks to Asa Whillock from Adobe for writing this up.

1. Go to your installed FMS directory
2. You should see in this directory something like core.#### where #### is the PID of the crashed process.
3. If you don't see core.#### after the crash, likely you have core dumps turned off so that Linux didn't make one when you crashed.
3a. Edit your 'server' file in the same FMS install dir. Add the line 'ulimit -c unlimited' following the other ulimits in the first few lines. Then run and crash again.
4. Write a new file - it's a batch file for gdb. I called mine stackTracer
5. In this new file insert only two lines

thread apply all bt
   quit

6. Save and close the file
7. Run the following command in the same dir

Gdb fmscore -batch -c core.#### -x stackTracer > stackOutput

Now you should have a file named stackOutput that when you open it has a stack trace with all the threads and symbols that can be taken from fmscore when it crashed. If you get a file with mostly ?? for the right side of the stacks it might not be the right file so check what crashed - it might not have been the fmscore.

That's a good start point for narrowing down any problems with a crashing FMS.

Related Articles

Comments