Mantis - gnucashcommon
Viewing Issue Advanced Details
4611 other block always 2010-11-19 14:59 2011-01-20 11:20
james  
pfelecan  
high  
closed  
unable to reproduce  
none    
none  
0004611: Cannot remove package, post install fails
Cannot remove package because post install fails.
## Executing preremove script.
info: updating the schemas:
Resolved address "xml:readwrite:/opt/csw/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Segmentation Fault - core dumped
postinstall: anomaly : schemas installation failed!
pkgrm: ERROR: preremove script did not complete successfully

Removal of <CSWgnucashcommon> failed.




Running manually on one causes core dump:

$ /opt/csw/bin/gconftool-2 --makefile-uninstall-rule /opt/csw/etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas
Resolved address "xml:readwrite:/opt/csw/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Segmentation Fault(coredump)



Issue History
2010-11-19 14:59 james New Issue
2010-11-19 15:11 pfelecan Status new => assigned
2010-11-19 15:11 pfelecan Assigned To => pfelecan
2010-11-19 15:27 pfelecan Note Added: 0008465
2010-11-19 15:27 pfelecan Assigned To pfelecan => james
2010-11-19 15:27 pfelecan Status assigned => feedback
2010-11-19 15:32 james Note Added: 0008466
2010-11-19 15:42 james Note Added: 0008467
2010-11-19 15:44 pfelecan Note Added: 0008468
2010-11-19 15:47 james Note Added: 0008469
2011-01-20 11:09 james Note Added: 0008717
2011-01-20 11:10 james Status feedback => assigned
2011-01-20 11:10 james Assigned To james => pfelecan
2011-01-20 11:14 pfelecan Note Added: 0008718
2011-01-20 11:14 pfelecan Status assigned => closed
2011-01-20 11:14 pfelecan Resolution open => unable to reproduce
2011-01-20 11:20 james Note Added: 0008719

Notes
(0008465)
pfelecan   
2010-11-19 15:27   
Cannot reproduce:

# uname -a
SunOS host 5.10 Generic_137138-09 i86pc i386 i86pc Solaris

# cat /etc/release
                       Solaris 10 10/08 s10x_u6wos_07b X86
           Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008


# pkg-get install gnucashcommon
.
.
.
Installed schema `/schemas/apps/gnucash/window/pages/register/width' for locale `hu'

Installation of <CSWgnucashcommon> was successful.

# pkg-get remove gnucashcommon
.
.
.
Uninstalled schema `/schemas/apps/gnucash/window/pages/register/width' from locale `hu'
## Removing pathnames in class <none>
/opt/csw/share/xml/gnucash/xsl/vcard-gnccustomer.pl
.
.
.
/opt/csw/bin <shared pathname not removed>
## Updating system information.

Removal of <CSWgnucashcommon> was successful.
(0008466)
james   
2010-11-19 15:32   
Can't not reproduce.

# cat /etc/release
                        Solaris 9 9/05 s9s_u8wos_05 SPARC
           Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 04 August 2005


Workaround, edit post install file /var/sadm/pkg/CSWgnucashcommon/install/preremove and remove the "|| Error ..."
(0008467)
james   
2010-11-19 15:42   
The fault one or more of:

+ with CSWgconf2 - file a complimentary issue, it shouldn't core dump whatever.

+ /opt/csw/etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas

+ The post install that doesn't tolerate failure of gconf2, note also gconf2 is not a depend and should be.
(0008468)
pfelecan   
2010-11-19 15:44   
this means that gconftool-2 has a bug: exits with non zero value on success !?
Alright for the workaround but the bug relates to the package containing gconftool-2, isn't it?
(0008469)
james   
2010-11-19 15:47   
It dumps core and exits non zero.
(0008717)
james   
2011-01-20 11:09   
This is assigned to me but it's not my project.
(0008718)
pfelecan   
2011-01-20 11:14   
Besides, with the current GTK stack that OpenCSW offers I cannot provide a newer version.
(0008719)
james   
2011-01-20 11:20   
The problem is that I can't remove gnucash when the sub program crashes, not that it crashes (that's a bug but not this one), this is fixable within gnucash.