Git Product home page Git Product logo

cortex-tool's People

Contributors

blunderer avatar

Stargazers

 avatar  avatar

Watchers

 avatar

cortex-tool's Issues

crashes on a simple tail core dump

What steps will reproduce the problem?
1. run `tail -f somefile`
2. use gcore to core dump 
3. run `cortex -i tail-vanilla.core -f all`

What is the expected output? What do you see instead?

$ cortex -i tail-vanilla.core -f all

8<--------------------------------------------------------------------------
BUG: process tail<9366> crashed
  cmdline was tail 
  uid/gid: 1000/1000
  utime/stime: 0.0/0.0
  cutime/cstime: 0.0/0.0
  state: R
  nr threads: 1
  rax:0x00000000FFFFFE00  rbx:0x0000000000000024  rcx:0x00000000FFFFFFFF  rdx:0x0000000000000024  
  rbp:0x00000000017C0030  rsp:0x0000000082DF87D8  rsi:0x00000000017C01C0  rdi:0x0000000000000005  
  rip:0x0000000017D516A0  r8:0x00000000726F6E20  r9:0x0000000069736F70  r10:0x000000002C302820  
  r11:0x0000000000000246  r12:0x00000000017C01C0  r13:0x0000000000000005  r14:0x0000000000000001  
  r15:0x00000000017C0090  cs:0x0000000000000033  ss:0x000000000000002B  orig_rax :0x0000000000000000  
  eflags:0x0000000000000246  
Code:
Unsupported
Call trace:
Segmentation fault (core dumped)


What version of the product are you using? On what operating system?

git HEAD on linux x86_64 3.11.0-15-generic (Ubuntu 13.10) 

Please provide any additional information below.


When I compile cortex I get several warnings. All very similar to each other 
regarding format strings I guess:

src/cortex_out.c: In function ‘cortex_output_write_stack_frame’:
src/cortex_out.c:128:4: warning: format ‘%x’ expects argument of type 
‘unsigned int’, but argument 3 has type ‘Elf64_Addr’ [-Wformat=]
    fprintf(output, "  0x%08x: %08x\n", i, *stack_val);
    ^
src/cortex_out.c:128:4: warning: format ‘%x’ expects argument of type 
‘unsigned int’, but argument 4 has type ‘Elf64_Addr’ [-Wformat=]
src/cortex_out.c:130:4: warning: format ‘%x’ expects argument of type 
‘unsigned int’, but argument 3 has type ‘Elf64_Addr’ [-Wformat=]
    fprintf(output, "  0x%016x: %016x\n", i, *stack_val);
    ^
src/cortex_out.c:130:4: warning: format ‘%x’ expects argument of type 
‘unsigned int’, but argument 4 has type ‘Elf64_Addr’ [-Wformat=]
src/cortex_out.c: In function ‘cortex_output_write_call_trace’:
src/cortex_out.c:167:6: warning: format ‘%x’ expects argument of type 
‘unsigned int’, but argument 4 has type ‘Elf64_Addr’ [-Wformat=]
      frame.pc);
      ^
src/cortex_out.c:170:6: warning: format ‘%x’ expects argument of type 
‘unsigned int’, but argument 4 has type ‘Elf64_Addr’ [-Wformat=]
      frame.pc);
      ^

Original issue reported on code.google.com by [email protected] on 2 Jan 2014 at 8:36

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.