bugPSPP - Bugs: bug #27046, Segfault in PSPPIRE with EXAMINE...

 
 

bug #27046: Segfault in PSPPIRE with EXAMINE command

Submitter:  Ben Pfaff <blp>
Submitted:  Fri 17 Jul 2009 03:07:48 AM UTC
   
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  Invalid Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 Sep 2009 03:12:36 AM UTC, comment #2: 


>Ben's subsequent comment however seems to suggest an altogether
>different problem, and one which I cannot reproduce.


It may be best to ignore my comment.  I suspect, in retrospect, that I forgot to re-run "make install".

Ben Pfaff <blp>
Group administrator
Fri 17 Jul 2009 07:58:45 AM UTC, comment #1: 

I'm confused.

Brandon's initial report seems to be the old problem of dynamic loading of the libpsppire.so file, as evidenced by this warning:
 
  (psppire:27240): libglade-WARNING **: Could not load support for
`psppire': ld.so.1: psppire: fatal: libpsppire.so: open failed: No
such file or directory

As I don't regularly use solaris, I can only give general advise: Psppire needs to be able to find this library and load it at run time.  Perhaps the libpsppire.so file didn't get installed, or perhaps you need to set an environment variable pointing to its location (eg LD_LIBRARY_PATH)  Alternatively, the 0.7.x series doesn't have this requirement so it's much easier to install.

Ben's subsequent comment however seems to suggest an altogether different problem, and one which I cannot reproduce.

John Darrington <jmd>
Group administrator
Fri 17 Jul 2009 03:07:48 AM UTC, original submission:  

I confirmed that the following syntax causes a segfault in PSPPIRE on the master branch at commit 71cc988f2ad781457fd5d43f284990825fcd9a8d:


DATA LIST LIST /A B.
EXAMINE
        /VARIABLES= a
        BY  b
        /MISSING=LISTWISE.
BEGIN DATA.
1 3
2 4
END DATA.


Brandon Barker <brandon.barker@gmail.com> submitted the initial report as follows:


From: Brandon Barker <brandon.barker@gmail.com>
Subject: PSPP-BUG: core dumped on solaris
To: bug-gnu-pspp@gnu.org
Date: Wed, 15 Jul 2009 21:03:11 -0400

Hi,

I'm new to PSPP and SPSS.  I had the following crash after creating
two variables with columns (1,2) and (3,4), highlighting them, and
then clicking Analyze->Descriptive Statistics->Explore (doing
functions other than explore also causes the application to crash):

Core file is available: http://barker.homeunix.net/bb/pspp_explore_core

bash-3.2$ psppire

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

** (psppire:27240): CRITICAL **: psppire_data_store_set_string:
assertion `pv' failed

(psppire:27240): libglade-WARNING **: Could not load support for
`psppire': ld.so.1: psppire: fatal: libpsppire.so: open failed: No
such file or directory

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

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

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

** (psppire:27240): CRITICAL **: Widget "treeview1" could not be found


** (psppire:27240): CRITICAL **: Widget "stats-button" could not be found


** (psppire:27240): CRITICAL **: Widget "opts-button" could not be found


** (psppire:27240): CRITICAL **: Widget "psppire-selector1" could not be found


** (psppire:27240): CRITICAL **: Widget "psppire-selector2" could not be found


** (psppire:27240): CRITICAL **: Widget "psppire-selector3" could not be found


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


** (psppire:27240): CRITICAL **: Widget "treeview3" could not be found


** (psppire:27240): CRITICAL **: Widget "entry1" could not be found


** (psppire:27240): CRITICAL **: Widget "radiobutton1" could not be found


** (psppire:27240): CRITICAL **: Widget "radiobutton2" could not be found


** (psppire:27240): CRITICAL **: Widget "radiobutton3" could not be found


** (psppire:27240): CRITICAL **: Widget "descriptives-button" could not be found


** (psppire:27240): CRITICAL **: Widget "extremes-button" could not be found


** (psppire:27240): CRITICAL **: Widget "percentiles-button" could not be found


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

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

(psppire:27240): Gtk-CRITICAL **: file gtkwindow.c: line 2265:
assertion `GTK_IS_WINDOW (window)' failed

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

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

(psppire:27240): Gtk-CRITICAL **: file gtkwindow.c: line 2265:
assertion `GTK_IS_WINDOW (window)' failed

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

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

(psppire:27240): Gtk-CRITICAL **: file gtkwindow.c: line 2265:
assertion `GTK_IS_WINDOW (window)' failed

(psppire:27240): Gtk-CRITICAL **: file gtktreeview.c: line 10849:
assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:27240): Gtk-CRITICAL **: file gtktreeview.c: line 10695:
assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:27240): Gtk-CRITICAL **: file gtktreeview.c: line 11158:
assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:27240): Gtk-CRITICAL **: file gtktreeselection.c: line 163:
assertion `GTK_IS_TREE_SELECTION (selection)' failed

(psppire:27240): GLib-GObject-CRITICAL **: file gobject.c: line 1534:
assertion `G_IS_OBJECT (object)' failed

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

(psppire:27240): GLib-GObject-CRITICAL **: file gsignal.c: line 2238:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(psppire:27240): Gtk-CRITICAL **: file gtktreeview.c: line 10695:
assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(psppire:27240): Gtk-CRITICAL **: file gtktreeview.c: line 11158:
assertion `GTK_IS_TREE_VIEW (tree_view)' failed
**
ERROR:src/ui/gui/psppire-selector.c:791:psppire_selector_set_subjects:
assertion failed: (selector)
Abort (core dumped)


Brandon Barker
Phone: (607) 262-6009
brandon.barker@gmail.com
http://brandon.barker.googlepages.com/home


_______________________________________________
Bug-gnu-pspp mailing list
Bug-gnu-pspp@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-pspp


Ben Pfaff <blp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by blp (Submitted the item)
  • -email is unavailable- added by blp (original bug reporter)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-21 jmd StatusConfirmed Invalid
        Open/ClosedOpen Closed
    2009-07-17 blp Carbon-Copy- Added brandon barker <brandon.barker@gmail.com>

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code