[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

Michael Stahl  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |mst...@redhat.com
   |desktop.org |

--- Comment #11 from Michael Stahl  ---
well undo with 0 steps isn't going to do a whole lot so lets just not enable it

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:6.0.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

--- Comment #10 from Commit Notification 
 ---
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5c4a9dfdc01606e0a35c5e2809571d0f6f03df39

tdf#108836 sw: don't enable Undo if Steps configured to 0

It will be available in 6.0.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

--- Comment #9 from Julien Nabet  ---
part of bt after having removed the assert:
(gdb) bt
#0  0x7fffc9911aa5 in rtl::OUString::operator+=(rtl::OUStringLiteral1_ const&) & (this=0x, literal=...)
at /home/julien/lo/libreoffice/include/rtl/ustring.hxx:576
#1  0x7fffc9d3e35f in SwUndoInsert::CanGrouping (this=0x5ba65d00,
cIns=32 u' ') at /home/julien/lo/libreoffice/sw/source/core/undo/unins.cxx:145
#2  0x7fffc9758e77 in sw::DocumentContentOperationsManager::InsertString
(this=0x578b9a30, rRg=SwPaM = {...}, rStr=" ",
nInsertMode=SwInsertFlags::EMPTYEXPAND)
at
/home/julien/lo/libreoffice/sw/source/core/doc/DocumentContentOperationsManager.cxx:2514
#3  0x7fffc99058f3 in SwAutoCorrDoc::Insert (this=0x7fff1230, nPos=5,
rText=" ") at /home/julien/lo/libreoffice/sw/source/core/edit/acorrect.cxx:131
#4  0x736afedf in SvxAutoCorrect::DoAutoCorrect (this=0x57894ae0,
rDoc=..., rTxt="azevb ", nInsPos=5, cChar=32 u' ', bInsert=true,
pFrameWin=0x579ab5f0)
at /home/julien/lo/libreoffice/editeng/source/misc/svxacorr.cxx:1271
#5  0x7fffc9959d37 in SwEditShell::AutoCorrect (this=0x579d3200,
rACorr=..., bInsert=true, cChar=32 u' ')
at /home/julien/lo/libreoffice/sw/source/core/edit/edws.cxx:255
#6  0x7fffca528d74 in SwWrtShell::AutoCorrect (this=0x579d3200,
rACorr=..., cChar=32 u' ') at
/home/julien/lo/libreoffice/sw/source/uibase/wrtsh/wrtsh1.cxx:1613

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

--- Comment #8 from Telesto  ---
I personally would prefer to be able to set it to 0. For three reasons:
- It makes it possible to move larger datasets in Calc (undo is a bit memory
hungry)
- It makes it a bit easier spotting real memory leaks
- Writer is the only application crashing

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

Julien Nabet  changed:

   What|Removed |Added

   Keywords||haveBacktrace
 CC||mst...@redhat.com

--- Comment #7 from Julien Nabet  ---
Michael: thought you might be interested in this one.
I got an assert which has been introduced with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e012f326c1c32c053304998a6826cb322f2c7728
(2013).
Now I just wonder if putting 0 at undo should be forbidden since we've got an
assert, or if we just should remove this assert.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #6 from Julien Nabet  ---
Created attachment 134365
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134365&action=edit
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I got an assert.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

Xisco FaulĂ­  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Version|6.0.0.0.alpha0+ Master  |5.0 all versions
 Ever confirmed|0   |1
 OS|Windows (All)   |All

--- Comment #5 from Xisco FaulĂ­  ---
Confirmed in

Version: 6.0.0.0.alpha0+
Build ID: 08f6f9dded1b142b858c455da03319abac691655
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 108836] CRASH: Bad allocation if undo count is set to zero (0) ( see comment 4)

2017-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108836

Telesto  changed:

   What|Removed |Added

   Keywords|corruptProfile  |
 Status|RESOLVED|UNCONFIRMED
 Resolution|WORKSFORME  |---
Summary|CRASH: Bad allocation   |CRASH: Bad allocation if
   |related to a profile|undo count is set to zero
   |corruption  |(0) (see comment 4)

--- Comment #4 from Telesto  ---
Found the corner case culprit.
1. Open Writer
2. Options - LibO - Advanced - Expert config: org.openoffice.Office.Common/Undo
-> Set undo count to 0
3. Type something in Writer (not sure if it's required)
4. Close the Writer document (gray cross -> back to start screen)
5. Open Writer again -> Start typing random stuff with spaces.. Crash will
occur pretty soon. If not repeat 4 and 5)

crashreport.libreoffice.org/stats/crash_details/d55cd0ba-e5e9-41bf-9091-f18a6736484e

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs