Angus Leeming wrote:
> I'm stumped. I take it that it is only these math panel sub dialogs that
> crash. 

yes.

> What about the color picker dialog that can be launched from the 
> preferences dialog? And the fiel browser dialog that can be lauched from a
> 'Browse...' button?

No and no.

> Does this crash occur for all the dialogs lauched from the math panel, or
> only a subset of them?

All but arrows, greek, AMS relations and AMS negations. Also the crashing ones 
look odd (see screenshot).

> Again, I reiterate that all works as expected here.

Maybe it has something to do with the window manager (kwin from kde 3.2.3)... 
Indeed, I cannot reproduce with another wm.

> Does valgrind tell you anything interesting?

Not interesting for me, but maybe for you?

==29550== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==29550== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==29550== Using valgrind-2.0.0, a program supervision framework for x86-linux.
==29550== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==29550== Estimated CPU clock rate is 996 MHz
==29550== For more details, rerun with: -v
==29550==
==29550== Source and destination overlap in strncpy(0x4033425d, 0x4033425d, 
20)
==29550==    at 0x40023A87: strncpy (in /usr/lib/valgrind/vgskin_memcheck.so)
==29550==    by 0x402E825A: fl_get_resource (flresource.c:606)
==29550==    by 0x402E94B7: get_app_resource (flresource.c:1103)
==29550==    by 0x402E94FC: fl_get_app_resources (flresource.c:1113)
==29550==
==29550== Source and destination overlap in strncpy(0x4033425d, 0x4033425d, 
20)
==29550==    at 0x40023A87: strncpy (in /usr/lib/valgrind/vgskin_memcheck.so)
==29550==    by 0x402E825A: fl_get_resource (flresource.c:606)
==29550==    by 0x402E94B7: get_app_resource (flresource.c:1103)
==29550==    by 0x402E9519: fl_get_app_resources (flresource.c:1118)
==29550==
==29550== Syscall param write(buf) contains uninitialised or unaddressable 
byte(s)
==29550==    at 0x405F1058: __GI___libc_write (in /lib/libc.so.6)
==29550==    by 0x403C05AE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    by 0x403A3765: _XFlushInt (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    by 0x403A3819: _XReply (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    Address 0x41D32FEE is 938 bytes inside a block of size 16384 
alloc'd
==29550==    at 0x4002B132: calloc (in /usr/lib/valgrind/vgskin_memcheck.so)
==29550==    by 0x40392CC2: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    by 0x402E8899: fl_initialize (flresource.c:830)
==29550==    by 0x835FC00: lyx_gui::parse_init(int&, char**) (lyx_gui.C:144)
==29550==
==29550== Syscall param writev(vector[...]) contains uninitialised or 
unaddressable byte(s)
==29550==    at 0x40187AD1: vgAllRoadsLeadToRome_writev 
(in /usr/lib/valgrind/valgrind.so)
==29550==    by 0x40187B0D: __writev (in /usr/lib/valgrind/valgrind.so)
==29550==    by 0x403C0F9D: _X11TransSocketWritev 
(in /usr/X11R6/lib/libX11.so.6.2)
==29550==    by 0x403C060E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    Address 0x43B9E68A is 850 bytes inside a block of size 247080 
alloc'd
==29550==    at 0x4002ACB4: malloc (in /usr/lib/valgrind/vgskin_memcheck.so)
==29550==    by 0x403A1184: _XAllocScratch (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    by 0x40397112: PutSubImage (in /usr/X11R6/lib/libX11.so.6.2)
==29550==    by 0x40397672: XPutImage (in /usr/X11R6/lib/libX11.so.6.2)
BadDrawable (invalid Pixmap or Window parameter) id: 255

Jürgen

<<attachment: dots.png>>

Reply via email to