Bug 471180

Summary: psppire segfaults when pressing variables button
Product: [Fedora] Fedora Reporter: Bjorge Solli <bjorge>
Component: psppAssignee: Matěj Cepl <mcepl>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8CC: johan.enberg, mcepl, wojtekjs
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.6.1-2.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-09 16:06:28 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
screenshot of non-reproducing this bug none

Description Bjorge Solli 2008-11-12 09:03:30 UTC
Description of problem:
psppire crashes

Version-Release number of selected component (if applicable):
pspp-0.6.0-5.fc8

How reproducible:
every time

Steps to Reproduce:
1. add a variable
2. press variables button
3. segmentation fault

Additional info:
[st01368@mi-sem ~]$ rpm -qf `which psppire `
pspp-0.6.0-5.fc8
[st01368@mi-sem ~]$ psppire 

(psppire:353): libglade-WARNING **: Could not load support for `psppire': libpsppire.so: cannot open shared object file: No such file or directory

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

(psppire:353): libglade-WARNING **: unknown widget class 'PsppireDialog'

** (psppire:353): CRITICAL **: Widget "treeview2" could not be found


** (psppire:353): CRITICAL **: Widget "textview1" could not be found


(psppire:353): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkWindow'

(psppire:353): GLib-GObject-WARNING **: attempt to retrieve private data for invalid type 'GtkWindow'

(psppire:353): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion `GTK_IS_WINDOW (window)' failed

(psppire:353): Gtk-CRITICAL **: gtk_tree_view_get_selection: assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:353): Gtk-CRITICAL **: gtk_tree_view_set_model: assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:353): Gtk-CRITICAL **: gtk_tree_view_append_column: assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:353): Gtk-CRITICAL **: gtk_tree_selection_set_mode: assertion `GTK_IS_TREE_SELECTION (selection)' failed

(psppire:353): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(psppire:353): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(psppire:353): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(psppire:353): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(psppire:353): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(psppire:353): Gtk-CRITICAL **: gtk_text_view_set_indent: assertion `GTK_IS_TEXT_VIEW (text_view)' failed

(psppire:353): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `PsppireDialog'

(psppire:353): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `PsppireDialog'
Segmentation fault

Comment 1 Matěj Cepl 2008-11-12 12:44:21 UTC
This is kind of difficult -- I don't have Fedora 8 at the moment, and I cannot reproduce it here. So there are some things which may help to discover what's going on:

1) upgrade your computer to the latest version of f8-updates-testing, so that all libraries are in their latest versions
2) install yum-utils package and then run
package-cleanup --problems
Fix all problems which it shows (if any).
3) rpm -V pspp libglade2

If all this fails to show anything interesting (and you can still reproduce the behavior), I would need to collect more debugging information

Please install pspp-debuginfo (debuginfo-install is from yum-utils package).

	debuginfo-install pspp

Then run

gdb psppire

That will start psppire running inside of gdb debugger. Then use command run and do whatever you did to make psppire crash. When it happens, you should go back to the gdb and run

	(gdb) thread apply all backtrace

This produces usually many screens of the text. Copy all of them into a text editor and attach the file to the bug as an uncompressed attachment.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Bjorge Solli 2008-11-12 12:56:33 UTC
I tried on a fedora 9 that I have available, and it crashes too. Errors looks identical. Do you have a fedora 9 available to test on or should I go ahead on the debug-path you outlined for fedora 8?

Thanks
Bjørge

Comment 3 Matěj Cepl 2008-11-12 14:52:55 UTC
Created attachment 323334 [details]
screenshot of non-reproducing this bug

OK, I am Red Hat so I have some possibilities -- got absolutely clean machine with F8-GOLD, upgraded to the latest updates-testing and installed psppire and it just works.

I would really suspect that there must be some corruption involved. So, I would ask you to go through the debugging steps I have outlined above.

Comment 4 Matěj Cepl 2008-11-12 14:55:03 UTC
Also, if I could get versions of libglade2 package? And what's your architecture?

Comment 5 Matěj Cepl 2008-11-12 14:57:52 UTC
OTOH, if you are able to reproduce this on F9 (updated to the latest updates-testing, of course) then we should probably move this bug there -- F8 will pass End of Support pretty soon.

Comment 6 Matěj Cepl 2008-11-12 15:04:34 UTC
tested both on i386 and x86_64

Comment 7 Matěj Cepl 2008-11-25 14:17:04 UTC
Sorry, I got no response about ways how to reproduce it here.

Closing as WORKSFORME. Feel free to reopen with additional information on how to make it non-working here.

Comment 8 Bjorge Solli 2008-11-25 14:36:11 UTC
Sorry, I forgot. I just compiled it myself and then it works fine.

Comment 9 Wojciech Sluszniak 2009-03-02 18:22:24 UTC
To fix the problem you must type:
"cd /usr/lib/pspp; ln -s libpsppire.so.0 libpsppire.so".
It just can't find libpsppire.so, becouse it's named "libpsppire.so.0.0.0".
I'm using Fedora 10.

Comment 10 Matěj Cepl 2009-03-04 00:40:51 UTC
Reopening, will investigate later. Thanks for the hint.

Comment 11 Johan 2009-03-18 11:02:31 UTC
Wojciech Sluszniak's solution works for me to. 
I am also using Fedora 10 and PSPP 0.6.1
Thanks!

Comment 12 Fedora Update System 2009-03-22 22:40:59 UTC
pspp-0.6.1-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/pspp-0.6.1-2.fc10

Comment 13 Fedora Update System 2009-03-23 15:56:49 UTC
pspp-0.6.1-2.fc10 has been pushed to the Fedora 10 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 pspp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2947

Comment 14 Fedora Update System 2009-04-09 16:06:22 UTC
pspp-0.6.1-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.