Git Product home page Git Product logo

Comments (4)

zkrx avatar zkrx commented on June 18, 2024 1

I installed GDB 13.1 (from here: https://raw.githubusercontent.com/archlinux/svntogit-community/531f42bb21a34e9a291247e6eee744931061c83a/trunk/PKGBUILD) in an attempt to debug with symbols and the bug is gone. So I guess that they fixed it upstream already!

Sorry for the noise and thanks for this awesome dashboard!

from gdb-dashboard.

cyrus-and avatar cyrus-and commented on June 18, 2024

This is likely a GDB bug (like #154 was), IMHO I shouldn't be able to crash GDB using its Python API, even if I wanted to.

You can try to identify which module causes the issue (start with no modules at all), my bet is on some modules that prints values from the inferior, just like the aforementioned issue. You can follow a similar approach to try to pinpoint the root cause.

from gdb-dashboard.

zkrx avatar zkrx commented on June 18, 2024

I could reproduce the issue with GDB 12.1. I got the following stack trace (sadly missing a lot of symbols):

─── Output/messages ────────────────────────────────────────────────────────────                                                                                                                                                                                                                                                                                                                                                                                                                                          [0/0]
0x08101c84 in ?? ()                                                                                       
                                                                                                          
                                                                                                          
Fatal signal: Segmentation fault                                                                          
----- Backtrace -----                                                                                     
0x4c1515 ???                                                                                              
0x5a60cf ???                                                                                              
0x5a613f ???                                                                                              
0x7f1493651f4f ???                                                                                        
0x7ef471 ???                                                                                              
0x7f3e67 ???                                                                                                                               
0x542376 ???                                                                                              
0x542e3c ???                                                                                              
0x68c734 ???                                                                                                                   
0x7f14944fabad cfunction_call                                                                                                  
        Objects/methodobject.c:543                                   
0x7f14944c0471 _PyObject_Call                                                                             
        Objects/call.c:305                                                                                
0x7f149446e7c6 do_call_core                                                                               
        Python/ceval.c:5943                                                                               
0x7f149446e7c6 _PyEval_EvalFrameDefault                                                                                        
        Python/ceval.c:4277                                                                                                    
0x7f1494580d9f _PyEval_EvalFrame                                                                                               
        ./Include/internal/pycore_ceval.h:46                                                                                   
0x7f1494580d9f _PyEval_Vector                                                                                                  
        Python/ceval.c:5065                                                                                                    
0x7f1494470f98 _PyObject_VectorcallTstate                                                                                      
        ./Include/cpython/abstract.h:114                                                                                       
0x7f1494470f98 PyObject_Vectorcall                                                                                             
        ./Include/cpython/abstract.h:123                                                                                       
0x7f1494470f98 call_function                                                                                                   
        Python/ceval.c:5891                                                                                                    
0x7f1494470f98 _PyEval_EvalFrameDefault                                                                                        
        Python/ceval.c:4198                                                                                                    
0x7f1494580d9f _PyEval_EvalFrame                                                                                               
        ./Include/internal/pycore_ceval.h:46                                                                                   
0x7f1494580d9f _PyEval_Vector                                                                                                  
        Python/ceval.c:5065                                                                                                    
0x7f1494470f98 _PyObject_VectorcallTstate                                                                                      
        ./Include/cpython/abstract.h:114                                                                                       
0x7f1494470f98 PyObject_Vectorcall                                                                                             
        ./Include/cpython/abstract.h:123                                                                                       
0x7f1494470f98 call_function                                                                                                   
        Python/ceval.c:5891                                                                                                    
0x7f1494470f98 _PyEval_EvalFrameDefault                                                                                        
        Python/ceval.c:4198                                                                                                    
0x7f1494580d9f _PyEval_EvalFrame                                                                                               
        ./Include/internal/pycore_ceval.h:46                                                                                   
0x7f1494580d9f _PyEval_Vector                                                                                                  
        Python/ceval.c:5065                                                                                                    
0x7f14944c2d25 _PyObject_VectorcallTstate                                                                                      
        ./Include/cpython/abstract.h:114                                                                                       
0x7f14944c2d25 method_vectorcall                                                                                               
        Objects/classobject.c:53                                                                                               
0x7f149446f9f1 _PyObject_VectorcallTstate                                                                                      
        ./Include/cpython/abstract.h:114                                                                                       
0x7f149446f9f1 PyObject_Vectorcall                                                                                             
        ./Include/cpython/abstract.h:123                                                                                       
0x7f149446f9f1 call_function                                                                                                   
        Python/ceval.c:5891                                                                                                    
0x7f149446f9f1 _PyEval_EvalFrameDefault                                                                                        
        Python/ceval.c:4231                                                                                                    
0x7f1494580d9f _PyEval_EvalFrame                                                                                               
        ./Include/internal/pycore_ceval.h:46                                                                                   
0x7f1494580d9f _PyEval_Vector                                                                                                  
        Python/ceval.c:5065                                                                                                    
0x7f14944c2c2c _PyObject_VectorcallTstate                                                                                      
        ./Include/cpython/abstract.h:114                                                                                       
0x7f14944c2c2c method_vectorcall                                                                                               
        Objects/classobject.c:83                                                                                               
0x7f14944c0d0b _PyObject_VectorcallTstate                                                                                      
        ./Include/cpython/abstract.h:114                                                                                       
0x7f14944c0d0b object_vacall                                                                                                   
        Objects/call.c:734                                                                                                     
0x7f14944c10ee PyObject_CallFunctionObjArgs                                                                                    
        Objects/call.c:841                                                                                                     
0x69634a ???                                                                                                                   
0x6aae6b ???                                                                                                                   
0x69be61 ???                                                                                                                   
0x60192d ???                                                                                                                   
0x5f5416 ???                                                                                                                   
0x5ff9ec ???                                                                                                                   
0x6fe3cd ???                                                                                                                   
0x880204 ???                                                                                                                   
0x88038f ???                                                                                                                   
0x6301e4 ???                                                                                                                   
0x631e94 ???                                                                                                                   
0x416c44 ???                                                                                                                   
0x7f149363c78f ???                                                                                                             
0x7f149363c849 ???                                                                                                             
0x41c581 ???                                                                                                                   
0xffffffffffffffff ???                                                                                                         
---------------------                                                                                                          
A fatal error internal to GDB has been detected, further                                                                       
debugging is not possible.  GDB will now terminate.                                                                            

This is a bug, please report it.  For instructions, see:                                                                       
<https://www.gnu.org/software/gdb/bugs/>.                                                                                      



Segmentation fault (core dumped)   

This happens very early on boot. I can no longer reproduce once in e.g. main(). Not true, not sure when and why it happens exactly.

from gdb-dashboard.

cyrus-and avatar cyrus-and commented on June 18, 2024

Good to know! Not at all, and thanks for your deep dive into this.

from gdb-dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.