maskit commented on issue #9065:
URL: https://github.com/apache/trafficserver/issues/9065#issuecomment-2153472988

   I was able to reproduce the crash on master branch.
   
   It looks like `traffic_layout` assumes these directories below are under a 
run-root directory. If some of them are not under a run-root directory, the 
command fails to calculate string lengths and causes the crash.
   
https://github.com/apache/trafficserver/blob/188a12834cf1b3692b62e2d5e3abd68912d3390b/src/traffic_layout/engine.h#L57-L60
   
   To reproduce, use the preset below (on master)
   ```
   {                                                                            
                                                    
     "name": "problematic_layout",                                              
                                                    
     "hidden": true,                                                            
                                                    
     "cacheVariables": {                                                        
                                                    
       "CMAKE_INSTALL_CACHEDIR": 
"/tmp/problematic_layout_test_directory/trafficserver"                          
                   
     } 
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to