Filehandling broken after crash, loosing data
Christian Gatzemeier
c.gatzemeier at tu-bs.de
Sat Apr 12 23:34:16 CDT 2003
Hello,
I have to report that with gnucash 1.8.0 I have the situation that it doesn't
remember changes, even though the file has been saved before closing.
I noticed that somehow the backup mechanism seems to be mixed up.
Attatched is the output of a ls -l in the data directory.
It looks like it happened on the 4th, when gnucash crashed and the
also attatched backtrace was generated. Unfortunately I can not give any more
details on what was done to run into the crash. (other person, happened by
itself, ...oh, sure ;-)
What might be the best thing to do now to staighten this out?
I allready tried to save the remainig data into another file (save as) but all
that happens in the directory is that the .LNK and .LCK files get renamed
without the extra <date.xac> tag. But there is no new data File of 2MB.
Christian
-------------- next part --------------
-rw-r--r-- 1 hh users 2115905 2003-04-08 23:57 HansH
-rw-r--r-- 1 hh users 542 2003-03-18 19:09 HansH.20030318190256.log
-rw-r--r-- 1 hh users 685 2003-03-18 20:25 HansH.20030318201654.log
-rw-r--r-- 1 hh users 28952 2003-03-18 23:41 HansH.20030318223910.log
-rw-r--r-- 1 hh users 1761009 2003-03-06 15:57 HansH.20030318234130.xac
-rw-r--r-- 1 hh users 2635 2003-03-19 21:38 HansH.20030319213408.log
-rw-r--r-- 1 hh users 1858814 2003-03-18 23:41 HansH.20030319213819.xac
-rw-r--r-- 1 hh users 542 2003-03-19 21:39 HansH.20030319213839.log
-rw-r--r-- 1 hh users 2182 2003-03-19 21:52 HansH.20030319214726.log
-rw-r--r-- 1 hh users 1860895 2003-03-19 21:38 HansH.20030319215217.xac
-rw-r--r-- 1 hh users 2170 2003-03-19 21:57 HansH.20030319215236.log
-rw-r--r-- 1 hh users 23368 2003-03-19 22:21 HansH.20030319215824.log
-rw-r--r-- 1 hh users 1865384 2003-03-19 21:52 HansH.20030319222218.xac
-rw-r--r-- 1 hh users 1802 2003-03-19 22:52 HansH.20030319222336.log
-rw-r--r-- 1 hh users 1918882 2003-03-19 22:22 HansH.20030319230659.xac
-rw-r--r-- 1 hh users 5662 2003-03-23 12:26 HansH.20030323121543.log
-rw-r--r-- 1 hh users 1921558 2003-03-19 23:07 HansH.20030323122651.xac
-rw-r--r-- 1 hh users 5886 2003-03-23 23:12 HansH.20030323225835.log
-rw-r--r-- 1 hh users 1937906 2003-03-23 12:26 HansH.20030323231403.xac
-rw-r--r-- 1 hh users 6924 2003-03-27 17:01 HansH.20030327162233.log
-rw-r--r-- 1 hh users 278 2003-03-27 17:05 HansH.20030327170555.log
-rw-r--r-- 1 hh users 278 2003-03-27 17:07 HansH.20030327170742.log
-rw-r--r-- 1 hh users 1906 2003-03-27 17:11 HansH.20030327170924.log
-rw-r--r-- 1 hh users 685 2003-03-27 17:15 HansH.20030327171523.log
-rw-r--r-- 1 hh users 685 2003-03-27 17:23 HansH.20030327172318.log
-rw-r--r-- 1 hh users 11293 2003-03-27 21:02 HansH.20030327203136.log
-rw-r--r-- 1 hh users 1940194 2003-03-23 23:14 HansH.20030327223118.xac
-rw-r--r-- 1 hh users 44299 2003-03-29 23:34 HansH.20030329210308.log
-rw-r--r-- 1 hh users 1940296 2003-03-27 22:31 HansH.20030329233426.xac
-rw-r--r-- 1 hh users 16693 2003-03-30 10:56 HansH.20030330093646.log
-rw-r--r-- 1 hh users 1969910 2003-03-29 23:34 HansH.20030330114908.xac
-rw-r--r-- 1 hh users 542 2003-03-31 20:55 HansH.20030331205059.log
-rw-r--r-- 1 hh users 3814 2003-03-31 21:53 HansH.20030331213221.log
-rw-r--r-- 1 hh users 2015385 2003-03-30 11:49 HansH.20030331215346.xac
-rw-r--r-- 1 hh users 12359 2003-03-31 23:20 HansH.20030331222759.log
-rw-r--r-- 1 hh users 2026022 2003-03-31 21:53 HansH.20030331232109.xac
-rw-r--r-- 1 hh users 1270 2003-03-31 23:37 HansH.20030331232146.log
-rw-r--r-- 1 hh users 2049855 2003-03-31 23:21 HansH.20030331234702.xac
-rw-r--r-- 1 hh users 15314 2003-04-01 00:40 HansH.20030331235201.log
-rw-r--r-- 1 hh users 2049855 2003-03-31 23:47 HansH.20030401004234.xac
-rw-r--r-- 1 hh users 67887 2003-04-01 22:16 HansH.20030401194240.log
-rw-r--r-- 1 hh users 2050654 2003-04-01 00:42 HansH.20030401201132.xac
-rw-r--r-- 1 hh users 57395 2003-04-01 23:23 HansH.20030401222502.log
-rw-r--r-- 1 hh users 2072731 2003-04-01 20:11 HansH.20030401230844.xac
-rw-r--r-- 1 hh users 2084024 2003-04-01 23:08 HansH.20030401232435.xac
-rw-r--r-- 1 hh users 26525 2003-04-04 22:56 HansH.20030404215021.log
-rw-r--r-- 1 hh users 2097861 2003-04-01 23:24 HansH.20030404225257.xac
-rw-r--r-- 1 hh users 2116012 2003-04-04 22:52 HansH.20030404225410.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac
-rw-r--r-- 1 hh users 135 2003-04-08 23:59 HansH.20030404232105.xac.20030408235900.log
-rw-r--r-- 1 hh users 80820 2003-04-12 01:07 HansH.20030404232105.xac.20030411184346.log
-rw-r--r-- 1 hh users 2116012 2003-04-04 22:54 HansH.20030404232105.xac.20030411214308.xac
-rw-r--r-- 1 hh users 2149450 2003-04-11 21:43 HansH.20030404232105.xac.20030411214412.xac
-rw-r--r-- 1 hh users 2141118 2003-04-11 21:44 HansH.20030404232105.xac.20030411221005.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030411221842.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030411224737.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030411232457.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030411234741.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030412002027.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030412010817.xac
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030412012915.xac
-rw-r--r-- 1 hh users 2232 2003-04-12 21:18 HansH.20030404232105.xac.20030412205400.log
-rw-r--r-- 9 hh users 2147392 2003-04-11 22:10 HansH.20030404232105.xac.20030412212943.xac
-rw-r--r-- 1 hh users 542 2003-04-12 21:31 HansH.20030404232105.xac.20030412213006.log
-rw-r--r-- 1 hh users 1356 2003-04-12 21:33 HansH.20030404232105.xac.20030412213150.log
-rw-r--r-- 1 hh users 432 2003-04-12 21:34 HansH.20030404232105.xac.20030412213410.log
---------- 2 hh users 0 2003-04-12 21:33 HansH.20030404232105.xac.LCK
---------- 2 hh users 0 2003-04-12 21:33 HansH.20030404232105.xac.a8c0120c.16001.LNK
-rw-r--r-- 1 hh users 52946 2003-04-08 23:56 HansH.20030408224314.log
-rw-r--r-- 1 hh users 2116012 2003-04-04 23:21 HansH.20030408235718.xac
:~/GnuCash>
-------------- next part --------------
Backtrace was generated from '/usr/bin/guile'
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 1024 (LWP 6446)]
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x401908c9 in wait4 () from /lib/libc.so.6
#0 0x401908c9 in wait4 () from /lib/libc.so.6
#1 0x4020bc90 in __DTOR_END__ () from /lib/libc.so.6
#2 0x400c5a93 in waitpid () from /lib/libpthread.so.0
#3 0x4042e02d in gnome_segv_handle () from /opt/gnome/lib/libgnomeui.so.32
#4 0x400c312b in pthread_sighandler () from /lib/libpthread.so.0
#5 <signal handler called>
#6 xaccTransGetDate (trans=0x0) at Transaction.c:2689
#7 0x40391cb0 in gnc_split_register_load (reg=0x80f04a8, slist=0xbfffdb4c,
default_account=0x0) at split-register-load.c:379
#8 0x40389381 in gnc_ledger_display_refresh_internal (ld=0x80f0210,
splits=0x8e1f270) at gnc-ledger-display.c:830
#9 0x408739e6 in gnc_gui_refresh_internal (force=0)
at gnc-component-manager.c:753
#10 0x4087379a in gnc_resume_gui_refresh () at gnc-component-manager.c:641
#11 0x4038a83d in gnc_split_register_delete_current_trans (reg=0x8366780)
at split-register.c:1017
#12 0x402db784 in gsr_default_delete_handler (gsr=0x8d85670, data=0x0)
at gnc-split-reg.c:1132
#13 0x40592726 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#14 0x405ce2b0 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x405cbc61 in gtk_signal_emit_by_name () from /usr/lib/libgtk-1.2.so.0
#16 0x402dd4ef in gsr_emit_simple_signal (gsr=0x0,
sigName=0x402f07e3 "delete_ent") at gnc-split-reg.c:2183
#17 0x40592726 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#18 0x405cf255 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#19 0x405ce26b in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x405cb73e in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x40517d6e in gtk_button_clic
More information about the gnucash-devel
mailing list