<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [Mageia-dev] net_applet segfaulting </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20net_applet%20segfaulting&In-Reply-To=%3C20120701182103.1d8e429f%40lap.shlomifish.org%3E"> <META NAME="robots" CONTENT="index,nofollow"> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="017095.html"> <LINK REL="Next" HREF="017050.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Mageia-dev] net_applet segfaulting</H1> <B>Shlomi Fish</B> <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20net_applet%20segfaulting&In-Reply-To=%3C20120701182103.1d8e429f%40lap.shlomifish.org%3E" TITLE="[Mageia-dev] net_applet segfaulting">shlomif at shlomifish.org </A><BR> <I>Sun Jul 1 17:21:03 CEST 2012</I> <P><UL> <LI>Previous message: <A HREF="017095.html">[Mageia-dev] net_applet segfaulting </A></li> <LI>Next message: <A HREF="017050.html">[Mageia-dev] WARNING: systemd is landing!! </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#17053">[ date ]</a> <a href="thread.html#17053">[ thread ]</a> <a href="subject.html#17053">[ subject ]</a> <a href="author.html#17053">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>Hi Robert, On Sun, 01 Jul 2012 14:55:25 +0200 Robert Fox <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">list at foxconsult.net</A>> wrote: ><i> On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote: </I>><i> > On 19 June 2012 16:01, Robert Fox <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">list at foxconsult.net</A>> wrote: </I>><i> > > So for some unexplained reason it segfaults and I have to start it </I>><i> > > again. </I>><i> > </I>><i> > Please: </I>><i> > 1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug </I>><i> > gtk2.0-debug gdb </I>><i> > 2) run "gdb perl /usr/bin/net_applet" </I>><i> > 3) type "run" to start it from the debuger </I>><i> > 4) type "bt" to get a backstrace once it segfaulted </I>><i> > 5) paste the backtrace in a text file you'll _attach_ to a bug report </I>><i> </I>><i> Finally got around to trying this - here is the output so far: </I>><i> </I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">rfox at ThinkFox</A> ~]$ gdb perl /usr/bin/net_applet </I>><i> GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2) </I>><i> Copyright (C) 2011 Free Software Foundation, Inc. </I>><i> License GPLv3+: GNU GPL version 3 or later </I>><i> <<A HREF="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</A>> </I>><i> This is free software: you are free to change and redistribute it. </I>><i> There is NO WARRANTY, to the extent permitted by law. Type "show </I>><i> copying" </I>><i> and "show warranty" for details. </I>><i> This GDB was configured as "x86_64-mageia-linux-gnu". </I>><i> For bug reporting instructions, please see: </I>><i> <<A HREF="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</A>>... </I>><i> Reading symbols from /usr/bin/perl...Reading symbols </I>><i> from /usr/lib/debug/usr/bin/perl5.16.0.debug...done. </I>><i> done. </I>><i> "/usr/bin/net_applet" is not a core dump: File format not recognized </I>><i> (gdb) run </I>><i> Starting program: /usr/bin/perl </I>><i> [Thread debugging using libthread_db enabled] </I>><i> Using host libthread_db library "/lib64/libthread_db.so.1". </I>><i> </I>><i> and it just sits there - program doesn't start. </I>><i> </I> That's the wrong way to use gdb. You should do: $ gdb /usr/bin/perl $ run /usr/bin/net_applet Also look into gdb's --command flag for start up commands. Regards, Shlomi Fish ><i> Didn't get very far . . . </I>><i> </I>><i> </I> -- ----------------------------------------------------------------- Shlomi Fish <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A> Escape from GNU Autohell - <A HREF="http://www.shlomifish.org/open-source/anti/autohell/">http://www.shlomifish.org/open-source/anti/autohell/</A> Whitespace in Python is not a problem: just lay out all the whitespace first, then add the code around it. — sizz on Freenode's #perl Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> . </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="017095.html">[Mageia-dev] net_applet segfaulting </A></li> <LI>Next message: <A HREF="017050.html">[Mageia-dev] WARNING: systemd is landing!! </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#17053">[ date ]</a> <a href="thread.html#17053">[ thread ]</a> <a href="subject.html#17053">[ subject ]</a> <a href="author.html#17053">[ author ]</a> </LI> </UL> <hr> <a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev mailing list</a><br> </body></html>