Bug 169475 - Error on tasks: 0 - Callback in progress
Summary: Error on tasks: 0 - Callback in progress
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Debug Core (show other bugs)
Version: 1.1   Edit
Hardware: PC Linux
: P1 major (vote)
Target Milestone: 1.1   Edit
Assignee: clement chu CLA
QA Contact: Greg Watson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 15:33 EST by Greg Watson CLA
Modified: 2007-01-24 04:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2007-01-03 15:33:24 EST
During the Variable View test (http://wiki.eclipse.org/index.php?title=PTP/testing/1.x), a dialog popped up with the error 'Error on tasks:0 - Callback in progress'. The icon for process 0 was changed to the error icon. The console output was as follows:

<is4,1>, name: var2, tasks: 0
*** SEND COMMAND: Get Partial AIF: argv, tasks: 0 
<0000002b GPA 5:343a303100 5:6172677600 2:3000 2:3000>
++++++++++ ptp_orte_proxy: ---------------------- GDBGetPartialAIF found key: va
r3, format: v0
        ======= void: v0
got debug event: EVENT_DBG_PARTIAL_AIF 01 <v0,(No value)>, name: var3
*** SET COMMAND RETURN: Get Partial AIF: argv, result: EVENT_DBG_PARTIAL_AIF 01 
<v0,(No value)>, name: var3, tasks: 0
*** SEND COMMAND: Get Partial AIF: i, tasks: 0
<00000025 GPA 5:343a303100 2:6900 2:3000 2:3000>
++++++++++ ptp_orte_proxy: ---------------------- GDBGetPartialAIF found key: va
r4, format: is4
        ======= int: is4, size: 4
got debug event: EVENT_DBG_PARTIAL_AIF 01 <is4,-1208498312>, name: var4
*** SET COMMAND RETURN: Get Partial AIF: i, result: EVENT_DBG_PARTIAL_AIF 01 <is
4,-1208498312>, name: var4, tasks: 0
*** SEND COMMAND: Step over, tasks: 0-3
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.InferiorResu
medEvent@1a06642
<0000001e STP 5:343a306600 2:3100 2:3100>
got debug event: EVENT_DBG_STEP 0e 0 org.eclipse.ptp.debug.external.core.cdi.Loc
ator@47fb00
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.EndSteppingR
angeEvent@1afe733
got debug event: EVENT_DBG_STEP 01 0 org.eclipse.ptp.debug.external.core.cdi.Loc
ator@174009b
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.EndSteppingR
angeEvent@502d56
*** SEND COMMAND: Get Info Thread, tasks: 0
<00000010 ITH 5:343a303100>
got debug event: EVENT_DBG_THREADS: 01 {1}
*** SET COMMAND RETURN: Get Info Thread, result: [Ljava.lang.String;@17a4a80, ta
sks: 0
*** SEND COMMAND: Get stack info depth, tasks: 0
<00000010 SID 5:343a303100>
got debug event: EVENT_DBG_STACK_INFO_DEPTH 01
*** SET COMMAND RETURN: Get stack info depth, result: 1, tasks: 0
*** SEND COMMAND: List stack frames, tasks: 0
<0000001e LSF 5:343a303100 2:3000 2:3100>
got debug event: EVENT_DBG_FRAMES 01
 0 org.eclipse.ptp.debug.external.core.cdi.Locator@220e8b
*** SET COMMAND RETURN: List stack frames, result: [Lorg.eclipse.ptp.debug.exter
nal.core.proxy.ProxyDebugStackframe;@1e8f4e1, tasks: 0
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.VarChangedEv
ent@f7fded
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.VarChangedEv
ent@14012b3
*** SEND COMMAND: List arguments, tasks: 0
<0000001e LAR 5:343a303100 2:3000 2:3000>
got debug event: EVENT_DBG_ARGS 01 {argc, argv}
*** SET COMMAND RETURN: List arguments, result: [Ljava.lang.String;@e4c825, task
s: 0
*** SEND COMMAND: Step over, tasks: 0-3
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.InferiorResu
medEvent@101044
<0000001e STP 5:343a306600 2:3100 2:3100>
*** SEND COMMAND: List local variables, tasks: 0
*** SEND COMMAND: Get Partial AIF: var2, tasks: 0
*** SEND COMMAND: Get Partial AIF: var3, tasks: 0
++++++++++ ptp_orte_proxy: ------------------- SendCommandWait sess->out_fd = -1
++++++++++ ptp_orte_proxy: 
++++++++++ ptp_orte_proxy: ------------------- GetChangedVariables error
++++++++++ ptp_orte_proxy: 
got debug event: EVENT_DBG_STEP 0f 0 org.eclipse.ptp.debug.external.core.cdi.Loc
ator@18c93dc
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.EndSteppingR
angeEvent@3f67e0
*** SEND COMMAND: Get Info Thread, tasks: 0
<00000010 ITH 5:343a303100>
++++++++++ ptp_orte_proxy: ------------------- SendCommandWait sess->out_fd = -1
++++++++++ ptp_orte_proxy: 
++++++++++ ptp_orte_proxy: ------------------- GDBMIGetInfoThread error
++++++++++ ptp_orte_proxy: 
got debug event: EVENT_DBG_ERROR 01 6 Callback in progress
*** SET COMMAND RETURN: Get Info Thread, result: org.eclipse.ptp.debug.core.cdi.
PCDIException: Callback in progress[], tasks: 0
----- debugger error: Callback in progress on Tasks: 0 ------------
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.ThreadExited
Event@8d59f1
***** Debugger event: org.eclipse.ptp.debug.external.core.cdi.event.ErrorEvent@b
dd7f
************ DebugCommandQueue -- Add cmd JUMP: Terminate
*** SEND COMMAND: Terminate, tasks: 0
*** SEND COMMAND: Get Info Thread, tasks: 0
*** SEND COMMAND: Get stack info depth, tasks: 0
*** SEND COMMAND: List stack frames, tasks: 0
Comment 1 Greg Watson CLA 2007-01-12 13:50:05 EST
This is a bug in GCC 4.0 that causes gdb to fail. It only affects gdb > 6.3, linux, x86 systems. 

The fix is to disable displaying local variables in main() for this architecture. 

Apparently the gdb failure will be fixed in 6.6.
Comment 2 Beth Tibbitts CLA 2007-01-23 15:51:24 EST
I get this too.  I have gdb 6.5.
Comment 3 clement chu CLA 2007-01-24 04:04:24 EST
The latest build should fix this problem.  Are you testing with the latest build?

(In reply to comment #2)
> I get this too.  I have gdb 6.5.
>