Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test testfont crashed on Debian 11. #738

Open
xkszltl opened this issue Apr 14, 2022 · 0 comments
Open

Unit test testfont crashed on Debian 11. #738

xkszltl opened this issue Apr 14, 2022 · 0 comments

Comments

@xkszltl
Copy link

xkszltl commented Apr 14, 2022

This is specific to Debian 11.
Ubuntu 18.04 and CentOS 7 doesn't seem to have the issue.

We installed all stock fonts.

Making check in src                                                                                                                                                                                                                                           
make[1]: Entering directory '/tmp/scratch/libgdiplus/src'                                                                                                                                                                                                     
make[1]: Nothing to be done for 'check'.                                                                                                                                                                                                                      
make[1]: Leaving directory '/tmp/scratch/libgdiplus/src'                                                                                                                                                                                                      
Making check in tests                                                                                                                                                                                                                                         
make[1]: Entering directory '/tmp/scratch/libgdiplus/tests'                                                                                                                                                                                                   
make  check-TESTS                                                                                                                                                                                                                                             
make[2]: Entering directory '/tmp/scratch/libgdiplus/tests'                                                                                                                                                                                                   
make[3]: Entering directory '/tmp/scratch/libgdiplus/tests'                                                                                                                                                                                                   
PASS: testmatrix                                                                                                                                                                                                                                              
PASS: testicocodec                                                                                                                                                                                                                                            
PASS: testhatchbrush                                                                                                                                                                                                                                          
PASS: testmetafile                                                                                                                                                                                                                                            
PASS: testpen                                                                                                                                                                                                                                                 
PASS: teststringformat                                                                                                                                                                                                                                        
PASS: testbits                                                                                                                                                                                                                                                
PASS: testjpegcodec                                                                                                                                                                                                                                           
PASS: testlineargradientbrush                                                                                                                                                                                                                                 
PASS: testadjustablearrowcap                                                                                                                                                                                                                                  
PASS: testsolidbrush                                                                                                                                                                                                                                          
PASS: testreversepath                                                                                                                                                                                                                                         
PASS: testcodecs                                                                                                                                                                                                                                              
PASS: testimageattributes                                                                                                                                                                                                                                     
PASS: testbrush                                                                                                                                                                                                                                               
PASS: testcustomlinecap                                                                                                                                                                                                                                       
PASS: testpathgradientbrush                                                                                                                                                                                                                                   
PASS: testwmfcodec                                                                                                                                                                                                                                            
PASS: testgifcodec                                                                                                                                                                                                                                            
PASS: testpng                                                                                                                                                                                                                                                 
PASS: testemfcodec                                                                                                                                                                                                                                            
PASS: testbmpcodec                                                                                                                                                                                                                                            
PASS: testpngcodec                                                                                                                                                                                                                                            
PASS: testclip                                                                                                                                                                                                                                                
PASS: testgpimage                                                                                                                                                                                                                                             
PASS: testbitmap                                                                                                                                                                                                                                              
PASS: testregion                                                                                                                                                                                                                                              
PASS: testtext                                                                                                                                                                                                                                                
PASS: testtiffcodec                                                                                                                                                                                                                                           
PASS: testgraphicspath                                                                                                                                                                                                                                        
../test-driver: line 109: 76048 Aborted                 (core dumped) "$@" > $log_file 2>&1                                                                                                                                                                   
FAIL: testfont                                                                                                                                                                                                                                                
PASS: testgraphics                                                                                                                                                                                                                                            
PASS: testgraphicsfill                                                                                                                                                                                                                                        
PASS: testgeneral                                                                                                                                                                                                                                             
PASS: testtexturebrush                                                                                                                                                                                                                                        
PASS: testgraphicsdraw                                                                                                                                                                                                                                        
============================================================================                                                                                                                                                                                  
Testsuite summary for libgdiplus 6.1                                                                                                                                                                                                                          
============================================================================                                                                                                                                                                                  
# TOTAL: 36                                                                                                                                                                                                                                                   
# PASS:  35                                                                                                                                                                                                                                                   
# SKIP:  0                                                                                                                                                                                                                                                    
# XFAIL: 0                                                                                                                                                                                                                                                    
# FAIL:  1                                                                                                                                                                                                                                                    
# XPASS: 0                                                                                                                                                                                                                                                    
# ERROR: 0                                                                                                                                                                                                                                                    
============================================================================                                                                                                                                                                                  
See tests/test-suite.log                                                                                                                                                                                                                                      
Please report to https://github.com/mono/mono/issues/new                                                                                                                                                                                                      
============================================================================                                                                                                                                                                                  

If we run is directly:

root@023e1a839e2c:/tmp/scratch/libgdiplus/tests# ./testfont 
testfont: testfont.c:895: verifyFontFamily: Assertion `stringsEqual (name, expectedName) || stringsEqual (name, alternateExpectedName)' failed.
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant