Bug 643719

Summary: [abrt] gnome-chemistry-utils-0.12.3-4.fc13: gcu::Object::Clear: Process /usr/bin/gchem3d-0.12 was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Carlos Díaz <cedpren>
Component: gnome-chemistry-utilsAssignee: Julian Sikorski <belegdol>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: belegdol, jean.brefort
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:e4dfc83c084fb8732b38f286798729d0f8ea4770
Fixed In Version: gnome-chemistry-utils-0.12.4-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-27 22:51:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Carlos Díaz 2010-10-17 15:09:01 UTC
abrt version: 1.1.13
architecture: i686
Attached file: backtrace
cmdline: gchem3d '/home/carlos/bioclipse-workspace/7-(aril)-1,8-dihidroimidazo[4,5-g]indazoles/Estructuras 2D/Agentes, catalizadores y medios/2,3-dimetoxibenzaldeh\xc3\xaddo.cml'
component: gnome-chemistry-utils
crash_function: gcu::Object::Clear
executable: /usr/bin/gchem3d-0.12
kernel: 2.6.34.7-56.fc13.i686
package: gnome-chemistry-utils-0.12.3-4.fc13
rating: 4
reason: Process /usr/bin/gchem3d-0.12 was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
time: 1287327943
uid: 500

How to reproduce
-----
1. Try to open a 2D .cml file 
2.
3.

Comment 1 Carlos Díaz 2010-10-17 15:09:03 UTC
Created attachment 453926 [details]
File: backtrace

Comment 2 Julian Sikorski 2010-10-17 18:09:51 UTC
OK, seems like I can reproduce it with a random file created with gchempaint and saved as .cml. Why do you want to open a 2D file with 3D viewer anyway?
Jean, here's the backtrace if you run gchem3d from within the gdb:
(gdb) bt
#0  gcu::Object::Clear (this=0x984cd0) at object.cc:96
#1  0x00007ffff7d5e479 in gcu::Chem3dDoc::Clear (this=0x984cd0)
    at chem3ddoc.cc:528
#2  0x00007ffff7d601dc in gcu::Chem3dDoc::Load (this=0x984cd0, uri=
    0x7bd410 "file:///home/jsikorski/Pulpit/test.cml", mime_type=
    0xa7d700 "chemical/x-cml") at chem3ddoc.cc:147
#3  0x00000000004084e3 in gc3dDocument::Load (this=0x984cd0, uri=
    0x7bd410 "file:///home/jsikorski/Pulpit/test.cml", 
    mime_type=<value optimized out>) at document.cc:42
#4  0x00000000004071b6 in gc3dApplication::FileProcess (this=0x6cd320, 
    filename=0x7bd410 "file:///home/jsikorski/Pulpit/test.cml", mime_type=
    0xa7d700 "chemical/x-cml", bSave=false, window=0x0, 
    Doc=<value optimized out>) at application.cc:224
#5  0x0000000000408a23 in main (argc=2, argv=0x7fffffffe150) at main.cc:134
(gdb)

Comment 3 Jean Bréfort 2010-10-17 19:57:44 UTC
Fixed in svn upstream. Thanks for the bug report. Anyway, gchem3d will not open this file. Looks like I did not finished that work. It detects it is a 2D file, and deletes it contents. It would be better if it asked the user if he really wants to open it in gchem3d, or open it in gchempaint, or don't open at all.

Comment 4 Fedora Update System 2010-10-17 21:50:39 UTC
gnome-chemistry-utils-0.12.4-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gnome-chemistry-utils-0.12.4-4.fc14

Comment 5 Fedora Update System 2010-10-17 21:57:18 UTC
gnome-chemistry-utils-0.12.4-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gnome-chemistry-utils-0.12.4-1.fc13

Comment 6 Fedora Update System 2010-10-18 05:03:32 UTC
gnome-chemistry-utils-0.12.4-4.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gnome-chemistry-utils'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gnome-chemistry-utils-0.12.4-4.fc14

Comment 7 Fedora Update System 2010-10-27 22:51:15 UTC
gnome-chemistry-utils-0.12.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-10-28 05:59:07 UTC
gnome-chemistry-utils-0.12.4-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.