Re: [Qemu-devel] [PATCH] ui: sdl2: Fix crash with -nodefaults -sdl

2016-06-01 Thread Cole Robinson
On 06/01/2016 02:38 AM, Gerd Hoffmann wrote: > On Di, 2016-05-31 at 16:56 -0400, Cole Robinson wrote: >> $ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl >> Segmentation fault (core dumped) >> >> 0 0x559631af in sdl_display_init (ds=, >> full_screen=0, no_frame=) at ui/sdl2.c:822 >>

Re: [Qemu-devel] [PATCH] ui: sdl2: Fix crash with -nodefaults -sdl

2016-05-31 Thread Gerd Hoffmann
On Di, 2016-05-31 at 22:49 +0100, Peter Maydell wrote: > On 31 May 2016 at 21:56, Cole Robinson wrote: > > $ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl > > Segmentation fault (core dumped) > > > > 0 0x559631af in sdl_display_init (ds=, > > full_screen=0, no_frame=) at ui/sdl2.c

Re: [Qemu-devel] [PATCH] ui: sdl2: Fix crash with -nodefaults -sdl

2016-05-31 Thread Gerd Hoffmann
On Di, 2016-05-31 at 16:56 -0400, Cole Robinson wrote: > $ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl > Segmentation fault (core dumped) > > 0 0x559631af in sdl_display_init (ds=, full_screen=0, > no_frame=) at ui/sdl2.c:822 > 1 0x556c8a9a in main (argc=, argv=, > env

Re: [Qemu-devel] [PATCH] ui: sdl2: Fix crash with -nodefaults -sdl

2016-05-31 Thread Peter Maydell
On 31 May 2016 at 21:56, Cole Robinson wrote: > $ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl > Segmentation fault (core dumped) > > 0 0x559631af in sdl_display_init (ds=, full_screen=0, > no_frame=) at ui/sdl2.c:822 > 1 0x556c8a9a in main (argc=, argv=, > envp=) at vl

[Qemu-devel] [PATCH] ui: sdl2: Fix crash with -nodefaults -sdl

2016-05-31 Thread Cole Robinson
$ ./x86_64-softmmu/qemu-system-x86_64 -nodefaults -sdl Segmentation fault (core dumped) 0 0x559631af in sdl_display_init (ds=, full_screen=0, no_frame=) at ui/sdl2.c:822 1 0x556c8a9a in main (argc=, argv=, envp=) at vl.c:4527 Setting the window icon assumes there's always an S