[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#89873: marked as done (xserver-xfree86: [pex5] using PEX crashes the X server)



Your message dated Tue, 6 Jun 2006 23:59:50 -0400
with message-id <20060607035950.GA15591@doctormoo.dyndns.org>
and subject line PEX is gone
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xext
Version: 3.3.6-11potato32
Severity: normal

Hello,

I tried to run PEX.
I wrote the following program, which compile O.K. but when run with
PEX module loaded, the X server crash. Note that I ignore if the program is
correct.

The bug is easily reproducible on my machine.
The XFree driver for my video card is
"SVGA: PCI: NeoMagic NM2200 rev 32, Memory @ 0xfd000000, 0xfe800000"

I can send additionnal informations if neccesary.

Bill. <allomber@math.u-bordeaux.fr>

/*-*- compile-command: "gcc pextext.c -o pex -Wall -O2 -L/usr/X11R6/lib -lX11 -lPEX5 -lm -I/usr/include/X11/ "; -*-*/
#include <X11/Xlib.h>
#include <X11/PEX5/PEXlib.h>
#include <stdio.h>
#include <math.h>
int main(void)
{
  Window win;
  PEXExtensionInfo *info_return;
  char error_string[PEXErrorStringLength];
  Display *dsp;
  PEXCoord points[4];
  XSetWindowAttributes attr;
  PEXRenderer render;
  PEXRendererAttributes renderattr; 
  long i;
  attr.backing_store=Always;
  attr.bit_gravity=StaticGravity;
  dsp=XOpenDisplay(NULL);
  if (PEXInitialize(dsp,&info_return,PEXErrorStringLength,error_string))
    fprintf(stderr,"pextext:%s\n",error_string),exit(1);
  win=XCreateWindow(dsp,RootWindow(dsp,DefaultScreen(dsp)),1,1,200,300,1,CopyFromParent,InputOutput,CopyFromParent,CWBackingStore|CWBitGravity,&attr);
  render=PEXCreateRenderer(dsp,win,0,&renderattr);
  for(i=1;i<100;i++)
  {
    points[0].x=cos((double)i)*cos((double)i);
    points[0].y=sin((double)i)*cos((double)i);;
    points[0].z=sin((double)i);
    points[1].x=cos((double)i*2)*cos((double)i*2);
    points[1].y=sin((double)i*2)*cos((double)i*2);;
    points[1].z=sin((double)i*2);
    PEXPolyline(dsp,render,PEXOCRender,2,points);
    XFlush(dsp);
  }
  for(;;);
}





-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux yellowpig 2.2.18 #1 Mon Jan 15 23:31:20 CET 2001 i686

Versions of packages xext depends on:
ii  libc6                   2.1.3-17         GNU C Library: Shared libraries an
ii  xserver-svga [xserver]  3.3.6-11potato32 X server for SVGA graphics cards  
ii  xserver-vga16 [xserver] 3.3.6-11potato32 X server for VGA graphics cards   


--- End Message ---
--- Begin Message ---
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-14

Closing this bug since PEX is gone (quite a while ago actually).

-- 
Nathanael Nerode  <neroden@fastmail.fm>

Read it and weep.
http://rawstory.com/news/2005/Text_of_Gore_speech_0116.html


--- End Message ---

Reply to: