From owner-freebsd-bugs Mon Feb 20 10:02:25 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id KAA29256 for bugs-outgoing; Mon, 20 Feb 1995 10:02:25 -0800 Received: from mailgzrz.TU-Berlin.DE (mailgzrz.TU-Berlin.DE [130.149.4.10]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id KAA29250 for ; Mon, 20 Feb 1995 10:02:23 -0800 Received: from ftat89.ee.TU-Berlin.DE by mailgzrz.TU-Berlin.DE with SMTP (PP); Mon, 20 Feb 1995 19:01:29 +0100 Received: by ftat89.ee.TU-Berlin.DE (8.6.9/ZRZ) id TAA00573; Mon, 20 Feb 1995 19:05:12 +0100 Date: Mon, 20 Feb 1995 19:05:12 +0100 From: User Engel Message-Id: <199502201805.TAA00573@ftat89.ee.TU-Berlin.DE > To: bugs@FreeBSD.org Subject: kern: GDB crashes 2.0-950210-SNAP Sender: bugs-owner@FreeBSD.org Precedence: bulk >Class: sw-bug >How-To-Repeat: gcc -o demo -g demo.c gdb demo break 7 run >Fix: Not yet. >Environment: Both systems checks use bounce buffers and have 20MB RAM or 32MB RAM. >Description: I tried to debug programmes with either gdb or with xxgdb and gdb. The demo programme is included below. I can start gdb and set a breakpoint (break 7) but as soon as I start the programme (run) the FreeBSD-system reboots. I have the problem with two independent platforms both running the above mentioned FreeBSD-system. Any use can cause the crash. The system crashes with a) binary distribution of the snap b) completely compiled and installed version from the sources with b.a) GENERIC kernel b.b) specific kernel. If I use the original 2.0-RELEASE kernel from the FreeBSD-CDROM (Walnut-CR.), I do not get a reboot. ========= demo.c ============= #include main() { printf("start\n"); demo(); demo(); printf("end\n"); return 0; } demo() { static int i = 3; printf("%d\n" , i); i=2; } ======================== end of demo.c -- Regards, Christian =================== Christian Engel (Dipl. Inf. (M.Sc.)) ====================== ***** Graduiertenkolleg Kommunikationsbasierte Systeme ***** TU Berlin, Sekr. FT-5, Einsteinufer 25, D-10587 Berlin MAIL: engel@cs.tu-berlin.de TEL: +49 (30) 314 23810 FAX: +49 (30) 314 22514