[grisbi-bugs] [Grisbi-0.6.0 0000667]: L'export d'un etat abouti à un crash de Grisbi
bugtracker at grisbi.org
bugtracker at grisbi.org
Sat Oct 10 18:34:30 CEST 2009
A NOTE has been added to this issue.
======================================================================
http://grisbi.tuxfamily.org/mantis/view.php?id=667
======================================================================
Reported By: JP Joubert
Assigned To: guneeyoufix
======================================================================
Project: Grisbi-0.6.0
Issue ID: 667
Category: Main
Reproducibility: always
Severity: minor
Priority: normal
Status: confirmed
Plateforme: Windows
OS: Windows
Version OS: Window Vista edition familiale basique
Unstable Impact: Yes
Version GTK:
======================================================================
Date Submitted: 10-07-2009 14:09 UTC
Last Modified: 10-10-2009 16:34 UTC
======================================================================
Summary: L'export d'un etat abouti à un crash de Grisbi
Description:
La tentative d'exportation d'un etat abouti systématiquement à un crash de
Grisbi
Version 6.0 Beta 1 téléchargée sur le site : grisbi-0.6b1-msvc9.zip
======================================================================
----------------------------------------------------------------------
guneeyoufix - 10-07-09 22:24
----------------------------------------------------------------------
This is caused by any call to fprintf during the generation of the file.
libintl.h redirects (preprocessor directive) the fprintf call to
libintl_fprintf.
[Edit] And libintl_fprintf seems buggy (MS VC++ Express says
Exception non gérée à 0x772e68df dans grisbi.exe : 0xC0000005:
Violation
d'accès lors de la lecture de l'emplacement 0x20202028.
when libintl_fprintf is called)
So it seems that this problem is again related to the application not
being built with localisation.
[Edit] A quick and dirty fix for this would be to add the "#undef fprintf"
directive to all the files that use the fprintf function for the export of
reports.
----------------------------------------------------------------------
guneeyoufix - 10-10-09 16:34
----------------------------------------------------------------------
Avec les variables d'environnement correctement définies, la localisation
fonctionne sans problèmes, donc il semble que le problème est bien dû à
libintl_fprintf.
En ajoutant,
#ifdef _WIN32
#undef fprintf
#endif
après les include dans etats_html.c et etats_latex.c, les exportations
fonctionnent sous Windows.
Issue History
Date Modified Username Field Change
======================================================================
10-07-09 14:09 JP Joubert New Issue
10-07-09 14:09 JP Joubert Plateforme => Linux
10-07-09 14:09 JP Joubert OS => Autre(Other)
10-07-09 14:09 JP Joubert Version OS => Window Vista edition
familiale basique
10-07-09 14:09 JP Joubert Unstable Impact => Yes
10-07-09 16:36 JP Joubert Issue Monitored: JP Joubert
10-07-09 16:36 JP Joubert Issue End Monitor: JP Joubert
10-07-09 19:51 guneeyoufix Status new => assigned
10-07-09 19:51 guneeyoufix Assigned To => guneeyoufix
10-07-09 20:00 guneeyoufix Plateforme Linux => Windows
10-07-09 20:00 guneeyoufix OS Autre(Other) => Windows
10-07-09 20:00 guneeyoufix Additional Information Updated
10-07-09 22:11 guneeyoufix Note Added: 0001191
10-07-09 22:11 guneeyoufix Status assigned => confirmed
10-07-09 22:24 guneeyoufix Note Edited: 0001191
10-10-09 16:34 guneeyoufix Note Added: 0001208
======================================================================
More information about the bugsreports
mailing list