[grisbi-bugs] [Grisbi 0000954]: Crash lorsque compilé avec --with-cunit

bugtracker at grisbi.org bugtracker at grisbi.org
Sun Feb 14 16:50:26 CET 2010


The following issue has been CLOSED 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=954 
====================================================================== 
Reported By:                guilc
Assigned To:                
====================================================================== 
Project:                    Grisbi
Issue ID:                   954
Category:                   Main
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
OS:                         Gentoo 
Unstable Impact:            Yes 
Version OS:                  
Version GTK:                 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-14-2010 10:03 UTC
Last Modified:              02-14-2010 15:50 UTC
====================================================================== 
Summary:                    Crash lorsque compilé avec --with-cunit
Description: 
Lorsque grisbi est compilé avec la suite de tests unitaires, il provoque
une erreur de segmentation.
Certains tests ne sont pas validés


Le message :

     CUnit - A Unit testing framework for C - Version 2.1-0
     http://cunit.sourceforge.net/


(process:32285): GLib-CRITICAL **: g_date_compare: assertion `rhs != NULL'
failed

(process:32285): GLib-CRITICAL **: g_date_compare: assertion `rhs != NULL'
failed

(process:32285): GLib-CRITICAL **: g_date_compare: assertion `rhs != NULL'
failed

(process:32285): GLib-CRITICAL **: g_date_compare: assertion `rhs != NULL'
failed

(process:32285): GLib-CRITICAL **: g_date_compare: assertion `rhs != NULL'
failed

(process:32285): GLib-CRITICAL **: g_date_compare: assertion `rhs != NULL'
failed

Suite gsb_data_account, Test of gsb_data_account() had failures:
    1. gsb_data_account_cunit.c:90  -
CU_ASSERT_EQUAL(0x80000000,balance.mantissa)
    2. gsb_data_account_cunit.c:91  - CU_ASSERT_EQUAL(0,balance.exponent)
    3. gsb_data_account_cunit.c:98  -
CU_ASSERT_EQUAL(2100000021,balance.mantissa)
    4. gsb_data_account_cunit.c:99  - CU_ASSERT_EQUAL(2,balance.exponent)
Suite gsb_real, Test of gsb_real_get_from_string() had failures:
    1. gsb_real_cunit.c:74  - CU_ASSERT_EQUAL(12345,val.mantissa)
    2. gsb_real_cunit.c:75  - CU_ASSERT_EQUAL(2,val.exponent)Erreur de
segmentation
====================================================================== 

---------------------------------------------------------------------- 
 pbiava - 02-14-10 15:50  
---------------------------------------------------------------------- 
Ces tests étaient un essai et ne sont plus maintenus sauf si tu peux t'y
coller :). Comme c'était une bonne idée il faudra qu'on la reprenne quand
on aura le temps. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-14-10 10:03  guilc          New Issue                                    
02-14-10 10:03  guilc          OS                        => Gentoo          
02-14-10 10:03  guilc          Unstable Impact           => Yes             
02-14-10 15:50  pbiava         Status                   new => closed       
02-14-10 15:50  pbiava         Note Added: 0002015                          
======================================================================



More information about the bugsreports mailing list