Thanks, I'll do that next time the error occurs. Mihai
On Mon, 23 Jun 2003, V Alex Brennen wrote: > > You can run gtk-gnutella in gdb. Recompile it with > debugging symbols if necessary. Grep in the source > code for the assert that is failing, then set a > breakpoint just before or at that line. Then > in gdb, execute the 'bt' (backtrace) command > in the instance of a condition that will yield > an assert failure. > > You can tell if there will be an assert failure > by using the 'print' command in gdb to display > the values of the different variables. > > If it is memory corruption of the stack, you > should be able to see that in the debugger's > stack trace (backtrace). You can analyze > the frames to find the exact point of the > corruption. If it is an uninit'd variable, > you should be able to determine that from > the print command in the debugger. > > > - VAB > > On Tue, 24 Jun 2003, Mihai T. Lazarescu wrote: > > > How can I get a stack trace in case of an assertion failure? > > There is no core left. Perhaps replacing the exit of the > > assert with an instructions that does generate a core dump > > (like trying to write something to an illegal address)? > > > > I can add that it seems a kind of random. It does not happen > > at the same point in the checksum after GTKG restart and other > > checksums may be completed without a flaw. Looks like a memory > > corruption/lack of initialization?... > > > > Let me know how to proceed. Thanks for the help. > > > > Mihai > > > > On 23 Jun 2003, Raphael Manfredi wrote: > > > > > Quoting "Mihai T. Lazarescu" <[EMAIL PROTECTED]> from > > > ml.softs.gtk-gnutella.devel: > > > :assertion failed: (d->status == GTA_DL_VERIFYING) > > > : aborting... > > > : > > > :I use the latest CVS on RedHat 9, compiled with gcc > > > :3.2.2. Please let me know if I can help more. > > > > > > The stack trace would help tremendously see a common pattern between all > > > those bugs... > > > > > > Raphael > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Gtk-gnutella-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel > > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
