masayuki2009 commented on pull request #4118:
URL: https://github.com/apache/incubator-nuttx/pull/4118#issuecomment-880242090


   ```
   Breakpoint 1, getumask () at misc/lib_umask.c:66                             
                                                                              
   66        info = task_get_info();                                            
                                                                              
   (gdb) where                                                                  
                                                                              
   #0  getumask () at misc/lib_umask.c:66                                       
                                                                              
   #1  0x20406534 in file_vopen (filep=filep@entry=0x80000ff0, 
path=path@entry=0x2040d55c "/dev/console", oflags=oflags@entry=3, ap=<optimized 
out>, ap@entry\
   =0x80001038) at vfs/fs_open.c:74                                             
                                                                              
   #2  0x204065fc in nx_vopen (path=path@entry=0x2040d55c "/dev/console", 
oflags=oflags@entry=3, ap=ap@entry=0x80001038) at vfs/fs_open.c:202             
    
   #3  0x2040663e in nx_open (path=path@entry=0x2040d55c "/dev/console", 
oflags=oflags@entry=3) at vfs/fs_open.c:303                                     
     
   #4  0x2040126c in group_setupidlefiles (tcb=tcb@entry=0x80000690 
<g_idletcb>) at group/group_setupidlefiles.c:78                                 
          
   #5  0x20400ab4 in nx_start () at init/nx_start.c:739                         
                                                                              
   #6  0x20400188 in __fe310_start () at chip/fe310_start.c:119                 
                                                                              
   #7  0x20400026 in __start () at chip/fe310_head.S:62                         
                                                                              
   Backtrace stopped: previous frame inner to this frame (corrupt stack?)       
                                                                              
   (gdb) n                                                                      
                                                                              
   67        return info->ta_umask;                                             
                                                                              
   (gdb) p info                                                                 
                                                                              
   $1 = (struct task_info_s *) 0x0                                              
                                                                              
   (gdb)                                          
   ```


-- 
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