GnuCash 2.4.7 segv on Mac OS 10.6.8

David Bergum dib at red-sky.us
Mon Jul 4 06:34:56 EDT 2011


On Jul 3, 2011, at 22:18, John Ralls wrote:

> 
> On Jul 3, 2011, at 5:26 PM, David Bergum wrote:
> 
>> Inline....
>> On Jul 3, 2011, at 12:48, John Ralls wrote:
>> 
>>> 
>>> On Jul 3, 2011, at 7:12 AM, David Bergum wrote:
>>> 
>>>> 
>>>> On Jul 3, 2011, at 8:20, John Ralls wrote:
>>>> 
>>>>> Are there any messages in the Console log
>>>> 
>>>> Oh, I see this in the log, don't know if it is relevant:
>>>> 
>>>> 7/3/11 9:07:41	[0x0-0x415415].Gnucash-bin[54371]	* 09:07:41  WARN <gnc.bin> Error parsing command line arguments: [Unknown option -psn_0_4281365]; try `gnucash --help` for available options.
>>> 
>>> Hmm. That's supposed to be removed by 
>>> # Strip out the argument added by the OS.
>>> if [ x`echo "x$1" | sed -e "s/^x-psn_.*//"` == x ]; then
>>> shift 1
>>> fi
>>> in the launcher script -- and is, on my system. That's very odd.
>>> 
>>> I'd expect to see something like
>>> 
>>> 7/3/11 10:18:58 AM	[0x0-0x1642641].org.gnucash.Gnucash[83558]	No GDK Window
>>> 7/3/11 10:18:58 AM	[0x0-0x1642641].org.gnucash.Gnucash[83558]	No NSWindow
>>> 7/3/11 10:19:49 AM	[0x0-0x1642641].org.gnucash.Gnucash[83558]	Found Finance::Quote version 1.17
>>> 
>>> 
>>> But your task says "Gnucash-bin" instead of "org.gnucash.Gnucash". How are you starting Gncuash?
>> 
>> I was clicking the alias I moved to the dock.  I have travelled home today, plugged in my laptop, and launched it similarly and I no longer get the above message or the crash.  I am at a loss as to what could have been going on.  I must have had something mixed up in my environment.  My machine was just sleeping in the car.  Odd.
>> 
>> I'm really sorry for wasting your time with this.
> 
> An alias? Where's the original? It's never  occurred to me to test launching from an alias, and the bit of the launcher script that links to the Resources directory could get fooled by doing that. I'll have to look in to that.

I just drag GnuCash.app to the dock from the Applications folder, and launch it by clicking the alias in the Dock.

Here is what I do when a new version comes out.  I have a directory, GnuCash in /Applications.  I rename that GnuCash_2.4.5 for example and create a new directory, GnuCash.  I copy the dmg contents to the new directory. My .gconf.path contains:


######## The following lines were added by GnuCash. ########
xml:readwrite:$(HOME)/.gconf
xml:readonly:/Applications/GnuCash/Gnucash.app/Contents/Resources/etc/gconf/gconf.xml.defaults
############## End of lines added by GnuCash. ##############


I remove the old alias from the Dock, and drag the new Gnucash to the dock.  If I have to revert, I can rename the Applications directories and change the Dock.

I think when I was first testing, I was double clicking the Gnucash.app directly.  I probably had something messed up, though I can't figure out at this stage what. 

Again, I apologize for  wasting your time.

Dave



David Bergum				<dib at red-sky.us>
 				 	218-365-0887 LandLine
POBox 696				218-206-2133 Skype
Ely, MN  55731				612-723-7135 Mobile















More information about the gnucash-user mailing list