[Kmymoney] Re: File access problems under VMWare

Doug Brown toquehead at gmail.com
Mon Jun 6 05:57:09 CEST 2011


Requested strace output attached.

Happy hunting.

d.

On 04/06/2011 11:51 PM, Thomas Baumgart wrote:
> Hi,
>
> on Sunday 05 June 2011 04:47:57 Doug Brown wrote:
>
>> Thanks for the extremely clear instructions Thomas. Just what I needed
>>
>> :-) Apparently on Ubuntu the strace install is "apt-get install strace".
>>
>> Zipped file attached. The error shown in KMyMoney was "File<bla>
>> contains an unknown file format."
> OK, this shows that it can open and somehow read the file. That's what I see
> in the trace log as well. Can you repeat the process with the following
> modification:
>
>    strace -e trace=open,close,read -s 64 -o open.txt -p PID
>
> Again, gzip the output file before sending.
>
> I expect the problem to happen during reads. So let's see what the new trace
> shows.
>
>
>> My terminal looked like:
>>
>> doug at ubuntu:~$ kmymoney -n&
>> [1] 11279
> [...]
>
>> QPainter::setBrush: Painter not active
>> QPainter::drawRects: Painter not active
>> QPainter::setPen: Painter not active
>> QPainter::worldTransform: Painter not active
>> doug at ubuntu:~$
>> doug at ubuntu:~$ sudo strace -e trace=file -o open.txt -p 11279
>> Process 11279 attached - interrupt to quit
>> QFile::at: Cannot set file position 0
>> QFile::at: Cannot set file position 0
>> ^CProcess 11279 detached
>> doug at ubuntu:~$
>>
>> Note that that was the second time through, so actually a differnt pid
>> than will be in out.txt.
> Yep, that does not matter.
>
>> I detached strace before closing KMyMoney. After closing I got:
>>
>> doug at ubuntu:~$ kmymoney(11279)/kdecore (KConfigSkeleton)
>> KCoreConfigSkeleton::writeConfig:
> That looks OK. KDE saves all the configuration settings.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: open.txt.gz
Type: application/gzip
Size: 30608 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmymoney/attachments/20110605/49d4b7a8/attachment-0001.bin 


More information about the KMyMoney mailing list