On Thursday 19 July 2001 16:50, Juergen Vigna wrote:
> On 19-Jul-2001 Angus Leeming wrote:
>
> > Road test to infinite redraws:
> > 1. Insert table, I row, 2 columns
> > 2. Type in first (leftmost) column until the table gets bigger than the
width
>
> Well this is well known and as developer you should have looked at the
buglist
> on SourceForge.net ;)
I still think that this was a sly way to get help, but anyway I've played
further.
The infinite redraws are the result of a recursive cycling
18 updateLocal__C12InsetTabularXP10BufferView11UpdateCodesjb(0x28e, 0x0,
0x12034b334, 0x1401e4900, 0x1401814b0) [0x120348320]
19 resetPos__C12InsetTabularXP10BufferView(0x1401814b0, 0x1401e4938, 0x36,
0x1401e4968, 0x26a) [0x12034b330]
20 updateLocal__C12InsetTabularXP10BufferView11UpdateCodesjb(0x26a, 0x0,
0x12034b334, 0x1401e4900, 0x1401814b0) [0x120348320]
21 resetPos__C12InsetTabularXP10BufferView(0x1401814b0, 0x1401e4938, 0x1d,
0x1401e4968, 0x28e) [0x12034b330]
22 updateLocal__C12InsetTabularXP10BufferView11UpdateCodesjb(0x28e, 0x0,
0x12034b334, 0x1401e4900, 0x1401814b0) [0x120348320]
Note that 18 and 22 are identical. As are 19 and 23 etc. So it's not just a
simple oscillation between the two methods.
Interestingly, if I create my table so that it reaches the width of the
screen (just less) and then paste in some more text, then I CAN scroll. But
doing so, I get a new problem. Effectively, I scroll off the end and into a
segmentation fault. Backtrace below, but physically what happens is:
Create a new document.
Insert a table, 1row, 2cols
Type "e e e e e e" in the first column until just before the table reaches
screen width.
Exit the table and on the line above type "elephant elephant"
Cut this text, move the cursor around so only the line with the table on it
exists.
Paste the cut text into the leftmost column of the table so that the width is
greater than the screen width.
Scroll happily to the end of the first column (of two) with the right arrow
key. Leave it and enter second column. Continue scrolling til we leave this
column, continue scrolling (one more arrow press) to leave the table.
The table is now redrawn with its left-most edge showing (fine), but the
cursor is invisible. Pressing the arrow keys (some combination, any combo),
to try and get the cursor visible again and eventually we get the
segmentation fault and backtrace below.
Angus
signal Segmentation fault at >*[GetCellNumber__C10LyXTabularXii, 0x1202aaa08]
ldl r0, 0(r0)
(dbx) where
> 0 GetCellNumber__C10LyXTabularXii(0x3ff801151ac, 0xffffffffffffffff,
0x12034ad68, 0x1401e2600, 0x397) [0x1202aaa08]
1 setPos__C12InsetTabularXP10BufferViewii(0x1401814b0, 0x397, 0xa, 0x0,
0x1400a80d8) [0x12034ad64]
2 edit__12InsetTabularXP10BufferViewiiUi(0x1201e83b8, 0x120348170,
0x1401e2600, 0x32, 0x1401814b0) [0x120348264]
3
Dispatch__Q110BufferView5PimplX9kb_actionRCQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__Tv(0x0,
0x0, 0x1201e56f0, 0x1400f6ed8, 0x1201dc100) [0x1201e83b4]
4
Dispatch__10BufferViewX9kb_actionRCQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__Tv(0x1201e56f0,
0x1400f6ed8, 0x1201dc100, 0x1400ac4c0, 0x120275bb0) [0x1201dc304]
5
dispatch__7LyXFuncXiRCQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__Tv(0x3ff801151ac,
0x100000000, 0x10000ff51, 0x0, 0x1400f6e48) [0x120275bac]
6 processKeySym__7LyXFuncXUiUi(0x3ff801151ac, 0x1400a8000, 0x12042f700,
0x1400ac4c0, 0x120425108) [0x12027058c]
7 workAreaKeyPress__Q110BufferView5PimplXUiUi(0x12042f700, 0x1400ac4c0,
0x120425108, 0x140186658, 0x1201e02dc) [0x1201e288c]
8 (unknown)() [0x1201e02d8]
9
emit__Q14SigC38Signal2__Tv__TUiUiQ14SigC11Marshal__TvXRCUiRCUi(0x120219a30,
0x140186658, 0x61, 0x1400a5924, 0xffffffffcbff0c51) [0x120150a90]
10 work_area_handler__8WorkAreaXP7flobjs_iiiiPv(0x540006f, 0xff51, 0xff51,
0xff51, 0x140186658) [0x120219a2c]
11 C_WorkArea_work_area_handler(0xff51, 0xff51, 0x140186658, 0x140178080,
0x3ffbff8c494) [0x120218370]
12 (unknown)() [0x3ffbff8c490]
13 fl_handle_object(0x140187600, 0x140187600, 0x3fffffc6300, 0xff51,
0x3ffbff51e90) [0x3ffbff8c584]
14 (unknown)() [0x3ffbff51e8c]
15 (unknown)() [0x3ffbff52504]
16 (unknown)() [0x3ffbff52970]
17 (unknown)() [0x3ffbff530fc]
18 fl_treat_interaction_events(0x13365100022641, 0x1336510001233d,
0x143954000d314c, 0x116320001233d, 0xa2c4500052a44) [0x3ffbff5386c]
19 fl_check_forms(0x143954000d314c, 0x116320001233d, 0xa2c4500052a44,
0x1233d00072739, 0x12037728c) [0x3ffbff538bc]
20 runTime__10GUIRunTimeXv(0x14019c260, 0x0, 0x14019c2c0,
0x3a01742200000000,
0x140176690) [0x120377288]
21 runTime__6LyXGUIXv(0x14019c2c0, 0x3a01742200000000, 0x140176690,
0x1400a8000, 0x120263e30) [0x12026047c]
22 __ct__3LyXXPiPPc(0x140065820, 0x3ffc00802a0, 0x12024cc6c, 0x140027148,
0x11ffff6c8) [0x120263e2c]
23 main(0x0, 0x80084600, 0x1400ecda0, 0x11ffff748, 0x100000001)
[0x12028db2c]