Crash paying invoice

Mike Alexander mta at
Sun May 4 00:03:51 EDT 2014

Something in "private-kvp" branch that was merged in a day or two ago 
seems to have broken part of the business features.  If I try to pay an 
invoice for a customer I get a crash in the code that creates the 
payment window.  The top of the stack is

* thread #1: tid = 0x81af3a, 0x00000001111f7c32 
libgobject-2.0.0.dylib`g_type_check_instance_cast + 38, queue = 
'', stop reason = EXC_BAD_ACCESS (code=1, 

    frame #0: 0x00000001111f7c32 
libgobject-2.0.0.dylib`g_type_check_instance_cast + 38

  * frame #1: 0x00000001139eb92e 
+ 78 at dialog-payment.c:461

    frame #2: 0x00000001139ed0c6 
book=0x00007fe33c83c6d0, invoice=0x00007fe33a13a7f0) + 2812 at 

    frame #3: 0x00000001139ed504 
book=0x00007fe33c83c6d0, invoice=0x00007fe33a13a7f0) + 110 at 

    frame #4: 0x00000001139e0cd5 
data=0x00007fe33f26f1f0) + 139 at dialog-invoice.c:1078

    frame #5: 0x00000001139f4f90 
plugin_page=0x00007fe33a9004b0) + 294 at gnc-plugin-page-invoice.c:908

I verified that f49983b fails and acad5a0 works.  I tried to do a 
bisect to find the problem, but many of the intermediate commits won't 
build cleanly on my machine so I gave up.  When I reverted that merge 
things started working again.  Hopefully this will be easy to 
reproduce, but if you need more info let me know.


More information about the gnucash-devel mailing list