New bug/crash from 15 days with new ES release
-
@ChauncyBlack Your bugs are not related please open a new thread
-
Contents of es_log.txt.bak (es_log.txt was identical)
lvl2: EmulationStation - v2.6.1rp, built Aug 25 2017 - 23:15:46
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: Added known joystick Logitech Logitech Cordless RumblePad 2 (instance ID: 0, device index: 0)
lvl2: Added known joystick Logitech Logitech Cordless RumblePad 2 (instance ID: 1, device index: 1)
lvl2: Checking available OpenGL extensions...
lvl2: ARB_texture_non_power_of_two: MISSING
lvl2: Loading system config file /etc/emulationstation/es_systems.cfg...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/amstradcpc/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/amstradcpc/../carbon.xml")
could not find file ""
lvl1: System "amstradcpc" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/arcade/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/arcade/../carbon.xml")
could not find file ""
lvl1: System "arcade" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atari2600/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/atari2600/../carbon.xml")
could not find file ""
lvl1: System "atari2600" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atari7800/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/atari7800/../carbon.xml")
could not find file ""
lvl1: System "atari7800" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/atarilynx/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/atarilynx/../carbon.xml")
could not find file ""
lvl1: System "atarilynx" has no games! Ignoring it.
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/fba/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/fba/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/fba/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/fds/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/fds/../carbon.xml")
could not find file ""
lvl1: System "fds" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gamegear/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/gamegear/../carbon.xml")
could not find file ""
lvl1: System "gamegear" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gb/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/gb/../carbon.xml")
could not find file ""
lvl1: System "gb" has no games! Ignoring it.
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/gba/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gba/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/gba/../carbon.xml")
could not find file ""
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/gbc/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/gbc/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/gbc/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/mame/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/mame/../carbon.xml")
could not find file ""
lvl1: System "mame-libretro" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/mame/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/mame/../carbon.xml")
could not find file ""
lvl1: System "mame-mame4all" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/mastersystem/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/mastersystem/../carbon.xml")
could not find file ""
lvl1: System "mastersystem" has no games! Ignoring it.
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/megadrive/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/megadrive/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/megadrive/../carbon.xml")
could not find file ""
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/n64/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/n64/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/n64/../carbon.xml")
could not find file ""
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/neogeo/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/neogeo/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/neogeo/../carbon.xml")
could not find file ""
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/nes/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/nes/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/nes/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/ngp/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/ngp/../carbon.xml")
could not find file ""
lvl1: System "ngp" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/ngpc/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/ngpc/../carbon.xml")
could not find file ""
lvl1: System "ngpc" has no games! Ignoring it.
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/pcengine/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/pcengine/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/pcengine/../carbon.xml")
could not find file ""
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/psx/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/psx/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/psx/../carbon.xml")
could not find file ""
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/retropie/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/retropie/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/retropie/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/sega32x/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/sega32x/../carbon.xml")
could not find file ""
lvl1: System "sega32x" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/segacd/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/segacd/../carbon.xml")
could not find file ""
lvl1: System "segacd" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/sg-1000/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/sg-1000/../carbon.xml")
could not find file ""
lvl1: System "sg-1000" has no games! Ignoring it.
lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/snes/gamelist.xml"...
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/snes/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/snes/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/vectrex/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/vectrex/../carbon.xml")
could not find file ""
lvl1: System "vectrex" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/zxspectrum/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/zxspectrum/../carbon.xml")
could not find file ""
lvl1: System "zxspectrum" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-allgames/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/auto-allgames/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-favorites/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/auto-favorites/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-lastplayed/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/auto-lastplayed/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/custom-collections/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/custom-collections/../carbon.xml")
could not find file ""
lvl2: EmulationStation cleanly shutting down. -
@chauncyblack Thanks. Could you share this log when it has frozen? I'd expect to find some log entries on joysticks disconnecting or connecting, and their IDs, towards the end before it crashes. This log seems to pertain to a session that successfully finished.
Similar to the ones at the beginning:
lvl2: Added known joystick Logitech Logitech Cordless RumblePad 2 (instance ID: 0, device index: 0) lvl2: Added known joystick Logitech Logitech Cordless RumblePad 2 (instance ID: 1, device index: 1)
-
-
@hex said in New bug/crash from 15 days with new ES release:
Do not connect any bluetooth devices while testing. I will not need logs as the error is an assert failing. So I can study it based on if it fails due to PS.
You want i launch ES without Power Saver like before and no BT Keyboard and no x360 Pad ?
Can you tell me if you have screensaver enabled? and of what type?
Yes i have the @pjft Video Screensaver.
-
Ok set the screensaver to dim and no bluetooth devices connected.
-
@hex ok i will do this this night, it take some hours to crash.
-
@pjft trailing end of new es_log.txt from hang state:
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/snes/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/snes/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/vectrex/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/vectrex/../carbon.xml")
could not find file ""
lvl1: System "vectrex" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/zxspectrum/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/zxspectrum/../carbon.xml")
could not find file ""
lvl1: System "zxspectrum" has no games! Ignoring it.
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-allgames/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/auto-allgames/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-favorites/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/auto-favorites/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/auto-lastplayed/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/auto-lastplayed/../carbon.xml")
could not find file ""
lvl1: Warning from theme "/etc/emulationstation/themes/carbon/custom-collections/theme.xml"
(from included file "/etc/emulationstation/themes/carbon/custom-collections/../carbon.xml")
could not find file ""
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!
lvl1: OptionListComponent too narrow!The es_log.txt.bak indicated a clean shutdown.
-
@ChauncyBlack Please post your problem in another thread and do not spam this one
mention me and pjft in the new thread so we can follow it.
-
@hex are we sure it's not the same problem? I asked him to post here. We can follow in a separate thread, of course.
-
@chauncyblack I don't see anything there related to controllers, sadly. Let's follow up on a separate thread unless you are getting the same crash @darknior is having. Thanks.
-
@pjft : @ChauncyBlack 's error comes from themes while @darknior 's error stems from Joysticks. Seems independent hence my request
-
@hex Oh, sorry. I'm not sure what suggests that it is a themes related issue in any way, but I might have missed something in this thread then.
We'll follow up separately then.
-
Oh my bad its not themes but it definitely not related to the Joystick bug.
@darknior 's bug is at a specific assert. that is the only point of failure. I dont know about the other bug so I asked for it to be posted in another thread. Dont want to confuse logs of both.
-
This night i have try ES with Black screensaver,no video and Power Saving to none and i have no crash ... strange ?
-
ok tomorrow night try video screensaver and PS disabled.
-
Hi guys, I thought I would add some input to this issue as I have experienced this rather frequently as well.
I am running ES 2.3.1 so this issue is not related to PS. From what I have been able to gather it is definitely related to a joystick disconnecting while ES is loading and it is not specific to Bluetooth as I do not use any BT devices in my setup.
My system is using 2 x XBox 360 Wireless controllers connected to an HDE USB Xbox 360 Wireless Receiver for Windows (https://www.amazon.com/gp/product/B0096PLB9O/ref=oh_aui_detailpage_o07_s00?ie=UTF8&th=1). I also have 2 x iBuffalo USB gamepads but I think the issue occurs mostly with the XBox controllers.
In my system I am using xboxdrv and the runcommand scripts to launch and kill xboxdrv with different controller mappings for specific systems as shown in the Wiki (https://github.com/RetroPie/RetroPie-Setup/wiki/Universal-Controller-Calibration-&-Mapping-Using-xboxdrv). So I suspect that in many cases the split seconds that xboxdrv is being killed/restarted after exiting an emulator happens to be occurring at the same time that ES is checking for joysticks and therefore crashes.
However I am sure it is not always tied to xboxdrv - to do some testing, I disabled xboxdrv to simplify my setup, and I was able to get ES to crash consistently by turning off the XBox 360 controller immediately after exiting an emulator.
There is nothing unusual in the es_log.txt file, so the only error message is the assert failure that is reported on the screen.
I guess the question comes up, is there a better way to handle the error in the scenario where a joystick disconnects rather than coming to a complete halt? Maybe some sort of timeout loop that attempts to reconnect a few times before failing a bit more gracefully, or some process to allow the user to reconnect a controller?
Just thinking out loud a bit. Happy to help in whatever way I can to troubleshoot further if needed.
-
@darknior Is this resolved for you? You can try different screensavers with PS disabled to check if the error happens
-
@msheehan79 thank you for the detailed account. Indeed that angle makes a lot more sense.
We could perhaps try to look into better handling of that particular cycle in that edge case, though given that the problem seems to be elusive enough I'm not sure how to confirm whether that change would effectively be affecting and fixing it in any way.
@Hex any thoughts?
-
I think the assert fails when ES encounters a false JS disconnect. What should be done in such case is the joystick should be re-added. I shall look into submitting a PR for you to test. Since this bug is not reproduceable, testing will be a nightmare.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.