🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #4786

bug in gnu libraries?

#4786
From: David Warren
Date: Thu, 13 Feb 1997 00:00
16 lines
1084 bytes
I have run into a problem and was wondering if any of you have seen this
before:

gethostbyname() SEGV's when linked by the C++ linker.  I saw this once
before trying to use an X app remotely, but I worked around it. 
Apparently the function called vasprintf() jumps from 0x81234567 or
something to 0xbeef or something, which is WAY out of shared library
space...

I tried sethostent(1) -- no luck.  Anyone know enough about linker
functioning to have a clue?  Why only under g++?  Apparently it's a gnu
thing, works fine on Suns.
I even reinstalled the new libraries.

-David.
Technical Details
Message-ID: <3303A916.66819C76@pollux.cs.uga.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,edbe3ed390b6ee6d,start
X-Google-Attributes: gid11033e,public
From: David Warren <warren@pollux.cs.uga.edu>
Subject: bug in gnu libraries?
Date: 1997/02/13
Message-ID: <3303A916.66819C76@pollux.cs.uga.edu>
X-Deja-AN: 218617560
Content-Type: text/plain; charset=us-ascii
Organization: University of Georgia, Athens
Mime-Version: 1.0
Newsgroups: ahn.tech.linux
X-Mailer: Mozilla 3.0Gold (X11; I; Linux 2.0.0 i486)