anyone working seriously on 1.4?

Christoph Kukulies kuku at
Mon Apr 7 03:09:19 PDT 2003

I found that mozilla 1.4b (cvs checked out yesterday) is full of
odd looking logs apperaing in the accompanying xterm. The weirdest:

### nsCacheProfilePrefObserver::Observe [topic=xpcom-shutdown data=]
nsPluginHostImpl::Observe "xpcom-shutdown"
WARNING: nsExceptionService ignoring thread destruction after shutdown, file nsExceptionService.cpp, line 189
+++ JavaScript debuging hooks removed.
Bus error (core dumped)

which happens when you close or quit mozilla. a 16MB core dump
is generated each time.

Also still unsolved is the fact that mozilla-1.[34] does not work
with ipv6 enabled in the kernel. (As Dan Rench recently found out, 
suspecting this being related to mozilla bug #68796)

This bug report contains a sample program that should reveal the bug.

I tried it out but didn't know how to interprete the results since I 
removed IPV6 from my kernel for the moment anyway.

I'm attaching the program gethost2.c (as it is attached to mozilla bug 68796)

Chris Christoph P. U. Kukulies kukulies at

/* ------------------------- gethost2.c -------------------------- */
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <errno.h>
#include <string.h>

int main(int argc, char *argv[])
    struct hostent *hent;
    char addrstr[64];
    int i;

    if (argc != 2) {
        fprintf(stderr, "Usage: %s <host>\n", argv[0]);

    hent = gethostbyname2(argv[1], AF_INET6);
    if (hent == NULL) {
        fprintf(stderr, "gethostbyname2 failed: %d\n", h_errno);
    printf("h_name = %s\n", hent->h_name);
    if (hent->h_aliases) {
        for (i = 0; hent->h_aliases[i]; i++) {
            printf("h_aliases[%d] = %s\n", i, hent->h_aliases[i]);
    if (hent->h_addrtype == AF_INET) {
        printf("h_addrtype = AF_INET\n");
    } else if (hent->h_addrtype == AF_INET6) {
        printf("h_addrtype = AF_INET6\n");
    } else {
        printf("h_addrtype = %d\n", hent->h_addrtype);
    printf("h_length = %d\n", hent->h_length);
    if (hent->h_addr_list) {
        for (i = 0; hent->h_addr_list[i]; i++) {
            printf("h_addr_list[%d] = %s\n", i,
                inet_ntop(hent->h_addrtype, hent->h_addr_list[i],
                addrstr, sizeof(addrstr)));
    return 0;

/* ---------------------  end of gethost2.c --------------------------- */

More information about the freebsd-mozilla mailing list