Public bug reported:

This program compiles (using "gcc lol.c -lvgagl") for amd64, but gets
stuck in an infinite loop in vga_setpalette:

#include <vgagl.h>
#include <vga.h>
int main() {
gl_setcontextvgavirtual(G320x200x256);
gl_setpalettecolor(0,0,0,0);
return 0;
}

The infinite loop is simply a jump to the same location:
=> 0x00007ffff75ba360 <+304>:   jmp    0x7ffff75ba360 <vga_setpalette+304>

On i386, this problem doesn't occur and the program does not infinitely
loop.

** Affects: svgalib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1368449

Title:
  libsvga1 broken on amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/svgalib/+bug/1368449/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to