After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768164 - go_doc_get_uri: assertion 'GO_IS_DOC (doc)' failed ...... then segfault
go_doc_get_uri: assertion 'GO_IS_DOC (doc)' failed ...... then segfault
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2016-06-29 04:55 UTC by John Denker
Modified: 2016-06-29 14:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
spreadsheet to demonstrate failed assertion ...... and segfault (1.79 KB, application/x-gnumeric)
2016-06-29 04:55 UTC, John Denker
Details
log file including stack trace after failed assertion and segfault (4.21 KB, text/plain)
2016-06-29 04:56 UTC, John Denker
Details

Description John Denker 2016-06-29 04:55:30 UTC
Created attachment 330517 [details]
spreadsheet to demonstrate failed assertion ...... and segfault

Recipe:

1) Start a fresh instance of gnumeric, with no input file.
 Let it run in the background, to free up the controlling shell.

2) Start another instance of gnumeric, using the attached
 core-dump.gnumeric as the input file.
 You may wish to run this instance under gdb.

3) Select all of column A, or at least the top 3 cells.  Copy.

4) Switch to the other gnumeric.  Select cell A1.  Paste.

5) Observe that the paste does not complete.  Observe that the instance
 from whence we copied has crashed.  See the attached core-dump.logg file
 for details including a stack trace.

This is 100% reproducible chez moi.

==============

Background info:

:; gnumeric --version
gnumeric version '1.12.31'
datadir := '/usr/local/share/gnumeric/1.12.31'
libdir := '/usr/local/lib/gnumeric/1.12.31'

:; git log
commit e86ea3144fafb4b886c24b86f2bee0796220723c
Date:   Tue Jun 28 13:46:58 2016 -0400

:; uname -a
Linux asclepias 3.18.0+ #4 SMP Mon Jul 6 15:51:42 MST 2015 x86_64 x86_64 x86_64 GNU/Linux

:; lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:        16.04
Codename:       xenial
Comment 1 John Denker 2016-06-29 04:56:36 UTC
Created attachment 330518 [details]
log file including stack trace after failed assertion and segfault
Comment 2 John Denker 2016-06-29 05:47:06 UTC
Additional observation:

In cell A3, if you change =fatal!sigma to plain =sigma,
the copy-and-paste is observed to succeed.

This may be a clue.
Comment 3 Morten Welinder 2016-06-29 14:23:33 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.


(That still leaves bug 768169.)