🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by John E. Davis Sat, 15 May 1999 00:00
Re: Slrn bug?
#48624
Author: John E. Davis
Date: Sat, 15 May 1999 00:00
18 lines
1377 bytes
On 15 May 1999 13:45:20 GMT, Bek Oberin <bekj@netizen.com.au>
wrote:
>Reliabli way to make slrn 0.9.5.5 crash, for  me:  select the
>List Groups function and press <delete> while inputting the
>newsgroup name.  Ouch.

Are you saying that pressing `L', then at the prompt pressing `new'
followed by delete or backspace will crash slrn?  I cannot reproduce
this problem.  What does slrn --version show?  I know you have the
latest version but I am interested in knowing the exact output of slrn
--version.  Also, what does 

    ldd `which slrn`

produce?
--John

Re: Slrn bug?
#48651
Author: John E. Davis
Date: Sun, 16 May 1999 00:00
12 lines
1262 bytes
On 16 May 1999 02:01:11 GMT, Bek Oberin <bekj@netizen.com.au>
wrote:
>the shell prompt every time.  It has repeated over various frobbings
>of things including a reboot, and happens every time.

All I can suggest is that you to recompile with debugging support and
run it under the debugger.  Unless I can reproduce the problem, there
is nothing that I can do.

--John

Re: Slrn bug?
#48679
Author: John E. Davis
Date: Tue, 18 May 1999 00:00
25 lines
2021 bytes
On 18 May 1999 18:48:50 GMT, Christian Kurz <shorty@jupiter.rhein-neckar.de>
wrote:
>Well I had the same problem here and figured together with John E. Davis
>the problem out. If you use egc as compiler and not gcc 2.7.x, you need
>to recompile the slang library. After recompiling it and the recompiling
>slrn everything works fine and I get reproduce the bug. So the new
>compiler has the potential for creating this problem. So recompile the
>slang libraru and slrn and your bug is fixed.

To be more explicit, you may encounter a problem if you compiled slang
with gcc 2.7.x and then linked it with slrn compiled with egcs.  This
could happen if you recently upgraded to egcs and compiled a new
version of slrn but linked to an existing version of slang.  The
reason for this dependence is unclear to me, but I suspect that that
is has something to do with the differences between the .o and .a
files that are in, e.g., /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/ and
those in /usr/lib/gcc-lib/i486-linux/2.7.2.3.

Is there anyway of knowing what particular version of gcc was used to
compile a library?

Thanks,
--John

Re: Slrn bug?
#48685
Author: Christian Kurz
Date: Tue, 18 May 1999 00:00
29 lines
2052 bytes
John E. Davis <davis@space.mit.edu> wrote:
> On 15 May 1999 13:45:20 GMT, Bek Oberin <bekj@netizen.com.au>
> wrote:
> >Reliabli way to make slrn 0.9.5.5 crash, for  me:  select the
> >List Groups function and press <delete> while inputting the
> >newsgroup name.  Ouch.

> Are you saying that pressing `L', then at the prompt pressing `new'
> followed by delete or backspace will crash slrn?  I cannot reproduce
> this problem.  What does slrn --version show?  I know you have the
> latest version but I am interested in knowing the exact output of slrn
> --version.  Also, what does 

Well I had the same problem here and figured together with John E. Davis
the problem out. If you use egc as compiler and not gcc 2.7.x, you need
to recompile the slang library. After recompiling it and the recompiling
slrn everything works fine and I get reproduce the bug. So the new
compiler has the potential for creating this problem. So recompile the
slang libraru and slrn and your bug is fixed.

Cheers
       Christian
-- 
mixed emotions:
	Watching your mother-in-law back off a cliff...
	in your brand new Mercedes.
/* http://www.rhein-neckar.de/~jupiter/                       Christian Kurz  */

Re: Slrn bug?
#48695
Author: Christian Kurz
Date: Wed, 19 May 1999 00:00
34 lines
2339 bytes
tony summerfelt <tsummerfelt1@myspleenhome.com> wrote:
> On 19 May 1999 12:58:03 GMT, Christian Kurz wrote:

> > Well, will this work for every library? I don't think that this will be
> > possible and don't know a way to find the version of gcc out, which has
> > been used for compiling it.

> i searched for `gcc' in libslang.a and found a few strings that started off:

> .....gcc/2.7.3.2/....

> coincidentally that's also the version installed on my system :)

Well, that may work in this case, but not general. If you use file on
this file and a real library you find a big difference:

|shorty@jupiter% file /usr/local/stow/slang/lib/libslang.a 
|/usr/local/stow/slang/lib/libslang.a: current ar archive
|shorty@jupiter% file /usr/local/stow/slang/lib/libslang.so.1.3.6
|/usr/local/stow/slang/lib/libslang.so.1.3.6: ELF 32-bit LSB shared object, Intel 80386, version 1, stripped

So try your methode on libraries and you will fail for sure. Just try it
on libslang.so.1.3.6 and you won't find out which compiler has been
used.

Cheers
       Christian
-- 
mixed emotions:
	Watching your mother-in-law back off a cliff...
	in your brand new Mercedes.
/* http://www.rhein-neckar.de/~jupiter/                       Christian Kurz  */

Re: Slrn bug?
#48696
Author: Christian Kurz
Date: Wed, 19 May 1999 00:00
21 lines
1611 bytes
tony summerfelt <tsummerfelt1@myspleenhome.com> wrote:
> On 18 May 1999 20:45:29 GMT, John E. Davis wrote:

> > Is there anyway of knowing what particular version of gcc was used to
> > compile a library?

> search through the binary for `gcc'? 

Well, will this work for every library? I don't think that this will be
possible and don't know a way to find the version of gcc out, which has
been used for compiling it.

Cheers
       Christian
-- 
mixed emotions:
	Watching your mother-in-law back off a cliff...
	in your brand new Mercedes.
/* http://www.rhein-neckar.de/~jupiter/                       Christian Kurz  */

Re: Slrn bug?
#48697
Author: tony summerfelt
Date: Wed, 19 May 1999 00:00
16 lines
1263 bytes
On 18 May 1999 20:45:29 GMT, John E. Davis wrote:

> Is there anyway of knowing what particular version of gcc was used to
> compile a library?

search through the binary for `gcc'? 


-- 
*--------------------------------------
|
|remove myspleen to email
|
*-----------------------

Re: Slrn bug?
#48700
Author: tony summerfelt
Date: Wed, 19 May 1999 00:00
20 lines
1579 bytes
On 19 May 1999 12:58:03 GMT, Christian Kurz wrote:

> Well, will this work for every library? I don't think that this will be
> possible and don't know a way to find the version of gcc out, which has
> been used for compiling it.

i searched for `gcc' in libslang.a and found a few strings that started off:

.....gcc/2.7.3.2/....

coincidentally that's also the version installed on my system :)

-- 
*--------------------------------------
|
|remove myspleen to email
|
*-----------------------

Re: Slrn bug?
#48712
Author: tony summerfelt
Date: Thu, 20 May 1999 00:00
20 lines
1550 bytes
On 19 May 1999 20:40:30 GMT, Christian Kurz wrote:

> > .....gcc/2.7.3.2/....

> So try your methode on libraries and you will fail for sure. Just try it
> on libslang.so.1.3.6 and you won't find out which compiler has been
> used.


found the same thing: gcc 2.7.3.2


-- 
*--------------------------------------
|
|remove myspleen to email
|
*-----------------------

Re: Slrn bug?
#48728
Author: Christian Kurz
Date: Fri, 21 May 1999 00:00
20 lines
1768 bytes
tony summerfelt <tsummerfelt1@myspleenhome.com> wrote:
> On 19 May 1999 20:40:30 GMT, Christian Kurz wrote:

> > > .....gcc/2.7.3.2/....

> > So try your methode on libraries and you will fail for sure. Just try it
> > on libslang.so.1.3.6 and you won't find out which compiler has been
> > used.

> found the same thing: gcc 2.7.3.2

Sure? And how do you search for this? Is the library stripped or not?

Cheers
       Christian
-- 
Message will arrive in the mail.  Destroy, before the FBI sees it.
/* http://www.rhein-neckar.de/~jupiter/                       Christian Kurz  */

Re: Slrn bug?
#48731
Author: tony summerfelt
Date: Fri, 21 May 1999 00:00
23 lines
1755 bytes
On 21 May 1999 12:19:35 GMT, Christian Kurz wrote:

> > found the same thing: gcc 2.7.3.2

> Sure? And how do you search for this? Is the library stripped or not?


i'm pretty sure :)

the library would be stripped if the Makefile did it (ie i didn't do it)

i  looked at the file with `most' (excellent pager from the same author :)

than within most, i looked for `gcc'

-- 
*--------------------------------------
|
|remove myspleen to email
|
*-----------------------

Re: Slrn bug?
#48735
Author: Christian Kurz
Date: Fri, 21 May 1999 00:00
30 lines
2315 bytes
[f'up2 set as this is off-topic here]

tony summerfelt <tsummerfelt1@myspleenhome.com> wrote:
> On 21 May 1999 12:19:35 GMT, Christian Kurz wrote:

> > > found the same thing: gcc 2.7.3.2

> > Sure? And how do you search for this? Is the library stripped or not?

> i'm pretty sure :)
> the library would be stripped if the Makefile did it (ie i didn't do it)

It seems like this is the cause, why this works. But if you strip the
library, there's IMHO no way to find it out. Just copy the library to
another name, strip it and then try your method and you will fail.

> i  looked at the file with `most' (excellent pager from the same author :)
> than within most, i looked for `gcc'

This will work, if your file is unstripped, but not if it's stripped and
that's the problem. 

Cheers
       Christian
-- 
Chisolm's First Corollary to Murphy's Second Law:
	When things just can't possibly get any worse, they will.
/* http://www.rhein-neckar.de/~jupiter/                       Christian Kurz  */

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads