[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Patrick Luby  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1
   Assignee|libreoffice-b...@lists.free |plub...@neooffice.org
   |desktop.org |

--- Comment #24 from Patrick Luby  ---
I have found a fix for this bug and I have posted a patch at:

https://gerrit.libreoffice.org/c/core/+/144329

The patch needs still needs to be reviewed and tested before it appears in a
nightly build. Are there any people who have a macOS LibreOffice build that can
test the patch?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Sierk Bornemann  changed:

   What|Removed |Added

 Blocks||42082


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=42082
[Bug 42082] [META] Make LibreOffice shine and glow on macOS
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #23 from Patrick Luby  ---
(In reply to Alex Thurgood from comment #22)
> Created attachment 184158 [details]
> LLDB backtrace with 7.5 beta
> 
> @Patrick: I tested this in 7.5 beta from a lldb session and am attaching the
> bt obtained when it crashes.

Your backtrace definitely shows NSAccessibility is active. If you scroll to the
bottom of your backtrace and then scroll up to the bottom-most
NSViewGetVisibleRect call, you will see that the crash occurs within some
AquaA11y* calls so LibreOffice's accessibility code has been activated.

For every LibreOffice accessible object (text, image, button, etc.), a matching
native NSView is added to the native NSWindow to connect LibreOffice's C++
objects to macOS's native accessibility events so adding NSViews is normal.

But what is strange is that in all of our crash logs, adding a new, empty
NSView triggers the infinite recursive NSViewGetVisibleRect calls. I put some
printf's in the code and only about 20 - 25 NSViews are added before the crash
occurs. That isn't very many views (I seen Calc add tens of thousands) so I
suspect that there is something unusually about the relative position or
relationship between those NSViews.

I'll see if I can find anything odd about the NSViews that may be triggering
this crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #22 from Alex Thurgood  ---
Created attachment 184158
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184158=edit
LLDB backtrace with 7.5 beta

@Patrick: I tested this in 7.5 beta from a lldb session and am attaching the bt
obtained when it crashes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #21 from Telesto  ---
FWIW, no crash with Intel CPU
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: da3dd48eaf9086f8ab28d6a6655f9a638e51433a
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #20 from Alex Thurgood  ---
(In reply to Patrick Luby from comment #19)


> @Alex Thurgood:
> 
> Your last crash log has a truncated stack (due to infinite recursion of
> NSViewGetVisibleRect calls no doubt) so can do you only see this crash when
> VoiceOver or other accessible tool is activated?

@Patrick: the only tool running that might be considered an accessible tool is
Rectangle. 
No Voiceover or any other Apple assistive technology functions are active.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #19 from Patrick Luby  ---
I can reproduce this bug with attachment 182260 but only when I have activated
macOS VoiceOver. In both Telesto's crash log and my local crash log, this
infinite recursion of NSViewGetVisibleRect calls starts with a macOS
NSAccessibility event (the magic function in the stack trace is
"_NSAccessibilityChildrenInNavigationOrderAttributeValue").

My guess is that macOS is asking for all the accessible "child" objects for all
of the rows in the table view and LibreOffice as in the process of returning a
very large number of child objects.

I see similar, but not the same, behavior when I open an empty Calc spreadsheet
and enable VoiceOver: Calc does into a very, very long loop.

@Alex Thurgood:

Your last crash log has a truncated stack (due to infinite recursion of
NSViewGetVisibleRect calls no doubt) so can do you only see this crash when
VoiceOver or other accessible tool is activated?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Telesto  changed:

   What|Removed |Added

 CC||plub...@neooffice.org

--- Comment #18 from Telesto  ---
@Patrick Luby
I don't expect you to solve all the unresolved macOS issue. However I do get
slightly excited with macOS developer around. macOS bug don't get that much
attention :-( It's only a poke, feel free to ignore

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||9717

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #17 from Alex Thurgood  ---
Looks related/identical to bug 149717

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #16 from Alex Thurgood  ---
Created attachment 184144
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184144=edit
Crash dump with 7.5 beta

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #15 from Alex Thurgood  ---
Still crashing with

Version: 7.5.0.0.beta1 (AARCH64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded


Attaching crash dump.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #14 from Alex Thurgood  ---
(In reply to Michael Warner from comment #13)

Hi Michael,

> 
> I am using an M1.

Are you using the aarch64 version of LO though ?

Also, when you open the form, then display the DSB (data source browser) above
the form, do you see all of the records, or are the bottom ones hidden ?

>From my testing, if you can see all of the records in the DSB, then no crash
will occur. However, if some of the records are not displayed because the DSB
window is too short to do so, then any scroll down mouse movement, e.g. down or
up using the touchpad or the mouse wheel, will trigger the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #13 from Michael Warner  
---
No repro for me in:
Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 10; OS: Mac OS X 12.5; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

nor:

Version: 7.4.0.2 / LibreOffice Community
Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e
CPU threads: 10; OS: Mac OS X 12.5; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

I am using an M1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Timur  changed:

   What|Removed |Added

   Hardware|All |ARM

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #12 from Alex Thurgood  ---
Created attachment 182260
  --> https://bugs.documentfoundation.org/attachment.cgi?id=182260=edit
Crash on scrolling within data source browser from database form

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

Summary|Base Form - crash when  |Base Form - crash when
   |scrolling in dual form &|scrolling in dual form &
   |"data as table" display |"data as table" display
   ||(macOS Arm)

-- 
You are receiving this mail because:
You are the assignee for the bug.