Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> Yes, we have had this complaint for a long time. I did find some
> problems at the time, but fixing them was obviously not enough.

As far as I can tell, it always crashes at the same point for me.

> Thomas> * dual head without xinerama (obviously) * different color
> Thomas> depth on both screens (32 on first, 16 on second) 
> 
> Do you have a way to try with same depth on both screens?

Yes, I did, but lyx still crashes. I tried 8, 16 and 24 bpp, (32
don't work on the second card).

> Unfortunately not. If you want to provide a trace, running with -sync
> would probably be useful.

Ok, I did this. Recompiling lyx was really easy thanks to the debian
package. 

I got the following trace when running 

$ cremer /tmp 0 lyx-1.2.2/src/lyx -sync a.lyx >& output

----------------------------------------------------------------------

stderr:

**** Synchronous Mode ********
Options Set
        debug:4
        Visual:DefaultVisual (10)
        depth:0
        privateColormap:0
        sharedColormap:0
        standardColormap:0
        doubleBuffer:0
        ulPropWidth:1
        ulThickness:-1
        scrollbarType:0
        backingStore:1
        coordUnit:pixel
        VisualId:0x0
        rgamma:1.000
        ggamma:1.000
        bgamma:1.000
screen DPI=100.000000
In BestVisual [flvisual.c 246] Initial visual: TrueColor(ID=0x3f) depth=24
In BestVisual [flvisual.c 256] ProgramDefault: TrueColor 24
In ReqVisual [flvisual.c 96] UserRequest: DefaultVisual 0
In BestVisual [flvisual.c 261] UserPreference: TrueColor 24
In ProgamVisual [flvisual.c 310] SelectedVisual: TrueColor(ID=0x3f) depth=24
In RGBInit [flvisual.c 71] TrueColor:bits_per_rgb=8
In RGBInit [flvisual.c 72] RS=16 GS=8 BS=0
In RGBInit [flvisual.c 73] RB=8 GB=8 BB=8
In RGBInit [flvisual.c 71] DirectColor:bits_per_rgb=8
In RGBInit [flvisual.c 72] RS=16 GS=8 BS=0
In RGBInit [flvisual.c 73] RB=8 GB=8 BB=8
In BestVisual [flcolor.c 650] MaxColors=16777216 PredefCol=32
In DefaultColormap [flcolor.c 677] 60 (0x3c)
In ShareCmap [flcolor.c 475] Using default map 60 for TrueColor
DefaultVisual=TrueColor CurrentVisual=TrueColor
In FillMap [flcolor.c 338] Trying to get 32 colors
   got     0 (  0   0   0)
   got 16777215 (255 255 255)
   got 10592673 (161 161 161)
   got 5855577 ( 89  89  89)
   got 2697513 ( 41  41  41)
   got 12566463 (191 191 191)
   got 14606046 (222 222 222)
   got 11316396 (172 172 172)
   got 9868950 (150 150 150)
   got 7434694 (113 113 198)
   got 13005169 (198 113 113)
   got 16711680 (255   0   0)
   got   255 (  0   0 255)
   got 65280 (  0 255   0)
   got 16776960 (255 255   0)
   got 16711935 (255   0 255)
   got 65535 (  0 255 255)
   got 16737095 (255  99  71)
   got 7237230 (110 110 110)
   got 13421772 (204 204 204)
   got 7456369 (113 198 113)
   got 13473034 (205 149  10)
   got 13461961 (205 105 201)
   got 2665135 ( 40 170 175)
   got 9123366 (139  54  38)
   got 16770971 (255 231 155)
   got 16744448 (255 128   0)
   got 16711808 (255   0 128)
   got 8453888 (128 255   0)
   got 8388863 (128   0 255)
   got 65408 (  0 255 128)
   got 33023 (  0 128 255)
In InitCMap [flcolor.c 709] TrueColor Done
In FLMap VClass:TrueColor VisualID:0x3f Depth:24 24 Colormap:0x3c
In InitFont [fonts.c 121] Done
GetResource lyx.geometry(LyX.geometryClass): None 
In NewPixmap [pixmap.c 150] Pixmap=58720272 mask=58720274
In NewPixmap [pixmap.c 150] Pixmap=58720277 mask=58720279
In NewPixmap [pixmap.c 150] Pixmap=58720282 mask=58720284
In NewPixmap [pixmap.c 150] Pixmap=58720287 mask=58720289
In NewPixmap [pixmap.c 150] Pixmap=58720292 mask=58720294
In NewPixmap [pixmap.c 150] Pixmap=58720297 mask=58720299
In NewPixmap [pixmap.c 150] Pixmap=58720302 mask=58720304
In NewPixmap [pixmap.c 150] Pixmap=58720307 mask=58720309
In NewPixmap [pixmap.c 150] Pixmap=58720312 mask=58720314
In NewPixmap [pixmap.c 150] Pixmap=58720317 mask=58720319
In NewPixmap [pixmap.c 150] Pixmap=58720322 mask=58720324
In NewPixmap [pixmap.c 150] Pixmap=58720327 mask=58720329
In NewPixmap [pixmap.c 150] Pixmap=58720332 mask=58720334
In NewPixmap [pixmap.c 150] Pixmap=58720337 mask=58720339
In NewPixmap [pixmap.c 150] Pixmap=58720342 mask=58720344
In NewPixmap [pixmap.c 150] Pixmap=58720347 mask=58720349
In WinOpen VClass:TrueColor VisualID:0x3f Depth:24 24 Colormap:0x3c
****CreateWin OK**** sleeping 1 seconds
In CreateGC [flcolor.c 560] For TrueColor
waiting Event(21,w=0x3800072 s=1282) ReparentNotify 
In Reparent [win.c 409] Full x=0 y=0 bw=0
In Reparent [win.c 422] Full x=3 y=26 bw=0
waiting Event(19,w=0x3800072 s=1282) MapNotify 
waiting Event(12,w=0x3800072 s=1282) Expose count=0 serial=502
In EventCallback [events.c 56] Unknown window=0x3800072
Ignored Event(12,w=0x3800072 s=1282) Expose count=0 serial=502
In WMReparent [win.c 463] Shift: reqy=177 y=203
In ObjPixmap [xsupport.c 253] Creating depth=24 for @2->
In ObjPixmap [xsupport.c 253] Creating depth=24 for 
In ObjPixmap [xsupport.c 253] Creating depth=24 for 
In ObjPixmap [xsupport.c 253] Creating depth=24 for 
In fonts.c[171]: FontResolution: 132
In fonts.c[171]: FontResolution: 138
BadMatch (invalid parameter attributes) id: 58720414
zsh: abort (core dumped)  lyx-1.2.2/src/lyx -sync a.lyx >& output

----------------------------------------------------------------------

Backtrace (gdb, sorry, no debugging for libraries):

#0  0x40285911 in kill () from /lib/libc.so.6
#1  0x40285732 in raise () from /lib/libc.so.6
#2  0x40286846 in abort () from /lib/libc.so.6
#3  0x0831385f in Letext () at abort.C:9
#4  0x080ff324 in LyX_XErrHandler (display=0x83ea790, xeev=0xbffff370)
    at lyx_gui.C:99
#5  0x4016c503 in _XError () from /usr/X11R6/lib/libX11.so.6
#6  0x4016add8 in _XReply () from /usr/X11R6/lib/libX11.so.6
#7  0x401665c5 in XSync () from /usr/X11R6/lib/libX11.so.6
#8  0x40166671 in _XSyncFunction () from /usr/X11R6/lib/libX11.so.6
#9  0x40151a56 in XFillRectangle () from /usr/X11R6/lib/libX11.so.6
#10 0x0809bf06 in Painter::fillRectangle (this=0x84417ac, x=0, y=0, w=667,
    h=65, col=background) at Painter.C:115
#11 0x0817bac8 in LyXText::paintRowBackground (this=0x83f5118, p=@0xbffff5c8)
    at text.C:3062
#12 0x0817ea96 in LyXText::getVisibleRow (this=0x83f5118, bv=0x8440a58,
    y_offset=0, x_offset=0, row=0x84085f8, y=0, cleared=false) at text.C:3732
#13 0x0815a5a1 in LyXScreen::drawFromTo (this=0x8408748, text=0x83f5118,
    bv=0x8440a58, y1=0, y2=414, y_offset=0, x_offset=0, internal=true)
    at screen.C:130
#14 0x0815a4ab in LyXScreen::redraw (this=0x8408748, text=0x83f5118,
    bv=0x8440a58) at screen.C:92
#15 0x0805a2a1 in BufferView::Pimpl::workAreaExpose (this=0x8441730)
    at BufferView_pimpl.C:1088
#16 0x08069dc2 in SigC::ObjectSlot0_<void, BufferView::Pimpl>::callback (
    d=0x844213c) at ../sigc++/object_slot.h:56
#17 0x08055934 in SigC::Signal0<void, SigC::Marshal<void> >::emit (
    this=0x844175c) at ../../sigc++/basic_signal.h:194
#18 0x080a355d in WorkArea::work_area_handler (ob=0x8441f70, event=1, key=0,
    xev=0x0) at ../sigc++/basic_signal.h:172
#19 0x080a26c6 in C_WorkArea_work_area_handler (ob=0x8441f70, event=1, key=0,
    xev=0x0) at WorkArea.C:68
#20 0x400c95b1 in fl_find_last () from /usr/X11R6/lib/libforms.so.1
#21 0x400cb12b in fl_handle_object () from /usr/X11R6/lib/libforms.so.1
#22 0x400c91e1 in fl_find_last () from /usr/X11R6/lib/libforms.so.1
#23 0x400cae0c in fl_redraw_object () from /usr/X11R6/lib/libforms.so.1
#24 0x08057b68 in BufferView::Pimpl::redraw (this=0x8441730) at WorkArea.h:53
#25 0x08058275 in BufferView::Pimpl::resizeCurrentBuffer (this=0x8441730)
    at BufferView_pimpl.C:394
#26 0x080578ab in BufferView::Pimpl::buffer (this=0x8441730, b=0x8408940)
    at BufferView_pimpl.C:223
#27 0x08050fcf in BufferView::buffer (this=0x8440a58, b=0x8408940)
    at BufferView.C:64
#28 0x0810029b in LyXGUI::regBuf (this=0x83e3828, b=0x8408940) at lyx_gui.C:305
#29 0x08100bc0 in LyX::LyX (this=0xbffffac8, argc=0xbffffaf0, argv=0xbffffb44)
    at ../src/lyx_main.C:147
#30 0x0814af66 in main (argc=2, argv=0xbffffb44) at ../src/main.C:38

----------------------------------------------------------------------

                    Thomas <[EMAIL PROTECTED]>
-- 
Umweltfreundlich, da aus recycleten Buchstaben.

Reply via email to