Message: previous - next
Month: February 2014

Re: [trinity-devel] kmymoney - SegFault kernel/qobject.cpp: No such file or directory??

From: Slávek Banko <slavek.banko@...>
Date: Wed, 19 Feb 2014 01:58:33 +0100
On Wednesday 19 of February 2014 00:46:10 David C. Rankin wrote:
> All,
>   This is strange. After going through initial setup of kmymoney, I get a
> segfault whenever I click in the account "ledger" window. I ran it in gdb
> and it disclosed the following error:
> 17:32 valhalla:~/bld/bld/html2ps> gdb kmymoney
> GNU gdb (GDB) 7.7
> <snip>
> Using host libthread_db library "/usr/lib/".
> reading file
> start parsing file
> startDocument
> reading accounts
> reading transactions
> reading securities
> reading prices
> reading reports
> endDocument
> Program received signal SIGSEGV, Segmentation fault.
> TQObject::controlElementDataObject (this=this@entry=0x0) at
> kernel/qobject.cpp:120 120     kernel/qobject.cpp: No such file or
> directory.
>   Here is a screenshot of the window immediately before the crash:
> Clicking on any of the tabs [Deposit] [Transfer] [Withdrawal] will cause
> the segfault. What does the kernel/qobject.cpp error tell us? (anything? or
> do we need to rebuild with debugging enabled?) The reason for the question
> is I don't know if this clearly discloses a naming issue, or if it is just
> the start of the debug chain that would tell us more with debugging enabled
> in the build. Let me know. Thanks.

	if (!d->controlElementData) {

This related to the new styles API. Unfortunately now I can not test or debug 
(it is too late in my time zone).