[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-05-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #7 from Stéphane Guillou (stragu) 
 ---
Thanks Noel, verified in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ce454f382d0d005dd3de021c7820be3ffa0bb582
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

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

[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-04-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

Noel Grandin  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-04-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:24.8.0

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

[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #5 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

part of bt taken at random:
#5  0x7f936a6ef685 in std::mutex::lock() (this=0x555672f3b248) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_mutex.h:113
#6  0x7f936b06fd6c in std::unique_lock::lock()
(this=0x7ffcbade3d38) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_lock.h:141
#7  0x7f936b06dd28 in
std::unique_lock::unique_lock(std::mutex&) (this=0x7ffcbade3d38,
__m=...) at
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_lock.h:71
#8  0x7f936b69d9b4 in calc::OCellValueBinding::notifyModified()
(this=0x555672f3aff0) at
/home/julien/lo/libreoffice/sc/source/ui/unoobj/cellvaluebinding.cxx:466
#9  0x7f936b69dd29 in
calc::OCellValueBinding::modified(com::sun::star::lang::EventObject const&)
(this=0x555672f3aff0) at
/home/julien/lo/libreoffice/sc/source/ui/unoobj/cellvaluebinding.cxx:487
#10 0x7f936b7eb0ba in ScUnoListenerCalls::ExecuteAndClear()
(this=0x5556734281a0) at
/home/julien/lo/libreoffice/sc/source/ui/unoobj/listenercalls.cxx:53
#11 0x7f936a345ad4 in ScDocument::BroadcastUno(SfxHint const&)
(this=0x555672333450, rHint=...) at
/home/julien/lo/libreoffice/sc/source/core/data/documen3.cxx:978
#12 0x7f936b2b6836 in ScDocShell::SetDocumentModified()
(this=0x555671e8c9f0) at
/home/julien/lo/libreoffice/sc/source/ui/docshell/docsh.cxx:3084
#13 0x7f936b2b83e9 in ScDocShellModificator::SetDocumentModified()
(this=0x7ffcbade4340) at
/home/julien/lo/libreoffice/sc/source/ui/docshell/docsh.cxx:3376
#14 0x7f936b2525ec in ScDocFunc::SetNormalString(bool&, ScAddress const&,
rtl::OUString const&, bool) (this=0x555672256450,
o_rbNumFmtSet=@0x7ffcbade4427: false, rPos=..., rText="", bApi=true)
at /home/julien/lo/libreoffice/sc/source/ui/docshell/docfunc.cxx:870
#15 0x7f936b2561e4 in ScDocFunc::SetCellText(ScAddress const&,
rtl::OUString const&, bool, bool, bool, formula::FormulaGrammar::Grammar)
(this=0x555672256450, rPos=..., rText="", bInterpret=false, bEnglish=false,
bApi=true, eGrammar=formula::FormulaGrammar::GRAM_API) at
/home/julien/lo/libreoffice/sc/source/ui/docshell/docfunc.cxx:1304
#16 0x7f936b6445ba in ScCellObj::SetString_Impl(rtl::OUString const&, bool,
bool) (this=0x555672cf1900, rString="", bInterpret=false, bEnglish=false)
at /home/julien/lo/libreoffice/sc/source/ui/unoobj/cellsuno.cxx:5836
#17 0x7f936b64510f in ScCellObj::setString(rtl::OUString const&)
(this=0x555672cf1900, aText="") at
/home/julien/lo/libreoffice/sc/source/ui/unoobj/cellsuno.cxx:5956
#18 0x7f936b69c889 in
calc::OCellValueBinding::setValue(com::sun::star::uno::Any const&)
(this=0x555672f3aff0, aValue=uno::Any("string": ""))
at /home/julien/lo/libreoffice/sc/source/ui/unoobj/cellvaluebinding.cxx:289

I reverted locally a4d6700423aeb3f7cbcb3f23352dd05033353fe3
"convert OCellValueBinding to comphelper::WeakComponentImplHelper (II)"
and I don't reproduce the hang.

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

[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Blocks||107742, 133092
 CC||noelgran...@gmail.com
  Regression By||Noel Grandin
   Keywords|bibisectRequest |bibisected, bisected

--- Comment #4 from Stéphane Guillou (stragu) 
 ---
Bibisected with linux-64-24.8 repo to first bad build
[7bd660673f546fc93bf2868cbce6b84e9e1dde8b] which points to:

commit  7510cca63690ea97eb02a43f698fc183c3d0434a
author  Noel GrandinTue Mar 26 15:56:02 2024 +0200
committer   Noel GrandinThu Mar 28 06:42:46 2024 +0100
convert OCellValueBinding to comphelper::WeakComponentImplHelper
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165364

Noel, can you please have a look?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107742
[Bug 107742] [META] Form control bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

--- Comment #3 from nobu  ---
The attached sample file shows that it also crashes with checkbox.

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

[Bug 160768] Changing value in a text box control with a link cell set up, Crash

2024-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160768

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org
 Status|UNCONFIRMED |NEW
   Severity|normal  |critical
 Ever confirmed|0   |1
   Keywords||bibisectRequest, regression
Summary|Changing value in a control |Changing value in a text
   |with a link cell set up,|box control with a link
   |Crash   |cell set up, Crash

--- Comment #2 from Stéphane Guillou (stragu) 
 ---
Reproduced on Linux too, with attachment 193793: freeze when editing Text Box
Control's contents.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 05a1217921b7be283c6750a35b90e4feda6e993e
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

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