! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfcalendra crashes at logout...
Status:
CLOSED: WONTFIX

Comments

Description Olivier Fourdan editbugs 2004-11-24 16:51:33 CET
...and leaves tons of sNNN.tmp files in the xfcalendar data directory. Sometimes
the whole calendar data gets corrupted and not recoverable - Dunno if it's
related to DBH?

backtrace follows:

#0  0x40720da2 in chunk_free (ar_ptr=0x407d4620, p=0x8187408) at malloc.c:3252
#1  0x40720bf4 in __libc_free (mem=0x8187410) at malloc.c:3154
#2  0x404aadd1 in DBH_close (node=0x80db238) at dbh_v.c:155
#3  0x404abae6 in DBH_regen (node=0x80db238) at dbh_v.c:536
#4  0x0804d53d in keep_tidy () at eval.c:41
#5  0x0804f4ad in main () at eval.c:41
#6  0x406bc507 in __libc_start_main (main=0x804f29c <main>, argc=5,
    ubp_av=0xbffff884, init=0x804c384 <_init>, fini=0x8051410 <_fini>,
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff87c)
    at ../sysdeps/generic/libc-start.c:129
Comment 1 edscott editbugs 2004-11-24 20:49:17 CET
Trace back would tend to point to dbh, but nothing has changed here in a long
time... Maybe there is some particular circumstance which is triggering the
problem. I've noticed that if a system crash or something of the sort messes up
the dbh file without messing up the header part of the file, problems may ensue.

If you move your appointments.dbh file out of the way (do not delete, for
further testing), and start afresh, does the problem remain? If so, is there
anything particular about the data you introduce in your appointments?

 
Comment 2 Olivier Fourdan editbugs 2004-11-24 20:52:59 CET
Nothing special, except the the homedir is a NFS mounted directory.
Comment 3 edscott editbugs 2004-11-25 01:02:17 CET
I've just tested xfcalendar with a homedir set to a nfs mount, but no problem
ensues. 

From the information that you have tons of sNNN.tmp files means that xfcalendar
has been crashing many times in your case (one file for each crash).

My suspicion is that your appointments.dbh file is corrupt, and therefore the
crash. 

Does the problem dissappear if you remove
$HOME/.config/xfce4/xfcalendar/appointments.dbh?

If negative, then my guess is an incorrect memory access somewhere in xfcalendar. 
Comment 4 korbinus editbugs 2004-11-29 05:35:01 CET
I'll take a look after work this eve. Sorry for the late reply.
Comment 5 edscott editbugs 2004-11-29 13:55:04 CET
I think the could stem from a corrupt dbh file. In this case an easy fix is to
check for the existance of sNNN.tmp files. If any exists, it means xfcalendar
crashed while trying to regenerate the dbh file. So it would have to be deleted
along with appointments.dbh. A popup dialog could inform the user or an error
log file created. 

If the problem is not a corrupt dbh file, the above need not apply.
Comment 6 Olivier Fourdan editbugs 2004-12-22 18:49:35 CET
The crash occurs when updating the module. Unavoidable IMO.
Comment 7 juha editbugs 2005-04-22 13:11:06 CEST
Is this still active ?
4.3 is not using dbh anymore.
Can we close this one?
Comment 8 edscott editbugs 2005-04-22 16:08:37 CEST
I believe the bug could be due to a free to a dbh pointer that the application
should not mess around with.  Since this is no longer a possibilty, the bug
report should be closed IMO.
Comment 9 juha editbugs 2006-05-15 19:17:18 CEST
not relevant with 4.4 and will not be fixed for 4.2
Comment 10 Brian J. Tarricone (not reading bugmail) 2007-01-26 18:58:41 CET
Moving all bugs to new Orage product.

Bug #534

Reported by:
Olivier Fourdan
Reported on: 2004-11-24
Last modified on: 2007-01-26

People

Assignee:
korbinus
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information