Description of problem: I tried to write a random example chemical formula into the import dialogue, which resulted in a crash. The most relevant call seems to be to gcp::Molecule::GetMeanBondLength() inside libgcp from the gnome-chemistry-utils-libs-0.14.10-6.fc22.x86_64 package. Steps to reproduce: 0. Go to the Tools menu, select Import molecule... 1. Enter formula CH3Cl3 2. Press Apply 3. Get coredump Version-Release number of selected component: gchempaint-0.14.10-6.fc22 Additional info: reporter: libreport-2.6.3 backtrace_rating: 4 cmdline: gchempaint-0.14 crash_function: gcpStandaloneApp::CatchSignals executable: /usr/bin/gchempaint-0.14 global_pid: 3214 kernel: 4.2.6-200.fc22.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #2 gcpStandaloneApp::CatchSignals at standaloneapp.cc:77 #4 gcp::Molecule::GetMeanBondLength at molecule.cc:817 #5 gcp::WindowPrivate::DoImportMol at window.cc:81 #6 gcugtk::StringInputDlg::Apply at stringinputdlg.cc:50 #7 gcugtk::on_OK at dialog.cc:49 #12 gtk_button_do_release at gtkbutton.c:1899 #13 gtk_real_button_released at gtkbutton.c:2017 #18 multipress_released_cb at gtkbutton.c:613 #19 ffi_call_unix64 at ../src/x86/unix64.S:76 #20 ffi_call at ../src/x86/ffi64.c:525
Created attachment 1098521 [details] File: backtrace
Created attachment 1098522 [details] File: cgroup
Created attachment 1098523 [details] File: core_backtrace
Created attachment 1098524 [details] File: dso_list
Created attachment 1098525 [details] File: environ
Created attachment 1098526 [details] File: limits
Created attachment 1098527 [details] File: maps
Created attachment 1098528 [details] File: mountinfo
Created attachment 1098529 [details] File: open_fds
Created attachment 1098530 [details] File: proc_pid_status
Created attachment 1098531 [details] File: var_log_messages
I can reproduce it on my machine
My bad, I did not check for an empty answer from OpenBabel. The input must be a valid InChI or SMILES. CCl or ClC would have worked. I'll attach a patch as soon as possible.
Created attachment 1098820 [details] Fixes the issue No idea when I'll make a new release (if it ever happen), so, please, patch the current one.
gnome-chemistry-utils-0.14.10-11.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-e629922473
I'll push f22 and f21 versions once the gnumeric and goffice updates make it to stable.
gnome-chemistry-utils-0.14.10-11.fc23 has been pushed to the Fedora 23 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 'dnf --enablerepo=updates-testing update gnome-chemistry-utils' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-e629922473
gnome-chemistry-utils-0.14.10-8.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-6e652d8009
gnome-chemistry-utils-0.14.10-8.fc22 has been pushed to the Fedora 22 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 'dnf --enablerepo=updates-testing update gnome-chemistry-utils' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-6e652d8009
gnome-chemistry-utils-0.14.10-11.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
gnome-chemistry-utils-0.14.10-8.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.