Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 107022

Summary: elinks segfaults, and is generally unstable
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: elinksAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: barryn, chris.ricker, p.van.egdom, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.4.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-08 13:40:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100644    
Attachments:
Description Flags
test file none

Description Bill Nottingham 2003-10-14 14:09:15 UTC
In general browsing with elinks, it
a) segfaults
b) hangs doing DNS lookups

Here's a backtrace of the segfault (from the core file; when run under gdb DNS
lookups just don't work):

(gdb) bt
#0  0x0078e2bc in _int_free () from /lib/tls/libc.so.6
#1  0x0078d28b in free () from /lib/tls/libc.so.6
#2  0x08072a58 in free_connection_data (c=0x8527d8) at sched.c:352
#3  0x08073228 in retry_connection (c=0x8187158) at sched.c:560
#4  0x08078a5e in dns_found (data=0x8187158, state=-1) at connect.c:271
#5  0x080702aa in end_dns_lookup (q=0x81a1648, res=-1) at dns.c:371
#6  0x0806fe81 in end_real_lookup (data=0x81a1648) at dns.c:223
#7  0x0807527b in select_loop (init=0x804ace0 <init>) at select.c:488
#8  0x0804b1dd in main (argc=72, argv=0x1cac1) at main.c:455
(gdb)

Comment 1 Tim Waugh 2003-10-14 14:44:41 UTC
Any particular page that causes this?

Comment 2 Bill Nottingham 2003-10-14 14:49:50 UTC
Created attachment 95162 [details]
test file

Save this, load it with links ./foo.html, and hit enter on the link. It hangs
for me, but only when running links under gnome-terminal (works fine from the
console.)

Comment 3 Tim Waugh 2003-10-14 15:18:22 UTC
Works for me. :-/

Comment 4 Chris Ricker 2003-10-14 16:58:27 UTC
In an xterm, it works

In gnome-terminal, it hangs forever on the DNS query

If I strace it in gnome-terminal, the DNS query works


Comment 5 Barry K. Nathan 2003-10-22 01:27:22 UTC
I'm seeing segfaults too. On two different computers I saw it segfault when I
tried "links http://ftp.redhat.com/pub/redhat/linux/rawhide/i386/RedHat/RPMS/"
in gnome-terminal, as my first links invocation after a fresh install. This
segfault did not happen on any links invocations after the first one after a
fresh install (of test2 on one system, test3 on the other).

I guess this isn't enough info to help, but I'm mentioning all this just in case
it is...

Comment 6 Carlos Rodrigues 2003-11-30 16:41:13 UTC
I'm also seeing elinks hanging on DNS lookups within gnome-terminal,
but in Fedora Core 1.

Comment 7 Jonathan Marc Bearak 2003-12-07 01:36:06 UTC
I've had this problem with elinks regardless of running it in
gnome-terminal, xterm, or console.  I just noticed that on 11/25
Elinks 0.4.3 was released.  I compiled it, and am no longer having any
problems.