UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #2829 radiant SIGSEGV after failing to load ufoai.game
Go to the next issue (open or closed)
Go to the next open issue
mattn (@tlh2000) has been working on this issue since January 28, 2013 (20:47)
Issue basics
  • Type of issue
    Bug report
  • Category
    Map Editor (UFORadiant)
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2829 Item 2829] imported from sourceforge.net tracker on 2013-01-28 19:50:51

1) ufoai-2.3.1-source.tar.bz2

2) Fedora 14, integrated Intel Core i7 M620 graphics (if that matters ...)

3) just run uforadiant compiled from source -

the subject says it all ... after failing to load ufoai.game, the game segfaults on trying to display the error dialog - the line 186 says:

gtkutil::errorDialog(GlobalRadiant().getMainWindow(), _("XML parser failed ufoai.game"));



(gdb) run
Starting program: /usr/bin/uforadiant
[Thread debugging using libthread_db enabled]
I/O warning : failed to load external entity "/home/kvolny/Projects/RPM_Fusion/nonfree/ufoai/F-14/ufoai-2_3_1-2_fc14/games/ufoai.game"

Program received signal SIGSEGV, Segmentation fault.
0x000000000052e6d6 in CGameDialog::Init (this=<value optimized out>) at src/tools/radiant/radiant/settings/preferences.cpp:186
186 gtkutil::errorDialog(GlobalRadiant().getMainWindow(), _("XML parser failed ufoai.game"));
(gdb) bt full
#0 0x000000000052e6d6 in CGameDialog::Init (this=<value optimized out>) at src/tools/radiant/radiant/settings/preferences.cpp:186
strGameFilename = "/home/kvolny/Projects/RPM_Fusion/nonfree/ufoai/F-14/ufoai-2_3_1-2_fc14/games/ufoai.game"
pDoc = 0x0
#1 0x00000000005095a4 in main (argc=1, argv=0x7fffffffdf48) at src/tools/radiant/radiant/main.cpp:482
No locals.


and in addition, I do not see any check for success of Init neither for value of g_pGameDescription so it may be used unitialised when pDoc is null (but I haven&#039;t studied the sources in depth, I&#039;m not a C++ programmer ...)
===== Comments Ported from Sourceforge =====

====== kavol (2011-03-17 10:23:53) ======

"the game segfaults" - I mean uforadiant segfaults of course
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif