🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3369

program crashes

#3369
From: cal
Date: Wed, 14 Nov 2001 15:07
33 lines
2587 bytes
Hi there,
    My program crashes with a core. and I check it with debugger. I got the
following.

Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
Core was generated by `cybAgent'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libpthread.so.1...done.
Reading symbols from
/export/home/ccheung/agent/v3/dev/bin/./libstdc++.so.3... done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from
/export/home/ccheung/agent/v3/dev/bin/./libgcc_s.so.1... done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/libthread.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0 0xff1456c8 in _smalloc () from /usr/lib/libc.so.1
(gdb) bt
#0 0xff1456c8 in _smalloc () from /usr/lib/libc.so.1
Segmentation Fault(coredump)

Anyone know what is smalloc? I'm using g++ 301 compiler. thx
Technical Details
Message-ID: <HQvI7.58567$Z2.869852@nnrp1.uunet.ca>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!news.uunet.ca!nnrp1.uunet.ca.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,424856d1b364992b,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: fc89c,424856d1b364992b,start
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 10ba33,424856d1b364992b,start
X-Google-Attributes: gid10ba33,public
X-Google-ArrivalTime: 2001-11-14 07:11:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!news.uunet.ca!nnrp1.uunet.ca.POSTED!not-for-mail
From: "cal" <ccheng@cybermation.com>
Newsgroups: comp.unix.programmer,gnu.g++.help,gnu.gcc.help
Subject: program crashes
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <HQvI7.58567$Z2.869852@nnrp1.uunet.ca>
Date: Wed, 14 Nov 2001 10:07:41 -0500
NNTP-Posting-Host: 209.167.133.22
X-Trace: nnrp1.uunet.ca 1005750695 209.167.133.22 (Wed, 14 Nov 2001 10:11:35 EST)
NNTP-Posting-Date: Wed, 14 Nov 2001 10:11:35 EST
Organization: UUNET Canada News Reader Service