There's a tutorial on that:<br><br><a href="http://www.ros.org/wiki/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB">http://www.ros.org/wiki/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB</a><br>
<br><div class="gmail_quote">On Mon, Nov 22, 2010 at 9:24 AM, Andreas Baldinger <span dir="ltr"><<a href="mailto:e0929191@student.tuwien.ac.at">e0929191@student.tuwien.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
How can I use gdb and roslaunch together and get a backtrace?<br>
My launch-command is:<br>
<br>
        roslaunch robotcontrol exercise01.launch rc:=1<br>
<br>
The only way I know to use gdb is: $ gdb [filename]<br>
<div class="im"><br>
<br>
On 2010-11-22 16:19, Brian Gerkey wrote:<br>
> Looks like stageros is segfaulting (hence the -11 exit code).  Can you<br>
> run it in gdb and post a backtrace?<br>
</div><div><div></div><div class="h5">>On Mon, Nov 22, 2010 at 7:05 AM, Andreas Baldinger<br>
> <<a href="mailto:e0929191@student.tuwien.ac.at">e0929191@student.tuwien.ac.at</a>> wrote:<br>
> > Thank you for your help, but that didnīt help at all.<br>
> > I still get the Error:<br>
> ><br>
> > XRequest.137: BadWindow (invalid Window parameter) 0x4e00004<br>
> > [stageros-2] process has died [pid 4294, exit code -11].<br>
> ><br>
> > I tried to remove my xserver-xorg and install it again, but that didnīt<br>
> > help either.<br>
> > The problem is I am new to linux (4weeks+) and canīt really determine<br>
> from<br>
> > where the error is coming.<br>
> > I mean what is an XRequest.137? Couldnīt find any information on this<br>
> > either.<br>
> > And how come that it worked a week ago and now its jammed?<br>
> ><br>
> > Greetings,<br>
> > --<br>
> > Andreas Baldinger<br>
> > MatrNr.: 0929191<br>
> > Student Automatisierungstechnik<br>
> > TU Wien<br>
> ><br>
> ><br>
> > On 2010-11-21 23:52, Kevin Watts wrote:<br>
> >> Andreas-<br>
> >> $ export STAGEPATH=/etc/X11<br>
> >>Kevin<br>
> >>On Sun, Nov 21, 2010 at 8:27 AM, Andreas Baldinger <<br>
> >> <a href="mailto:e0929191@student.tuwien.ac.at">e0929191@student.tuwien.ac.at</a>> wrote:<br>
> >>> Hello.<br>
> >> ><br>
> >> > A week ago stageros worked perfectly. Now I tried to start again<br>
> and I<br>
> >> > always get the same error:<br>
> >> ><br>
> >> > [ INFO] [1290356178.217601386]: Starting program...<br>
> >> > [ INFO] [1290356178.217768326]: Waiting for sensor data...<br>
> >> > XRequest.137: BadWindow (invalid Window parameter) 0x5400004<br>
> >> > [stageros-2] process has died [pid 16149, exit code -11].<br>
> >> ><br>
> >> > The problem is I donīt really know what I changed in this week and I<br>
> >> > couldnīt find any useful information so far.<br>
> >> > The log-file contains:<br>
> >> ><br>
> >> > [roscpp_internal] [2010-11-21 17:16:18,316] [thread 0x7fe960960840]:<br>
> >> > [DEBUG] UDPROS server listening on port [51346]<br>
> >> > [roscpp_internal] [2010-11-21 17:16:18,322] [thread 0x7fe960960840]:<br>
> >> > [DEBUG] Started node [/stageros], pid [16149], bound on<br>
> [ndsnotebook],<br>
> >> > xmlrpc port [44758], tcpros port [54024], logging to<br>
> >> ><br>
> >> ><br>
> >><br>
> [/home/andreasbaldinger/.ros/log/aba5a5f2-f58a-11df-bc8a-0024545bc34c/stageros-2.log],<br>
> >> > using   [real] time<br>
> >> > [roscpp_internal] [2010-11-21 17:16:18,342] [thread 0x7fe94d15c710]:<br>
> >> > [DEBUG] Accepted connection on socket [10], new socket [15]<br>
> >> > [roscpp_internal] [2010-11-21 17:16:18,342] [thread 0x7fe94d15c710]:<br>
> >> > [DEBUG] TCPROS received a connection from [<a href="http://127.0.1.1:34869" target="_blank">127.0.1.1:34869</a>]<br>
> >> > [roscpp_internal] [2010-11-21 17:16:18,342] [thread 0x7fe94d15c710]:<br>
> >> > [DEBUG] Connection: Creating TransportSubscriberLink for topic<br>
> >> [/rosout]<br>
> >> > connected to [callerid=[/rosout] address=[TCPROS connection to<br>
> >> > [<a href="http://127.0.1.1:34869" target="_blank">127.0.1.1:34869</a> on socket 15]]]<br>
> >> ><br>
> >> > I figured the problem could be anything regarding my graphic card.<br>
> >> > I also installed a lot of updates (ubuntu update manager) and there<br>
> >> were<br>
> >> > also some ros-updates included.<br>
> >> ><br>
> >> > btw: Iīm using ubuntu 10.04 lucid on a Samsung R580 Hawk with a<br>
> NVIDIA<br>
> >> > GT330M.<br>
> >> ><br>
> >> > Has anyone else ever had such an error?<br>
> >> ><br>
> >> > Greetings,<br>
> >> > --<br>
> >> > Andreas Baldinger<br>
> >> > MatrNr.: 0929191<br>
> >> > Student Automatisierungstechnik<br>
> >> > TU Wien<br>
> >> > _______________________________________________<br>
> >> > ros-users mailing list<br>
> >> > <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> >> > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
> >> ><br>
> >> _______________________________________________<br>
> >> ros-users mailing list<br>
> >> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> >> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
> > _______________________________________________<br>
> > ros-users mailing list<br>
> > <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
> ><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>