| Summary: | Segfault when editing a comment containing just an hyperlink (gtk/gtk3 only - debug) | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Julien Nabet <serval2412> |
| Component: | Calc | Assignee: | Caolán McNamara <caolan.mcnamara> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | caolan.mcnamara, ilmari.lauhakangas, telesto, xiscofauli |
| Priority: | medium | Keywords: | haveBacktrace |
| Version: | 6.1.0.0.alpha0+ | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=33951 | ||
| Whiteboard: | target:6.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 105537 | ||
| Attachments: | gdb + bt traces | ||
|
Description
Julien Nabet
2018-03-30 17:20:11 UTC
No problem Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: 6acda2a36c9025e0d3fe94d6ca8788ab60c3203e CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on April 2nd 2018 Created attachment 141150 [details]
gdb + bt traces
(In reply to Buovjaga from comment #1) > No problem > > Arch Linux 64-bit > Version: 6.1.0.0.alpha0+ > Build ID: 6acda2a36c9025e0d3fe94d6ca8788ab60c3203e > CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; > Locale: fi-FI (fi_FI.UTF-8); Calc: group > Built on April 2nd 2018 Indeed, I don't reproduce this kde4 or gen but could reproduce this with gtk and gtk3. Caolán: thought you might be interested in this one since it concerns specifically gtk/gtk3. I can't reproduce it in Version: 6.1.0.0.alpha0+ Build ID: abf9ec7bef2c341ad9c914fd909dd03b4a784f18 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group debug only ? Reproduced in Version: 6.1.0.0.alpha0+ Build ID: 5231050887ef88dcb542d9bdb738d4820b2e8bb3 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; TinderBox: Linux-rpm_deb-x86@71-TDF-dbg, Branch:master, Time: 2018-03-20_00:14:10 Locale: ca-ES (ca_ES.UTF-8); Calc: group which is a debug build... I can see it under valgrind. I don't think its gtk specific. I think a listener doesn't get deregistered because ownership of an outliner was transferred out of the view and so returns null when the listener wants to deregister. I suspect the release() call of 2affed9bfd72628549df3049ed9f6e6a30fdb5b8 is the trigger yeah, that's the problem Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=79ae6cc6b3b19252473f6987106ea7d8aa17a5ea Resolves: tdf#116713 Revert "loplugin:useuniqueptr in SdrObjEditView" It will be available in 6.1.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. On pc Debian x86-64 with master sources updated today (7dcda19e4a5580dd526eeab07feba12f4212e4f1), I don't reproduce this. Thank you Caolán for your quick fix! |