#1394 Crash when loading rom (adminuser/permissions related)

v0.9.10
open-accepted
rogerman
None
0.9.11
5
2016-07-12
2014-04-08
Zero07
No

Desmume crashes when loading any rom if it's running from a location which requires administrator privileges (works when run as admin). I am pretty sure it didn't need any before v0.9.10 but I don't have an older version so I can't tell if it's because of desmume or something else.
Changing the battery path to desktop works without admin, but any changes made in config will not save if not executed as admin. Desmume needs to be run as admin to function normally.

Discussion

  • zeromus

    zeromus - 2014-04-08

    sounds likely. the desmume developers use XP, and it's hard to keep checking to see if things crash when permission to write is denied

     
  • Alvin Wong

    Alvin Wong - 2014-04-09

    You shouldn't place DeSmuME inside anywhere that requires administrator privileges (e.g. Program Files) because that doesn't make sense for a portable program. (By "portable" I mean the settings and stuff are stored on the same directory of the executable.) Just put it inside your user profile directory.

     
  • Zero07

    Zero07 - 2014-04-09

    Yes! I know I shouldn't but it worked well before. Just tested with 0.9.8 and I can confirm it works without admin rights. Can't imagine why it doesn't work anymore.... Guess I'll have to start switching folders again.

     
  • Anonymous - 2014-07-13

    when i play pokemon it wont work all it tells me program close.

     
  • zeromus

    zeromus - 2014-09-16
    • summary: Crash when loading rom --> Crash when loading rom (adminuser/permissions related)
     
  • Anonymous - 2014-11-08

    every time i play pokemon explores of sky, it crashes doing the gameplay or when it's loading a room. why is this happening?

     
  • zeromus

    zeromus - 2014-11-08

    don't use savestates, save in-game, and reset the game occasionally.

     
  • rogerman

    rogerman - 2015-03-19

    Confirmed crash on the v0.9.10 release as well as on r5120. The crash occurs exactly as the bug report describes.

    Of note, the v0.9.9 release does not crash, but does get stuck on a white screen emulation hang (the app itself does not hang). However, the v0.9.8 release works just fine, so this can be considered a regression.

     
  • zeromus

    zeromus - 2015-03-19

    I'm not sure this is a scenario we care to support. But it'd be better to detect it and bomb out and warn the user.

     
  • rogerman

    rogerman - 2015-03-19
    • status: open --> open-accepted
    • assigned_to: rogerman
    • planned milestone: none --> 0.9.11
    • Group: v0.9.11 --> v0.9.10
     
  • rogerman

    rogerman - 2015-03-19

    Fixed in [r5121].

     

    Related

    Commit: [r5121]

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2016-07-12

    Whenever I try and load pokemon black 2, it gives me an error then crashes desmume

     
    • zeromus

      zeromus - 2016-07-12

      stop using cheats

       
      • Comment has been marked as spam. 
        Undo

        You can see all pending comments posted by this user  here

        Anonymous - 2016-07-19

        He's most likely not, I'm getting the same

         


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks