New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SegFault with Aëdemphia in ShowPicture #485
Comments
The images have wrong metadata, but that is not critical. |
No problem, here's the crash report :
|
Okay I have never seen before a crash in Game_Picture::Show. Needs extra debugging. It's better to track each crash individual I guess. Renamed this one to "SegFault in ShowPicture" |
My gdb backtrace: Program received signal SIGSEGV, Segmentation fault.
std::string::empty (this=0x3e76b28)
at /usr/src/debug/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:822
822 { return this->size() == 0; }
#0 std::string::empty (this=0x3e76b28)
at /usr/src/debug/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:822
No locals.
#1 0x000000000055ce32 in Game_Picture::Update (this=0x2a9c6a0)
at src/game_picture.cpp:175
No locals.
#2 0x000000000050c6de in Game_Screen::Update (this=0x3e8bf80)
at src/game_screen.cpp:317
it = {px = , pn = {pi_ = }}
#3 0x0000000000455ecf in Scene_Map::Update (this=0x3fbfb40)
at src/scene_map.cpp:116
No locals.
#4 0x000000000043af95 in Player::Update (update_scene=true)
at src/player.cpp:252
framerate_interval = 16.666666666666668
cur_time = 6413
#5 0x0000000000453178 in Scene::MainFunction (this=0x3fbfb40)
at src/scene.cpp:96
init = true
__PRETTY_FUNCTION__ = "virtual void Scene::MainFunction()"
#6 0x000000000043ac7c in Player::MainLoop () at src/player.cpp:180
No locals.
#7 0x000000000043abdc in Player::Run () at src/player.cpp:175
No locals.
#8 0x00000000004316b5 in main (argc=2, argv=0x7fffffffdff8)
at src/platform/sdl_main.cpp:31
No locals.
|
@BlisterBoy Do you know which other patches this game used besides AEP and PicPointer? |
Yep ! Great improvements ^^ ! What I noticed :
But this is a great improvement ! |
I guess you used the static build. It is not being built with libmad (MP3 library) yet. I'll try to fix it later, it needed some patches and the build was done in a hurry.
This is a libpng warning about broken embedded color profile chunks, usually from multiple Photoshop versions and other software which encoders violate the PNG specification.
This one is a bit annoying, it is being generated when a picture is not using standard dimensions in the expected range, but they are supported anyways. An unpatched RPG Maker editor usually discards them from the import window.
Is using screen tone + semiopaque zoomed picture effects? then thist might be normal. In case of a big picture or with a large zoom is a known performance issue (#57). Also, screen tone operations are not hardware accelerated. |
Ok ! I'm not surprised for this one, Aëdemphia is 100% custom/photoshopped ressources.
I don't know for your communities but in french community everybody just drag and drop files in the project folder, we use to have no limit in pictures dimensions, I didn't know for this point before starting to work on Easy RPG. Maybe it's a limitation to cancel ?
Yep you are right ! Aëdemphia does an extensive use of those things ^^. The RPG Maker Player has really bad performances issues (the new official version are REALLY bad on a lot of things !!) but this is part of the rare cases when it has better performances than Easy RPG. |
So I had a discussion with Aëdemphia's creator and he sais me that he uses this patch : |
Hello guys :) !
Hmm I've hesitated to create that issue because Aëdemphia is an heavy-french game using Cherry Patchs.
But at the title screen, Easy RPG crashs with a segmentation fault, this could be a serious bug.
You have to push enter at the beginning to start the "real" title screen, "démarrer" and "passer l'introduction" to have the segmentation fault (I've got it just after the first enter push one time).
Here is a link to download it (1GB :/) :
http://www.aedemphia-rpg.net/download/Aedemphia.rar
Some screenshots to motivate you xp :
http://www.aedemphia-rpg.net/screenshots.html
NB : Aëdemphia uses Cherry Patches, so I don't expect to play the game for now, but it uses advanced features (it plays .MPG etc.) of RPG Maker, it could be interesting to compare RPG Maker interpretation and the Easy RPG Player one.
The text was updated successfully, but these errors were encountered: