Michel Dänzer wrote:
On Wed, 2001-11-28 at 13:37, Jacques GANGLOFF wrote:

> I am using the Xv extension on my toshibal 1800-400
> laptop (trident Ai1d) with mplayer. I am able to reproduce
> a server crash. But I don't know how to backtrace
> the problem.
>
> I have tried the -core option for X, but no
> core seems to be dumped.

Resource limits probably don't allow it to be generated.

> I tried also to run X in a gdb console but the server hangs.

You can only run the server inside gdb in a remote session as you can't
interact with gdb otherwise.

Beware that gdb normally doesn't grok XFree86 modules. A patched version
4.x is available from XFree86, patches for 5.x have been posted here.
Alternatively, you can build a static server for debugging.

Good luck!

--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

Hi,

I have backtraced the problem with the patched gdb and I got :

(gdb) bt
#0  0x80a2e7c in AllocateArea ()
#1  0x80a304d in localAllocateOffscreenArea ()
#2  0x80a3969 in localAllocateOffscreenLinear ()
#3  0x80a2b24 in xf86AllocateOffscreenLinear ()
#4  0x84160f1 in ?? ()
#5  0x8417139 in ?? ()
#6  0x80a674f in xf86XVPutImage ()
#7  0x82adf72 in ?? ()
#8  0x82b43cf in ?? ()
#9  0x82b2709 in ?? ()
#10 0x80b0176 in Dispatch ()
#11 0x80c02db in main ()
#12 0x4006a2eb in __libc_start_main (main=0x80bfd78 <main>, argc=2,
    ubp_av=0xbffff9f4, init=0x806cb54 <_init>, fini=0x817690c <_fini>,
    rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbffff9ec)
    at ../sysdeps/generic/libc-start.c:129

CVS version 4.1.99

The crash (SIGSEGV) occurs when I use mplayer in fullscreen mode with
the trident driver (Ai1d chipset) and in a very particular situation : mplayer
is launched within a StarOfiice presentation. The problem occurs only when
the presenatation is in windowed mode.

My question : I would like to correct this problem. Could somebody
help me by telling me how to efficientely track this error. Is it possible
to print the parameters passed to the xf86AllocateOffscreenLinear function ?
What does exactly this function. In what situation may this function crash ?

Thanks in advance,
Jacques

-- 
 _________________________________
(
)   Jacques GANGLOFF
(   Associate Professor
)   LSIIT / GRAViR                              
(   Bd Sébastien Brant 
)   67400 Illkirch
(   Tel : +33 (0)3 90 24 44 68
)   Fax : +33 (0)3 90 24 44 80
(   http://gravir.u-strasbg.fr
)_________________________________
 


Reply via email to