Skip to contentSkip to conversation

SDL zooming segfault

Qemu-devel Luiz Capitulino 3 participants 3 messages Jul 31, 2009

lore
Share & tools
lore
#0 lore raw

Hi Stefano,

I'm getting a segfault when trying to resize my SDL window, this
happens on qemu upstream and qemu-kvm.

To be sure that it wasn't added after the initial code was introduced,
I ran 'git bisect', but it says that the problem was introduced by c18a2c360e3100bbd71162cf922dcd8c429a8b71 (the initial code).

I can reproduce it very easily by doing:

1. Start QEMU in pause mode, for example:

$ qemu-system-x86_64 -hda fedora11.img -boot c -S

2. Switch to the Monitor

Ctrl+Alt+2

3. Type 'help'

(qemu) help

4. Using the mouse, try to resize the screen. QEMU will crash

#1 lore raw
Quoted 18 lines · Luiz Capitulino

Hi Stefano,

I'm getting a segfault when trying to resize my SDL window, this
happens on qemu upstream and qemu-kvm.

To be sure that it wasn't added after the initial code was introduced,
I ran 'git bisect', but it says that the problem was introduced by c18a2c360e3100bbd71162cf922dcd8c429a8b71 (the initial code).

I can reproduce it very easily by doing:

1. Start QEMU in pause mode, for example:

$ qemu-system-x86_64 -hda fedora11.img -boot c -S

2. Switch to the Monitor

Quoted 8 lines

Ctrl+Alt+2

3. Type 'help'

(qemu) help

4. Using the mouse, try to resize the screen. QEMU will crash

Thanks for the detailed report!
I'll try to fix it as soon as possible.

Cheers,

Stefano

#2 lore raw
In reply to Luiz Capitulino
Quoted 18 lines · Luiz Capitulino

 Hi Stefano,

 I'm getting a segfault when trying to resize my SDL window, this happens on qemu upstream and qemu-kvm.

 To be sure that it wasn't added after the initial code was introduced, I ran 'git bisect', but it says that the problem was introduced by c18a2c360e3100bbd71162cf922dcd8c429a8b71 (the initial code).

 I can reproduce it very easily by doing:

1. Start QEMU in pause mode, for example:

$ qemu-system-x86_64 -hda fedora11.img -boot c -S

2. Switch to the Monitor

Quoted 8 lines

Ctrl+Alt+2

3. Type 'help'

(qemu) help

4. Using the mouse, try to resize the screen. QEMU will crash

JFYI, resizing the main QEMU window on Win64 host causes the segfault as well. I didn't have time to analyze it yet, but if any details are needed I'd be happy to provide them.

Best regards,
Filip Navara