From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sagaert Johan Date: Thu, 15 Mar 2012 15:36:35 +0100 Subject: [Buildroot] core file In-Reply-To: <20120315141929.1b885c74@skate> References: <20120315080021.24349b77@skate> <20120315141929.1b885c74@skate> Message-ID: <486BF3F63CBA4E08B41FE14F46199C39@JohanW7> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi This is the result from a run with no debug symbols Also tested using ARM926t instead of the Generic Arm, but this makes no difference. (arm926t = Thumb ?) Since libdl is the last one, could this one be the one causing the segfault ? # gdb /usr/bin/curl -c /root/core GNU gdb (GDB) 7.1 [New Thread 600] Reading symbols from /usr/lib/libcurl.so.4...(no debugging symbols found)...done . Loaded symbols for /usr/lib/libcurl.so.4 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libc.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.0 Reading symbols from /usr/lib/libssl.so.1.0.0...(no debugging symbols found)...d one. Loaded symbols for /usr/lib/libssl.so.1.0.0 Reading symbols from /usr/lib/libcrypto.so.1.0.0...(no debugging symbols found). ..done. Loaded symbols for /usr/lib/libcrypto.so.1.0.0 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/ld-uClibc.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/ld-uClibc.so.0 Reading symbols from /lib/libdl.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.0 Core was generated by `curl'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () (gdb) -----Oorspronkelijk bericht----- Van: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] Namens Thomas Petazzoni Verzonden: donderdag 15 maart 2012 14:19 Aan: Sagaert Johan CC: buildroot at busybox.net Onderwerp: Re: [Buildroot] core file Le Thu, 15 Mar 2012 13:17:06 +0100, "Sagaert Johan" a ?crit : > # curl > ELF header=0x40074000 > First Dynamic section entry=0x40083ef0 Scanning DYNAMIC section Done > scanning DYNAMIC section Seeing those messages, seems like you have built your uClibc with too many debugging options. > Reading symbols from > /lib/libc.so.0.../home/johan/buildroot/output/toolchain/gdb-7.1a/gdb/utils.c:1246: internal-error: virtual memory exhausted: can't allocate 59954836 bytes. And you have built it with debugging symbols it seems, so its size is way too big to load on your target. Either use cross-gdb+gdbserver, or don't compile the uClibc with debugging symbols. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot