Closed Bug 211596 Opened 22 years ago Closed 3 years ago

Hostname resolution not working with mozilla 1.4 on HP-UX 11i

Categories

(NSPR :: NSPR, defect)

HP
HP-UX
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugzilla-mozilla, Unassigned)

Details

Attachments

(1 obsolete file)

User-Agent: Mozilla/4.7 (X11; Linux) Build Identifier: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.4) Gecko/20030703 I've built Mozilla 1.4 on HP-UX 11i with aCC A.03.45. When I start mozilla, I cannot resolve any symbolic hostnames. URLs with an IP address work fine. HP-UX 11.00 works fine. Reproducible: Always Steps to Reproduce: 1. mozilla http://www.mozilla.org 2. 3. Actual Results: Error window pops up that hostname cannot be found.
OS: other → HP-UX
Changing typo in summary to say "not" instead of "now".
Summary: Hostname resolution now working with 1.4 on HP-UX 11i. → Hostname resolution not working with 1.4 on HP-UX 11i
Testing a build with --enable-ipv6=no. This will probably fix the problem.
Yep, --enable-ipv6=no fixed it. wtc@netscape.com made USE_IPV6=1 the default for HP-UX 11i in nsprpub/configure.in. I've emailed him about his change: revision 1.137 date: 2003/02/26 02:00:29; author: wtc%netscape.com; state: Exp; lines: +12 -3 Bug 193380: added IPv6 support on HP-UX 11i or later. Cleaned up the detection of HP-UX B.11.* in configure.in. Modified Files: configure.in configure _hpux.h
wtc: this looks like it is turning out to be a NSPR bug... want to take it?
Changed the product to NSPR.
Assignee: darin → wtc
Status: UNCONFIRMED → NEW
Component: Networking: HTTP → NSPR
Ever confirmed: true
Product: Browser → NSPR
QA Contact: httpqa → wtc
Version: Trunk → 4.3
Attached patch Patch for Mozilla 1.4 (obsolete) — Splinter Review
Could you apply this patch to the Mozilla 1.4 source tree and see if it works? Thanks. I'd also appreciate it if you could compile and run the following simple test on your HP-UX 11i system. #include <stdio.h> #include <fcntl.h> #include <sys/types.h> #include <sys/socket.h> int main() { int fd; fd = open("/dev/ip6", O_RDWR); if (fd == -1) { printf("no IPv6\n"); } else { printf("has IPv6\n"); } fd = socket(AF_INET6, SOCK_STREAM, 0); if (fd == -1) { printf("cannot create AF_INET6 socket\n"); } else { printf("can create AF_INET6 socket\n"); } return 0; }
Output of your test program: no IPv6 cannot create AF_INET6 socket I'll test the patch later today.
Comment on attachment 127326 [details] [diff] [review] Patch for Mozilla 1.4 Thank you. Given the output of my test program, this patch won't make a difference. So I am marking it obsolete.
Attachment #127326 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Target Milestone: --- → 4.6
Severity: normal → major
I'm not sure what's the right solution. getipnodebyname doesn't exist in all HP-UX 11i systems, and where it exists, I seem to recall it is broken. Because of this problem, we build NSPR with --disable-ipv6 on HP-UX 11i for the Netscape (now Red Hat) servers. getipnodebyname is deprecated now. NSPR uses getipnodebyname in PR_GetIPNodeByName. Mozilla no longer uses PR_GetIPNodeByName. Is it okay if I disable IPv6 support on HP-UX 11i by default? I made --enable-ipv6 the default on HP-UX 11i at the request of Sun in bug 193380.
Wan-Teh, is it correct to say that this is no longer an issue for mozilla browsers on HPUX 11i (even if they are built with IPv6 enabled) because they no longer use PR_GetIPNodeByName, and hence this is only potentially an issue for other programs that may continue to expect PR_GetIPNodeByName to work on HPUX 11i ?
Nelson, that's probably right. Mozilla switched to PR_GetAddrInfoByName around 2003-09-11 (see bug 211501), after this file was filed.
Nelson, could this be the problem you were debugging this afternoon?
QA Contact: wtchang → nspr
Hardware: Other → HP
Summary: Hostname resolution not working with 1.4 on HP-UX 11i → Hostname resolution not working with mozilla 1.4 on HP-UX 11i
The target milestone is already released. Resetting target milestone.
Target Milestone: 4.6 → ---

The bug assignee didn't login in Bugzilla in the last 7 months and this bug has severity 'major'.
:KaiE, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: wtc → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(kaie)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(kaie)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: