Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] RC5/Final Candidate available

> Sounds like a bug to me.  Probably Mac OS X related :-)
> Can you send the gdb traces from the console? (if you look
> at the different consoles available, one is called 'gdb traces')
> It sounds like we don't clear our caches properly, which
> is something I noticed for post-mortem debugging:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=280327

MI attached. It just doesn't seem to be asking the debugger for the
backtraces...

Interestingly if I kill and re-run the session enough times it shows
the stack. I say 1 out of 4 to 1 out of 10 times it shows the stack...

I've attached mi.good.txt as well for comparison, but it looks like
some kinda race given the inconsistency in behaviour...

Cheers,
James

>
> Thanks
>
> Marc
>
>
>>
>> Anyway, so far so good, all seems to be working as advertised here!
>>
>> Cheers,
>> James
>>
>> 2009/6/15 Doug Schaefer <cdtdoug@xxxxxxxxx>:
>> > Could everyone who does try it, please report what
>> platforms you tried. I
>> > want to get a sense of what platforms people have tested this on.
>> >
>> > Thanks,
>> > Doug.
>> >
>> > On Mon, Jun 15, 2009 at 11:44 AM, Vivian Kong
>> <vivkong@xxxxxxxxxx> wrote:
>> >>
>> >> RC5/Final Candidate available:
>> >>
>> http://download.eclipse.org/tools/cdt/builds/6.0.0/I.I20090615
>> 1036/index.html
>> >>
>> >> Please try it out and report any problems you may encountered.
>> >>
>> >> Regards,
>> >>
>> >> Vivian Kong
>> >> IBM Eclipse CDT
>> >> IBM Canada Toronto Lab
>> >>
>> >> _______________________________________________
>> >> cdt-dev mailing list
>> >> cdt-dev@xxxxxxxxxxx
>> >> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > cdt-dev mailing list
>> > cdt-dev@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> >
>> >
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
456,728 2source .gdbinit
456,730 &"source .gdbinit\n"
456,733 2^done
456,733 (gdb) 
456,737 3-file-exec-and-symbols /Users/james/Documents/workspace/hw/Debug/hw
456,960 3^done,time={wallclock="0.22227",user="0.03802",system="0.02989",start="1245095456.737398",e\
nd="1245095456.959671"}
456,960 (gdb) 
456,964 4-environment-cd /Users/james/Documents/workspace/hw
456,966 4^done,time={wallclock="0.00008",user="0.00005",system="0.00003",start="1245095456.965308",e\
nd="1245095456.965386"}
456,966 (gdb) 
456,968 5-gdb-set auto-solib-add on
456,970 5^done,time={wallclock="0.00005",user="0.00004",system="0.00001",start="1245095456.969136",e\
nd="1245095456.969188"}
456,970 (gdb) 
456,974 6-environment-directory /Users/james/Documents/workspace/hw /Users/james/Documents/workspace\
/hw/Debug /Users/james/Documents/workspace/hw/Debug/src /Users/james/Documents/workspace/hw/src
456,976 6^done,source-path="/Users/james/Documents/workspace/hw:/Users/james/Documents/workspace/hw/\
Debug:/Users/james/Documents/workspace/hw/Debug/src:/Users/james/Documents/workspace/hw/src:$cdir:$c\
wd",time={wallclock="0.00068",user="0.00021",system="0.00010",start="1245095456.974748",end="1245095\
456.975426"}
456,987 (gdb) 
456,990 7-break-insert /Users/james/Documents/workspace/hw/src/hw.c:16
456,997 7^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00001fe1",func="ma\
in",file="../src/hw.c",line="16",shlib="/Users/james/Documents/workspace/hw/Debug/hw",times="0"},tim\
e={wallclock="0.00383",user="0.00190",system="0.00138",start="1245095456.991848",end="1245095456.995\
676"}
457,001 (gdb) 
457,006 8-break-insert -t main
457,011 8^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00001fd3",func="mai\
n",file="../src/hw.c",line="15",shlib="/Users/james/Documents/workspace/hw/Debug/hw",times="0"},time\
={wallclock="0.00029",user="0.00024",system="0.00003",start="1245095457.010095",end="1245095457.0103\
86"}
457,011 (gdb) 
457,012 9-exec-run
457,210 10-thread-list-ids
458,015 ~"[Switching to process 13931 local thread 0x2d03]\n"
458,028 =shlibs-updated
458,029 9^running
458,029 (gdb) 
458,030 10^error,msg="Cannot execute command thread-list-ids while target running"
458,033 (gdb) 
458,065 =shlibs-added,shlib-info=[num="2",name="hw",kind="-",dyld-addr="0x1000",reason="exec",reques\
ted-state="Y",state="Y",path="/Users/james/Documents/workspace/hw/Debug/hw",description="/Users/jame\
s/Documents/workspace/hw/Debug/hw",loaded_addr="",slide="0x0",prefix=""],time={now="1245095458.05982\
9"}
458,068 =shlibs-added,shlib-info=[num="3",name="libgcc_s.1.dylib",kind="-",dyld-addr="0x963f4000",re\
ason="dyld",requested-state="Y",state="Y",path="/usr/lib/libgcc_s.1.dylib",description="/usr/lib/lib\
gcc_s.1.dylib",loaded_addr="0x963f4000",slide="-0x69c0c000",prefix=""],time={now="1245095458.061730"\
}
458,069 =shlibs-added,shlib-info=[num="4",name="libSystem.B.dylib",kind="-",dyld-addr="0x9274d000",r\
eason="dyld",requested-state="Y",state="Y",path="/usr/lib/libSystem.B.dylib",description="/usr/lib/l\
ibSystem.B.dylib",loaded_addr="0x9274d000",slide="-0x6d8b3000",prefix="",commpage-objpath="/usr/lib/\
libSystem.B.dylib[LC_SEGMENT.__DATA.__commpage]"],time={now="1245095458.061942"}
458,069 =shlibs-added,shlib-info=[num="5",name="libmathCommon.A.dylib",kind="-",dyld-addr="0x96f2d00\
0",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/system/libmathCommon.A.dylib",descript\
ion="/usr/lib/system/libmathCommon.A.dylib",loaded_addr="0x96f2d000",slide="-0x690d3000",prefix=""],\
time={now="1245095458.062119"}
458,072 9*stopped,time={wallclock="1.05919",user="0.00871",system="0.00959",start="1245095457.012313\
",end="1245095458.071499"},reason="breakpoint-hit",commands="no",times="1",bkptno="2",thread-id="1"
458,074 (gdb) 
768,550 2source .gdbinit
768,561 &"source .gdbinit\n"
768,563 2^done
768,563 (gdb) 
768,565 3-file-exec-and-symbols /Users/james/Documents/workspace/hw/Debug/hw
768,786 3^done,time={wallclock="0.21082",user="0.03812",system="0.02892",start="1245095768.574834",e\
nd="1245095768.785658"}
768,787 (gdb) 
768,787 4-environment-cd /Users/james/Documents/workspace/hw
768,788 4^done,time={wallclock="0.00011",user="0.00006",system="0.00004",start="1245095768.787917",e\
nd="1245095768.788025"}
768,788 (gdb) 
768,789 5-gdb-set auto-solib-add on
768,790 5^done,time={wallclock="0.00005",user="0.00003",system="0.00001",start="1245095768.789516",e\
nd="1245095768.789562"}
768,790 (gdb) 
768,795 6-environment-directory /Users/james/Documents/workspace/hw /Users/james/Documents/workspace\
/hw/Debug /Users/james/Documents/workspace/hw/Debug/src /Users/james/Documents/workspace/hw/src
768,797 6^done,source-path="/Users/james/Documents/workspace/hw:/Users/james/Documents/workspace/hw/\
Debug:/Users/james/Documents/workspace/hw/Debug/src:/Users/james/Documents/workspace/hw/src:$cdir:$c\
wd",time={wallclock="0.00029",user="0.00020",system="0.00008",start="1245095768.796238",end="1245095\
768.796532"}
768,797 (gdb) 
768,799 7-break-insert /Users/james/Documents/workspace/hw/src/hw.c:16
768,805 7^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00001fe1",func="ma\
in",file="../src/hw.c",line="16",shlib="/Users/james/Documents/workspace/hw/Debug/hw",times="0"},tim\
e={wallclock="0.00493",user="0.00198",system="0.00158",start="1245095768.799371",end="1245095768.804\
303"}
768,805 (gdb) 
768,808 8-break-insert -t main
768,809 8^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00001fd3",func="mai\
n",file="../src/hw.c",line="15",shlib="/Users/james/Documents/workspace/hw/Debug/hw",times="0"},time\
={wallclock="0.00043",user="0.00029",system="0.00009",start="1245095768.808128",end="1245095768.8085\
60"}
768,809 (gdb) 
768,809 9-exec-run
769,065 10-thread-list-ids
769,817 ~"[Switching to process 14026 local thread 0x2d03]\n"
769,834 =shlibs-updated
769,835 9^running
769,835 (gdb) 
769,835 10^error,msg="Cannot execute command thread-list-ids while target running"
769,835 (gdb) 
769,873 =shlibs-added,shlib-info=[num="2",name="hw",kind="-",dyld-addr="0x1000",reason="exec",reques\
ted-state="Y",state="Y",path="/Users/james/Documents/workspace/hw/Debug/hw",description="/Users/jame\
s/Documents/workspace/hw/Debug/hw",loaded_addr="",slide="0x0",prefix=""],time={now="1245095769.87091\
6"}
769,876 =shlibs-added,shlib-info=[num="3",name="libgcc_s.1.dylib",kind="-",dyld-addr="0x963f4000",re\
ason="dyld",requested-state="Y",state="Y",path="/usr/lib/libgcc_s.1.dylib",description="/usr/lib/lib\
gcc_s.1.dylib",loaded_addr="0x963f4000",slide="-0x69c0c000",prefix=""],time={now="1245095769.874614"\
}
769,876 =shlibs-added,shlib-info=[num="4",name="libSystem.B.dylib",kind="-",dyld-addr="0x9274d000",r\
eason="dyld",requested-state="Y",state="Y",path="/usr/lib/libSystem.B.dylib",description="/usr/lib/l\
ibSystem.B.dylib",loaded_addr="0x9274d000",slide="-0x6d8b3000",prefix="",commpage-objpath="/usr/lib/\
libSystem.B.dylib[LC_SEGMENT.__DATA.__commpage]"],time={now="1245095769.874839"}
769,876 =shlibs-added,shlib-info=[num="5",name="libmathCommon.A.dylib",kind="-",dyld-addr="0x96f2d00\
0",reason="dyld",requested-state="Y",state="Y",path="/usr/lib/system/libmathCommon.A.dylib",descript\
ion="/usr/lib/system/libmathCommon.A.dylib",loaded_addr="0x96f2d000",slide="-0x690d3000",prefix=""],\
time={now="1245095769.875017"}
769,893 9*stopped,time={wallclock="1.08054",user="0.00829",system="0.00943",start="1245095768.810541\
",end="1245095769.891081"},reason="breakpoint-hit",commands="no",times="1",bkptno="2",thread-id="1"
769,893 (gdb) 
770,914 11-thread-list-ids
770,917 11^done,thread-ids={thread-id="1"},number-of-threads="1",time={wallclock="0.00012",user="0.0\
0005",system="0.00007",start="1245095770.915988",end="1245095770.916109"}
770,917 (gdb) 
771,017 12-thread-select 1
771,018 13-stack-info-depth 11
771,025 12^done,new-thread-id="1",frame={func="main",args=[],file="../src/hw.c",fullname="/Users/jam\
es/Documents/workspace/hw/src/hw.c",line="15",dir="/Users/james/Documents/workspace/hw/Debug"},line=\
"15",file="../src/hw.c",time={wallclock="0.00571",user="0.00032",system="0.00029",start="1245095771.\
018554",end="1245095771.024268"}
771,025 (gdb) 
771,026 13^done,depth="1",time={wallclock="0.00169",user="0.00038",system="0.00065",start="124509577\
1.024414",end="1245095771.026109"}
771,027 (gdb) 
771,035 14-stack-list-frames
771,038 14^done,stack=[frame={level="0",addr="0x00001fd3",fp="0xbffffa70",func="main",file="../src/h\
w.c",fullname="/Users/james/Documents/workspace/hw/src/hw.c",line="15",dir="/Users/james/Documents/w\
orkspace/hw/Debug"}],time={wallclock="0.00028",user="0.00020",system="0.00007",start="1245095771.035\
965",end="1245095771.036243"}
771,038 (gdb) 
771,160 15info threads
771,161 &"info threads\n"
771,163 15^done,threadno="1",target_tid="process 14026 local thread 0x2d03",frame={func="main",args=\
[],file="../src/hw.c",fullname="/Users/james/Documents/workspace/hw/src/hw.c",line="15",dir="/Users/\
james/Documents/workspace/hw/Debug"}
771,163 (gdb) 
771,342 16-stack-list-arguments 1
771,342 17-stack-select-frame 0
771,342 18-stack-list-locals 1
771,344 16^done,stack-args=[frame={level="0",args=[]}],time={wallclock="0.00010",user="0.00006",syst\
em="0.00004",start="1245095771.342973",end="1245095771.343072"}
771,344 (gdb) 
771,345 17^done,time={wallclock="0.00005",user="0.00004",system="0.00000",start="1245095771.343933",\
end="1245095771.343978"}
771,345 (gdb) 
771,345 18^done,locals=[],time={wallclock="0.00002",user="0.00001",system="0.00000",start="124509577\
1.344140",end="1245095771.344158"}
771,345 (gdb) 
771,431 19-stack-list-frames 0 0
771,433 19^done,stack=[frame={level="0",addr="0x00001fd3",fp="0xbffffa70",func="main",file="../src/h\
w.c",fullname="/Users/james/Documents/workspace/hw/src/hw.c",line="15",dir="/Users/james/Documents/w\
orkspace/hw/Debug"}],time={wallclock="0.00024",user="0.00018",system="0.00006",start="1245095771.432\
514",end="1245095771.432756"}
771,434 (gdb) 

Back to the top