Menu

#242 SDL version of AdvanceMenu makes SDL version of MAME hang on Linux

other
open
SDL (1)
5
2014-04-01
2014-04-01
Chris T
No

The SDL version of AdvanceMenu (2.7) makes the SDL version of MAME hang on OpenSUSE 12.3 (kernel 3.7.10 x64). The SDL MAME hangs in ioctl VT_WAITACTIVE, which seems to be waiting for AdvanceMenu to finish with SDL. If I put SDL_Quit() and SQL_Init(SDL_INIT_NOPARACHUTE) around the while(1) "waitpid" in linux/target.c (in target_spawn and target_spawn_redirect) it starts working again.

Related

Bugs: #242

Discussion

  • Andrea Mazzoleni

    Hi Chris,

    What version of SDL do you have on your system ?

    Also, are you running AdvanceMENU from the X graphical environment ? Or in the text interface using the framebuffer ?

    Ciao,
    Andrea

     
    • Chris T

      Chris T - 2014-04-02

      Hiya:

      libSDL-1_2-0-1.2.15-5.4.1.x86_64
      libSDL-devel-1.2.15-60.9.x86_64

      I'm using from the command line with no X-Windows installed...

      Cheers

      On Tue, 2014-04-01 at 20:45 +0000, Andrea Mazzoleni wrote:

      Hi Chris,

      What version of SDL do you have on your system ?

      Also, are you running AdvanceMENU from the X graphical environment ?
      Or in the text interface using the framebuffer ?

      Ciao,
      Andrea


      [bugs:#242] SDL version of AdvanceMenu makes SDL version of MAME hang
      on Linux

      Status: open
      Group: other
      Labels: SDL
      Created: Tue Apr 01, 2014 04:47 PM UTC by Chris T
      Last Updated: Tue Apr 01, 2014 04:47 PM UTC
      Owner: Andrea Mazzoleni

      The SDL version of AdvanceMenu (2.7) makes the SDL version of MAME
      hang on OpenSUSE 12.3 (kernel 3.7.10 x64). The SDL MAME hangs in ioctl
      VT_WAITACTIVE, which seems to be waiting for AdvanceMenu to finish
      with SDL. If I put SDL_Quit() and SQL_Init(SDL_INIT_NOPARACHUTE)
      around the while(1) "waitpid" in linux/target.c (in target_spawn and
      target_spawn_redirect) it starts working again.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/advancemame/bugs/242/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #242

      • Chris T

        Chris T - 2014-04-02

        Tried compiling it against libSDL2 and it fails, for example,
        SDL_Linked_Version() is not defined, only SDL_GetVersion....

        Cheers

        On Wed, 2014-04-02 at 08:23 +0000, Chris T wrote:

        Hiya:

        libSDL-1_2-0-1.2.15-5.4.1.x86_64
        libSDL-devel-1.2.15-60.9.x86_64

        I'm using from the command line with no X-Windows installed...

        Cheers

        On Tue, 2014-04-01 at 20:45 +0000, Andrea Mazzoleni wrote:

            Hi Chris,
        
            What version of SDL do you have on your system ?
        
            Also, are you running AdvanceMENU from the X graphical
            environment ?
            Or in the text interface using the framebuffer ?
        
            Ciao,
            Andrea
        
        
            ______________________________________________________________
        
            [bugs:#242] SDL version of AdvanceMenu makes SDL version of
            MAME hang
            on Linux
        
            Status: open
            Group: other
            Labels: SDL 
            Created: Tue Apr 01, 2014 04:47 PM UTC by Chris T
            Last Updated: Tue Apr 01, 2014 04:47 PM UTC
            Owner: Andrea Mazzoleni
        
            The SDL version of AdvanceMenu (2.7) makes the SDL version of
            MAME
            hang on OpenSUSE 12.3 (kernel 3.7.10 x64). The SDL MAME hangs
            in ioctl
            VT_WAITACTIVE, which seems to be waiting for AdvanceMenu to
            finish
            with SDL. If I put SDL_Quit() and
            SQL_Init(SDL_INIT_NOPARACHUTE)
            around the while(1) "waitpid" in linux/target.c (in
            target_spawn and
            target_spawn_redirect) it starts working again.
        
        
            ______________________________________________________________
        
            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/advancemame/bugs/242/
        
            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/
        

        [bugs:#242] SDL version of AdvanceMenu makes SDL version of MAME hang
        on Linux

        Status: open
        Group: other
        Labels: SDL
        Created: Tue Apr 01, 2014 04:47 PM UTC by Chris T
        Last Updated: Tue Apr 01, 2014 08:45 PM UTC
        Owner: Andrea Mazzoleni

        The SDL version of AdvanceMenu (2.7) makes the SDL version of MAME
        hang on OpenSUSE 12.3 (kernel 3.7.10 x64). The SDL MAME hangs in ioctl
        VT_WAITACTIVE, which seems to be waiting for AdvanceMenu to finish
        with SDL. If I put SDL_Quit() and SQL_Init(SDL_INIT_NOPARACHUTE)
        around the while(1) "waitpid" in linux/target.c (in target_spawn and
        target_spawn_redirect) it starts working again.


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/advancemame/bugs/242/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #242


Log in to post a comment.

MongoDB Logo MongoDB