Closed Bug 267771 Opened 20 years ago Closed 19 years ago

phishing site above causes mozilla to segfault when using a proxy-autoconfig file

Categories

(SeaMonkey :: General, defect)

SGI
IRIX
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: mozilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; IRIX IP32; en-US; rv:1.7) Gecko/20040629
Build Identifier: Mozilla/5.0 (X11; U; IRIX IP32; en-US; rv:1.7) Gecko/20040629

The URL above reliably crashes my installation of mozilla but only when using a
proxyautoconfig file (the file resides on the local filesystem if that matters).

GNU DDD 3.3.1 (mips-sgi-irix6.5), by Dorothea Lütkehaus and Andreas Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2001 Universität Passau, Germany.
(no debugging symbols found)...Core was generated by `mozilla-bin'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/freeware/mozilla/libmozjs.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/freeware/mozilla/libmozjs.so
Reading symbols from /usr/freeware/mozilla/libplds4.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/freeware/mozilla/libplds4.so
Reading symbols from /usr/freeware/mozilla/libplc4.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/freeware/mozilla/libplc4.so
Reading symbols from /usr/freeware/mozilla/libnspr4.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/freeware/mozilla/libnspr4.so
Reading symbols from /usr/lib32/libpthread.so...done.
Loaded symbols for /usr/lib32/libpthread.so
Reading symbols from /usr/lib32/libdl.so...done.
Loaded symbols for /usr/lib32/libdl.so
Reading symbols from /usr/freeware/lib32/libgtk-1.2.so.1...done.
Loaded symbols for /usr/freeware/lib32/libgtk-1.2.so.1
Reading symbols from /usr/freeware/lib32/libgdk-1.2.so.1...done.
Loaded symbols for /usr/freeware/lib32/libgdk-1.2.so.1
Reading symbols from /usr/freeware/lib32/libgmodule-1.2.so.1...done.
Loaded symbols for /usr/freeware/lib32/libgmodule-1.2.so.1
Reading symbols from /usr/freeware/lib32/libglib-1.2.so.1...done.
Loaded symbols for /usr/freeware/lib32/libglib-1.2.so.1
Reading symbols from /usr/freeware/lib32/libintl.so.3...done.
Loaded symbols for /usr/freeware/lib32/libintl.so.3
Reading symbols from /usr/lib32/libXi.so...done.
Loaded symbols for /usr/lib32/libXi.so
Reading symbols from /usr/lib32/libXext.so...done.
Loaded symbols for /usr/lib32/libXext.so
Reading symbols from /usr/lib32/libX11.so.1...done.
Loaded symbols for /usr/lib32/libX11.so.1
Reading symbols from /usr/lib32/libm.so...done.
Loaded symbols for /usr/lib32/libm.so
Reading symbols from /usr/lib32/libCsup.so...done.
Loaded symbols for /usr/lib32/libCsup.so
Reading symbols from /usr/lib32/libC.so.2...done.
Loaded symbols for /usr/lib32/libC.so.2
Reading symbols from /usr/lib32/libCio.so.1...done.
Loaded symbols for /usr/lib32/libCio.so.1
Reading symbols from /usr/lib32/libc.so.1...done.
Loaded symbols for /usr/lib32/libc.so.1
Reading symbols from /usr/freeware/mozilla/libxpcom.so...done.
Loaded symbols for /usr/freeware/mozilla/libxpcom.so
Reading symbols from /usr/freeware/mozilla/libgkgfx.so...done.
Loaded symbols for /usr/freeware/mozilla/libgkgfx.so
Reading symbols from /usr/freeware/mozilla/components/libembedcomponents.so...
done.
Loaded symbols for /usr/freeware/mozilla/components/libembedcomponents.so
Reading symbols from /usr/freeware/mozilla/components/libtypeaheadfind.so...
done.
Loaded symbols for /usr/freeware/mozilla/components/libtypeaheadfind.so
Reading symbols from /usr/freeware/mozilla/components/libpref.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libpref.so
Reading symbols from /usr/freeware/mozilla/libmozz.so...done.
Loaded symbols for /usr/freeware/mozilla/libmozz.so
Reading symbols from /usr/freeware/mozilla/components/libnecko.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libnecko.so
Reading symbols from /usr/freeware/mozilla/components/libgklayout.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libgklayout.so
Reading symbols from /usr/freeware/mozilla/components/libcaps.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libcaps.so
Reading symbols from /usr/freeware/mozilla/components/libxpconnect.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libxpconnect.so
Reading symbols from /usr/freeware/mozilla/components/libi18n.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libi18n.so
Reading symbols from /usr/freeware/mozilla/components/libimglib2.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libimglib2.so
Reading symbols from /usr/freeware/mozilla/components/librdf.so...done.
Loaded symbols for /usr/freeware/mozilla/components/librdf.so
Reading symbols from /usr/freeware/mozilla/components/libjsd.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libjsd.so
Reading symbols from /usr/freeware/mozilla/components/libnsappshell.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libnsappshell.so
Reading symbols from /usr/freeware/mozilla/libgtksuperwin.so...done.
Loaded symbols for /usr/freeware/mozilla/libgtksuperwin.so
Reading symbols from /usr/freeware/mozilla/components/libwidget_gtk.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libwidget_gtk.so
Reading symbols from /usr/freeware/mozilla/libxpcom_compat.so...done.
Loaded symbols for /usr/freeware/mozilla/libxpcom_compat.so
Reading symbols from /usr/freeware/mozilla/components/libprofile.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libprofile.so
Reading symbols from /usr/freeware/mozilla/components/libxpcom_compat_c.so...
done.
Loaded symbols for /usr/freeware/mozilla/components/libxpcom_compat_c.so
Reading symbols from /usr/freeware/mozilla/components/libchrome.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libchrome.so
Reading symbols from /usr/freeware/mozilla/components/libhtmlpars.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libhtmlpars.so
Reading symbols from /usr/freeware/mozilla/components/libuconv.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libuconv.so
Reading symbols from /usr/freeware/mozilla/components/libdocshell.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libdocshell.so
Reading symbols from /usr/freeware/mozilla/components/libjar50.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libjar50.so
Reading symbols from /usr/freeware/mozilla/components/libgfx_gtk.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libgfx_gtk.so
Reading symbols from /usr/freeware/mozilla/components/libpipboot.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libpipboot.so
Reading symbols from /usr/freeware/mozilla/libjsj.so...done.
Loaded symbols for /usr/freeware/mozilla/libjsj.so
Reading symbols from /usr/freeware/mozilla/components/liboji.so...done.
Loaded symbols for /usr/freeware/mozilla/components/liboji.so
Reading symbols from /usr/freeware/mozilla/components/libcookie.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libcookie.so
Reading symbols from /usr/freeware/mozilla/components/libwebbrwsr.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libwebbrwsr.so
Reading symbols from /usr/freeware/mozilla/components/libappcomps.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libappcomps.so
Reading symbols from /usr/freeware/mozilla/components/libmork.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libmork.so
Reading symbols from /usr/freeware/mozilla/components/libxremoteservice.so...
done.
Loaded symbols for /usr/freeware/mozilla/components/libxremoteservice.so
Reading symbols from /usr/freeware/mozilla/libgtkxtbin.so...done.
Loaded symbols for /usr/freeware/mozilla/libgtkxtbin.so
Reading symbols from /usr/lib32/libXt.so...done.
Loaded symbols for /usr/lib32/libXt.so
Reading symbols from /usr/freeware/mozilla/components/libgkplugin.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libgkplugin.so
Reading symbols from /usr/freeware/mozilla/components/libtxmgr.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libtxmgr.so
Reading symbols from /usr/freeware/mozilla/components/libeditor.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libeditor.so
Reading symbols from /usr/freeware/mozilla/libsmime3.so...done.
Loaded symbols for /usr/freeware/mozilla/libsmime3.so
Reading symbols from /usr/freeware/mozilla/libnss3.so...done.
Loaded symbols for /usr/freeware/mozilla/libnss3.so
Reading symbols from /usr/freeware/mozilla/libsoftokn3.so...done.
Loaded symbols for /usr/freeware/mozilla/libsoftokn3.so
Reading symbols from /usr/freeware/mozilla/libssl3.so...done.
Loaded symbols for /usr/freeware/mozilla/libssl3.so
Reading symbols from /usr/freeware/mozilla/components/libpipnss.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libpipnss.so
Reading symbols from /usr/freeware/mozilla/libnssckbi.so...done.
Loaded symbols for /usr/freeware/mozilla/libnssckbi.so
Reading symbols from /usr/freeware/mozilla/components/libwallet.so...done.
Loaded symbols for /usr/freeware/mozilla/components/libwallet.so
#0  0x0fa4aaa8 in _prctl ()
    at /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s:15
	in /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s
in ../../libC/lang_support/c++init.cxx
(gdb) bt
#0  0x0fa4aaa8 in _prctl () at
/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s:15
#1  0x0c08ff84 in pthread_kill () at sig.c:149
#2  0x0c090f98 in _SGIPT_libc_raise () at sig.c:660
#3  0x0fad16b4 in _raise () at raise.c:26
#4  0x5eba0d04 in FatalSignalHandler__13nsProfileLockSGi () from
/usr/freeware/mozilla/components/libprofile.so
#5  0x0c090870 in _SGIPT_libc_sigaction () from /usr/lib32/libpthread.so
(gdb) in /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s
(gdb) quit


the .pac:
function FindProxyForURL(url, host)
{

  //  return "DIRECT"; // bei massiven Proxy-Problemen

  // thp hat spezielle Lizenzen
  //  if ( isInNet( myIpAddress(), "10.0.0.0", "255.0.0.0") ) {
  //	return "DIRECT";
  //  };

    if (url.length > 4000) {
	return "DIRECT";
    };
    
    if (shExpMatch(url, "wais:*"))
    {
	return "DIRECT";
    };

    
    if ( isPlainHostName(host) ||			// lokal
         dnsDomainIs(host, "nonet") ||
	 shExpMatch(host, "*//10.*") || 		// UKLAN nach IP
	 shExpMatch(host, "10.*") || 		// UKLAN nach IP
	 shExpMatch(host, "*//localhost") || 		// localhost
	 shExpMatch(host, "*//*.nonet") || 		// nonet
	 (host == "localhost") ||
         (host == "127.0.0.1"))			// localhost
    {	
	return "DIRECT";
	//return "PROXY 10.2.5.5:3128;";
    };


// Junkbuster++

    if ( shExpMatch(host, "*adtech*") ||
         shExpMatch(host, "*.eads.*") ||
         shExpMatch(host, "*.adbucks.*") ||
         shExpMatch(host, "ads.*") ||
         shExpMatch(host, "ads.*.*") ||
         shExpMatch(host, "media.preferences.com") ||
         shExpMatch(host, "ban*") ||
         shExpMatch(host, "*adforce*") ||
         shExpMatch(host, "ad*.inet1.com") ||
         shExpMatch(host, "*.doubleclick.*") ||
         shExpMatch(host, "*.ads.*") ||
         shExpMatch(host, "*.addcom.*") ||
         shExpMatch(host, "*geocities*") ||
         shExpMatch(url, "http://adserver*/*") ||
         shExpMatch(url, "http://*/banner/*") ||
         shExpMatch(url, "http://*/banner*"))
    {
        return "PROXY 10.2.5.5:8880;"
    };

         if ( shExpMatch(url, "https://img.web.de/*")||
              shExpMatch(url, "https://as1.falkag.de/*")||
              shExpMatch(url, "http://adsremote.scripps.com/*")||
              shExpMatch(url, "http://ads.osdn.com/*")||
              shExpMatch(url, "http://media.fastclick.net/*")||
              shExpMatch(url, "https://adfarm.mediaplex.com/*")) { return "PROXY
127.0.0.1:1;" };
// Junkbuster--

    if ( shExpMatch(host, "*//*adtech*") ||
         shExpMatch(url, "http://www.ix.de/newsticker/data/ad*") ||
         shExpMatch(host, "www.dvdupgrades.ch") ||
         shExpMatch(host, "www.tagmclaren.com") ||
         shExpMatch(host, "www.tagmclarenaudio.com") ||
         shExpMatch(host, "www.tagmclaren.co.uk") ||
         shExpMatch(host, "www.futuretech.blinkenlights.nl") ||
         shExpMatch(host, "www.nekochan.net") ||
         shExpMatch(host, "slashdot.org") ||
         shExpMatch(host, "*.slashdot.org") ||
         shExpMatch(host, "www.springair.de") ||
         shExpMatch(host, "www.mm-p.de") ||
         shExpMatch(host, "*.discountdiscs.co.uk") ||
         shExpMatch(host, "*.diba.de") ||
         shExpMatch(host, "*.avforums.com") ||
         shExpMatch(host, "search-lvm.ebay.de") ||
         shExpMatch(host, "search-lvm.ebay.com") ||
         shExpMatch(host, "search-completed.ebay.de") ||
         shExpMatch(host, "search-completed.ebay.com") ||
         shExpMatch(host, "payments.ebay.de") ||
         shExpMatch(host, "payments.ebay.com") ||
         shExpMatch(host, "payment.ebay.de") ||
         shExpMatch(host, "payment.ebay.com") ||
         shExpMatch(host, "feedback.ebay.de") ||
         shExpMatch(host, "feedback.ebay.com") ||
         shExpMatch(host, "my.ebay.de") ||
         shExpMatch(host, "my.ebay.com") ||
         shExpMatch(host, "offer.ebay.de") ||
         shExpMatch(host, "offer.ebay.com") ||
         shExpMatch(host, "contact.ebay.de") ||
         shExpMatch(host, "contact.ebay.com") ||
         shExpMatch(host, "signin.ebay.de") ||
         shExpMatch(host, "signin.ebay.com") ||
         shExpMatch(host, "cgi.ebay.com") ||
         shExpMatch(host, "cgi.ebay.de") ||
         shExpMatch(host, "cgi1.ebay.com") ||
         shExpMatch(host, "cgi1.ebay.de") ||
         shExpMatch(host, "cgi3.ebay.com") ||
         shExpMatch(host, "cgi3.ebay.de") ||
         shExpMatch(host, "cgi5.ebay.de") ||
         shExpMatch(host, "cgi5.ebay.com") ||
         shExpMatch(host, "www.rosebrand.com") ||
         shExpMatch(host, "www.avsforum.com") ||
         shExpMatch(host, "www.zweitehand.de"))
    {
        return "PROXY 10.2.5.5:3128;"
    };


    if (
//	 (url.indexOf("?") >= 0) ||			// Form o.ae.
	 shExpMatch(url, "*://*:*@*")  ) 		//  Passwort
    {	
	return "PROXY 10.2.5.5:3128;";
    };

    
    if ( shExpMatch(url, "http://*")  ) 		//  http
    {
        return "PROXY 10.2.5.5:8880;"
    };

    return "PROXY 10.2.5.5:3128;"
};


Reproducible: Always
Steps to Reproduce:
paste URL in browser.
Actual Results:  
SIGSEGV

Expected Results:  
No SIGSEGV
can you get stack traces for the other threads?
I don't get much usefull information from either gdb (claims 'no threads') or
dbx. dbx seems to give up the backtrace at the first symbol from mozilla. 

(dbx) where thread all

Thread 0x10000
>  0 _prctl(0x15, 0x4, 0xffff, 0x0, 0xfffffbff, 0xffff3fff, 0xffffffff, 0x0)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s":15, 0xfa4aaa8]
   1 pthread_kill(0x0, 0xb, 0x5e7a7a80, 0x0, 0xfffffbff, 0xffff3fff, 0xffffffff,
0x0) ["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/sig.c":150,
0xc08ff7c]
   2 _SGIPT_libc_raise(0x0, 0x4, 0xffff, 0x0, 0xfffffbff, 0xffff3fff,
0xffffffff, 0x0)
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/sig.c":660, 0xc090f90]
   3 _raise(0x15, 0x4, 0xffff, 0x0, 0xfffffbff, 0xffff3fff, 0xffffffff, 0x0)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/signal/raise.c":26, 0xfad16ac]
   4 <Unknown>() [< unknown >, 0x5eba0cfc]

Thread 0x10001
>  0 __poll(0x10119c08, 0x1, 0xffffffff, 0x18000000, 0x0, 0x1, 0x0, 0x80000000)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/sys/poll.s":20, 0xfacb938]
   1 _poll(0x10119c08, 0x1, 0xffffffff, 0x18000000, 0x0, 0x1, 0x0, 0x80000000)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/sys/pollSCI.c":30, 0xfacba10]
   2 <Unknown>() [< unknown >, 0x5ecbf74]

Thread 0x10002
>  0 sched_subtract_vp(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/vp.c":1025, 0xc092f98]
   1 _SGIPT_sched_block(0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/vp.c":677, 0xc092680]
   2 pthread_cond_timedwait(0x101c1e2c, 0x200ed8, 0x101e5e68, 0x0, 0x0, 0x0,
0x0, 0x0) ["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/cv.c":576,
0xc08705c]
   3 <Unknown>() [< unknown >, 0x5ec5004]

Thread 0x10003
>  0 sched_subtract_vp(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/vp.c":1025, 0xc092f98]
   1 _SGIPT_sched_block(0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/vp.c":677, 0xc092680]
   2 pthread_cond_timedwait(0x101d18a4, 0x200ed8, 0x101fada8, 0x0, 0x0, 0x0,
0x0, 0x0) ["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/cv.c":576,
0xc08705c]
   3 <Unknown>() [< unknown >, 0x5ec5004]

Thread 0x80000003
>  0 __sigpoll(0x1021ff10, 0x1021ff28, 0x1021ff20, 0x58000000, 0x1, 0x3b9aca00,
0xb4000018, 0x0)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/signal/sigpoll.s":22, 0xfa42578]
   1 _sigpoll(0x1021ff10, 0x1021ff28, 0x1021ff20, 0x58000000, 0x1, 0x3b9aca00,
0xb4000018, 0x0)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/signal/sigpollSCI.c":31, 0xfaef65c]
   2 evt_thread(0x1021ff10, 0x1021ff28, 0x1021ff20, 0x58000000, 0x1, 0x3b9aca00,
0xb4000018, 0x0)
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/event.c":64, 0xc087928]
   3 _SGIPT_pt_start()
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/pt.c":803, 0xc08d2f4]

Thread 0x80000002
>  0 _prctl(0x15, 0x2, 0x101d1898, 0x0, 0x3, 0x12, 0xb4000018, 0x0)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s":15, 0xfa4aaa8]
   1 vp_idle()
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/vp.c":1531, 0xc093dbc]

Thread 0x80000000
>  0 _prctl(0x15, 0x2, 0x100651b8, 0x0, 0x3, 0x59, 0xb4000018, 0x3b7b0040)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s":15, 0xfa4aaa8]
   1 vp_idle()
["/xlv46/6.5.25m/work/eoe/lib/libpthread/libpthread_n32_M3/vp.c":1531, 0xc093dbc]
(dbx) 
Product: Browser → Seamonkey
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.