Segfault?

Craig Van Tassle craig at codestorm.org
Wed Oct 5 23:17:23 EDT 2016


On Wed, 5 Oct 2016 18:35:26 -0400
Craig Van Tassle <craig at codestorm.org> wrote:

> On Wed, 5 Oct 2016 22:10:53 +0100
> Colin Law <clanlaw at gmail.com> wrote:
> 
> > On 5 October 2016 at 21:32, Craig Van Tassle <craig at codestorm.org>
> > wrote:  
> > > I'm running gnucash 1.6.14 using a mysql backend on Ubutnu 16.04 I
> > > started having issues today when I was reconciling my accounts. It
> > > segfaults when I try to open it readonly or for editing.
> > >
> > > This is what I get on the CLI.    
> > >>gnucash --debug    
> > > Found Finance::Quote version 1.38
> > > sys:1: Warning: g_date_time_format: assertion 'datetime != NULL'
> > > failed sys:1: Warning: g_date_time_unref: assertion 'datetime !=
> > > NULL' failed sys:1: Warning: g_date_set_dmy: assertion
> > > 'g_date_valid_dmy (day, m, y)' failed **
> > > qof:ERROR:gnc-date.c:1656:timespec_to_gdate: assertion failed:
> > > (g_date_valid (&result)) zsh: abort      gnucash --debug
> > >
> > >
> > > I'm not sure where to go from here. Or if there is a way I can fix
> > > it.    
> > 
> > The quickest way to recover may be go back to your latest backup of
> > the db.  Do another backup of the current one first though.
> > 
> > Colin  
> 
> Colin, My backups of the database became silently corupted a while
> ago. 
> 
> I was gave the incorrect version numbers sorry. I'm running 2.6.12. 
> 
> Being able to debug it better I was able to figure out that it was an
> issue with a specific transaction. The date shows up as nothing and if
> I do anything with that transaction it segfaults.
> 
> I have created a bug.
> 
> https://bugzilla.gnome.org/show_bug.cgi?id=772484
> 

Ok I think I found the bug and what caused it. How it got started I'm
not sure. The post_data in the database was set to "0000-00-00 00:00:00"
I deleted that line and gnucash is now working. 

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20161005/454130cf/attachment.sig>


More information about the gnucash-user mailing list