Hi again.
In 'game mods' dialog, when i select any mod, game starts to download the preview image. But if i select other mod before previous one have been loaded, then game crashing to the desktop.
For example, if i had to choose 5 mods, game crashes only before trying to load preview image of the last selected mod.
Ubuntu 10.10 Maverick (Linux 2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15 UTC 2011 i686 GNU/Linux)
Terminal output, when the last selected preview image was...
v3.5.1-dev-GNUC: 40405-Apr 22 2011 17:02:09, SVN: [Rev: 2148M], [STREFLOP]
Could not parse filepath: /home/username/.megaglest/temp/map_forest_hunt.gbm.jpg
[2011-04-22 17:35:39] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/map_forest_hunt.gbm.jpg as object of type N6Shared8Graphics8Pixmap2DE]
[2011-04-22 17:35:39] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 342] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/map_forest_hunt.gbm.jpg as object of type N6Shared8Graphics8Pixmap2DE]
] gameInitialized = 1, program = 0x8ea2668
[2011-04-22 17:35:39] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 433] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/map_forest_hunt.gbm.jpg as object of type N6Shared8Graphics8Pixmap2DE]
Stack Trace:
./megaglest.bin:Glest::Game::glestMain(int, char**) address [0x83ec398] line: 2648
./megaglest.bin:Glest::Game::glestMainWrapper(int, char**) address [0x83ec701] line: 2704
./megaglest.bin:main() address [0x83ec82e] line: 2726
/lib/libc.so.6:__libc_start_main() address [0xb5eb2ce7] line: 0
./megaglest.bin() [0x82e7981] address [0x82e7981] line: 0
]
Corrupt JPEG data: premature end of data segment
Unsupported marker type 0xb5
In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 566] Error detected: signal 11:
[2011-04-22 17:35:39] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 342] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 566] Error detected: signal 11:
] gameInitialized = 1, program = 0x8ea2668
In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 566] Error detected: signal 11:
[2011-04-22 17:35:39] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 342] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 566] Error detected: signal 11:
] gameInitialized = 1, program = 0x8ea2668
[2011-04-22 17:35:40] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 433] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 566] Error detected: signal 11:
Stack Trace:
./megaglest.bin:Glest::Game::handleSIGSEGV(int) address [0x83d6987] line: 570
[0xb786d400] address [0xb786d400] line: 0
/lib/libc.so.6:() address [0xb5fb0f98] line: 0
/usr/lib/libstdc++.so.6:std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int) address [0xb60c8bde] line: 0
/usr/lib/libstdc++.so.6:std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) address [0xb60c94cf] line: 0
./megaglest.bin:Shared::PlatformCommon::BaseThread::getHasBeginExecution() address [0x8642afe] line: 100
./megaglest.bin:Shared::PlatformCommon::BaseThread::getRunningStatus() address [0x864319c] line: 129
./megaglest.bin:Shared::PlatformCommon::BaseThread::shutdownAndWait() address [0x86441ff] line: 221
./megaglest.bin:Glest::Game::Renderer::cleanupScreenshotThread() address [0x8392b72] line: 214
./megaglest.bin:Glest::Game::Renderer::~Renderer() address [0x8393213] line: 256
/lib/libc.so.6:() address [0xb5ecb69e] line: 0
/lib/libc.so.6:() address [0xb5ecb70f] line: 0
/usr/lib/libjpeg.so.8:() address [0xb745d826] line: 0
/usr/lib/libjpeg.so.8:() address [0xb745a829] line: 0
]
Ошибка ÑÐµÐ³Ð¼ÐµÐ½Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ <-- which means segmentation fault
v3.5.1-dev-GNUC: 40405-Apr 22 2011 17:02:09, SVN: [Rev: 2148M], [STREFLOP]
Could not parse filepath: /home/username/.megaglest/temp/tech_mSre.png
[2011-04-22 17:50:05] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/tech_mSre.png as object of type N6Shared8Graphics8Pixmap2DE]
[2011-04-22 17:50:05] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 342] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/tech_mSre.png as object of type N6Shared8Graphics8Pixmap2DE]
] gameInitialized = 1, program = 0x8f10668
[2011-04-22 17:50:05] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 433] [In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/tech_mSre.png as object of type N6Shared8Graphics8Pixmap2DE]
Stack Trace:
./megaglest.bin:Glest::Game::glestMain(int, char**) address [0x83ec398] line: 2648
./megaglest.bin:Glest::Game::glestMainWrapper(int, char**) address [0x83ec701] line: 2704
./megaglest.bin:main() address [0x83ec82e] line: 2726
/lib/libc.so.6:__libc_start_main() address [0xb5e61ce7] line: 0
./megaglest.bin() [0x82e7981] address [0x82e7981] line: 0
]
libpng error: Could not read from png-file
0 = [89] 1 = [50]
libpng error: Could not read from png-file
Could not parse filepath: /home/username/.megaglest/temp/tech_mSre.png
[2011-04-22 17:50:05] *ERROR* In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/tech_mSre.png as object of type N6Shared8Graphics8Pixmap2DE]
terminate called after throwing an instance of 'std::runtime_error'
what(): In [/usr/home/username/src/megaglest/trunk/source/glest_game/menu/menu_state_mods.cpp::render 1925] error [Could not parse /home/username/.megaglest/temp/tech_mSre.png as object of type N6Shared8Graphics8Pixmap2DE]
Ðварийный оÑтанов <- which means aborted
p.s. I guess, It happens only if the last and previous image types are different.