Changed filename, now won't load.

Derek Atkins warlord at MIT.EDU
Sat May 17 14:54:43 CDT 2003


Hi,

This is a result of this code snippet from src/gnome/dialog-sxsincelast.c:

        /* If there's nowhere to go, then we shouldn't have been started at
         * all [ie., ..._populate should have returned FALSE]. */
        g_assert( nextPage );

As for why changing the file name caused this to happen -- I don't know.
This is certainly an artifact of the Scheduled Transactions, but
I don't know what.  Perhaps Josh Sled can add some insight.

-derek

Eric Berg <eberg at bergbrains.com> writes:

> Gnucash 1.8.2 began crashing after opening the "recurring transaction
> processing" window after I changed the name of one of the files that
> had an escaped filename:
> %2Fhome%2Feberg%2Fwork%2FPersonal%2Fgnucash%2Fedb2003.xac in my
> ~/.gnucash/books subdirectory.
> I can't figure out what's happening.  I'm hoping that maybe one of you
> can.
> 
> Here's the debug output for my trying to open file edb2003.xac from
> the command line:
> 
> $ gnucash --debug edb2003.xac
> gnucash: [D] "handling arg ""edb2003.xac"
> gnucash: [D] "non-option ""edb2003.xac"", assuming file"
> gnucash: [D] "files to open: "("edb2003.xac")
> gnucash: [D] "starting up (2)."
> gnucash: [D] "gnc:find-file looking for ""finance-quote-check"" in "("/usr/share/gnucash")
> gnucash: [D] "  checking for ""/usr/share/gnucash/finance-quote-check"
> gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-check"
> gnucash: [D] "gnc:find-file looking for ""finance-quote-helper"" in "("/usr/share/gnucash")
> gnucash: [D] "  checking for ""/usr/share/gnucash/finance-quote-helper"
> gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-helper"
> gnucash: [D] "loading system configuration"
> gnucash: [D] "gnc:find-file looking for ""config"" in "("/etc/gnucash")
> gnucash: [D] "  checking for ""/etc/gnucash/config"
> gnucash: [D] "found file ""/etc/gnucash/config"
> gnucash: [D] "loading user configuration"
> gnucash: [D] "Running functions on hook "report-hook
>   #<procedure business-report-function ()>
> gnucash: [D] "Running functions on hook "startup-hook
>   #<procedure ()>
> gnucash: [D] "Running functions on hook "ui-startup-hook
>   #<procedure gnc:extensions-menu-setup ()>
> gnucash: [D] "Running functions on hook "add-extension-hook
>   #<procedure add-business-test ()>
>   #<procedure add-ofx-menu-item ()>
>   #<procedure add-business-items ()>
>   #<procedure gnc:tip-of-the-day-startup-func ()>
> gnucash: [D] "Running functions on hook "book-closed-hook
>   #<procedure gnc:main-window-book-close-handler (session)>
> gnucash: [D] "Running functions on hook "book-opened-hook
>   #<procedure import-commodities (session)>
>   #<procedure gnc:main-window-book-open-handler (session)>
> gnucash: [D] "list"(#t #t #t)
> gnucash: [D] "list"(#t #t #t)
> gnucash: [D] "list"(#t #t #t)
> gnucash: [D] "data "((6472.47 4900.66 1571.81) (6461.84 7597.07 -1135.23) (3117.87 5287.35 -2169.48))
> gnucash: [D] "list"(#t #t #t)
> gnucash: [D] "list"(#t #t #t)
> gnucash: [D] "list"(#t #t #t)
> gnucash: [D] "list"(#t #t #t)
> guppi-text-state.c:guppi_text_state_get_block:338: text changed size 125.878 14.758
> guppi-text-state.c:guppi_text_state_get_block:338: text changed size 112.486 12.274
> guppi-layout-engine.c:schedule_layout:508: layout scheduled
>   #<procedure (session)>
> 
> ** ERROR **: file dialog-sxsincelast.c: line 1604 (sxsincelast_init): assertion failed: (nextPage)
> aborting...
> Aborted
> 
> 
> The strace output follows:
> 
> time(NULL)                              = 1049068579
> brk(0x852f000)                          = 0x852f000
> time(NULL)                              = 1049068579
> brk(0x8530000)                          = 0x8530000
> brk(0x8531000)                          = 0x8531000
> brk(0x8532000)                          = 0x8532000
> brk(0x8533000)                          = 0x8533000
> brk(0x8534000)                          = 0x8534000
> brk(0x8535000)                          = 0x8535000
> brk(0x8536000)                          = 0x8536000
> write(2, "\n** ", 4
> ** )                    = 4
> write(2, "ERROR **: ", 10ERROR **: )              = 10
> write(2, "file dialog-sxsincelast.c: line "..., 85file dialog-sxsincelast.c: line 1604 (sxsincelast_init): assertion failed: (nextPage)) = 85
> write(2, "\naborting...\n", 13
> aborting...
> )         = 13
> rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
> kill(5110, SIGABRT)                     = 0
> --- SIGABRT (Aborted) ---
> +++ killed by SIGABRT +++
> 
> -Eric
> 
> -- 
> Eric Berg
> eberg at bergbrains.com
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list