blunderer / cortex-tool Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/cortex-tool
Automatically exported from code.google.com/p/cortex-tool
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.