Ubuntu

firefox crashes [@nsXMLHttpRequest::StreamReaderFunc]

Reported by annelid on 2006-12-17
6
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Medium
Mozilla Bugs

Bug Description

... when adding information to family trees on ancestry.co.uk

Binary package hint: firefox

I am adding information to personal family trees on www.ancestry.co.uk

It doesn't crash straight away, I can fill in maybe 3 boxes of information for an individual and then it crashes

the problem report for firefox said to attach this...

var/crash/_usr_lib_firefox_firefox-bin.1001.crash

annelid (anne-liddicott) on 2006-12-17
description: updated
Alex Latchford (alex.latchford) wrote :

Hello annelid,

Thank you for the bug report, you can add the crash report by clicking on the "Add a comment/attachment" button below the comments.

May I also ask if this is reproducible every time? Or has it only happened the once? Also has the problem occurred on any other websites?

Thank you, Alex.

Changed in firefox:
assignee: nobody → admin-yawnster
status: Unconfirmed → Needs Info

I can't get the crash report to upload or to send it in an email.

the crash is reproducible every time I use ancestry, and I've not had
any problems on other sites.

Alex Latchford wrote:
> Hello annelid,
>
> Thank you for the bug report, you can add the crash report by clicking
> on the "Add a comment/attachment" button below the comments.
>
> May I also ask if this is reproducible every time? Or has it only
> happened the once? Also has the problem occurred on any other websites?
>
> Thank you, Alex.
>
> ** Changed in: firefox (Ubuntu)
> Assignee: (unassigned) => Alex Latchford
> Status: Unconfirmed => Needs Info
>
>

Hello annelid,

Could I ask you to try a new profile? (Instructions can be found on how to do this on the link below), this will set your installation to use a blank profile, free of extensions etc. This will help us eliminate that.

If that fails to rectify the problem could I ask you to try to obtain a backtrace report? Instructions on how to do this are located here:
    https://wiki.ubuntu.com/DebuggingFirefox
This will enable us to find the root cause of the problem so it can be fixed ASAP.

Thanks again, Alex.

I renamed .mozilla to .mozilla.old and tried again. All my bookmarks etc
were lost as expected.

The problem still occurred.
Trying to add missing debug symbols gives:

anne@rattle:~$ apport-retrace -d
/var/crash/_usr_lib_firefox_firefox-bin.1001.crash
Traceback (most recent call last):
  File "/usr/bin/apport-retrace", line 189, in ?
    debug_dir = prepare_debugdir(report, options.cache_dir)
  File "/usr/bin/apport-retrace", line 147, in prepare_debugdir
    needed_deps.add((pkg, dependency_versions[pkg]))
KeyError
anne@rattle:~$ echo $?
1

I'm running ubuntu edgy-eft all up to date.

I got a backtrace attached though. Maybe it's time-sensitive? It was
harder to trigger running under gdb. Hope it helps.

Anne

Alex Latchford wrote:
> Hello annelid,
>
> Could I ask you to try a new profile? (Instructions can be found on how
> to do this on the link below), this will set your installation to use a
> blank profile, free of extensions etc. This will help us eliminate that.
>
> If that fails to rectify the problem could I ask you to try to obtain a backtrace report? Instructions on how to do this are located here:
> https://wiki.ubuntu.com/DebuggingFirefox
> This will enable us to find the root cause of the problem so it can be fixed ASAP.
>
> Thanks again, Alex.
>
>

Download full text (5.3 KiB)

I can't see what lauchpad has done with the attachment, so I'm adding it
inline this time.

GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db
library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /usr/lib/firefox/firefox-bin -a firefox
[Thread debugging using libthread_db enabled]
[New Thread -1220400240 (LWP 13278)]
[New Thread -1223697504 (LWP 13281)]
[New Thread -1233982560 (LWP 13282)]
[New Thread -1255441504 (LWP 13285)]
[New Thread -1265308768 (LWP 13288)]
[New Thread -1273701472 (LWP 13289)]
[New Thread -1282094176 (LWP 13290)]
[New Thread -1294160992 (LWP 13291)]
[New Thread -1302553696 (LWP 13292)]
[Thread -1302553696 (LWP 13292) exited]
[New Thread -1310946400 (LWP 13293)]
[Thread -1310946400 (LWP 13293) exited]
[New Thread -1310946400 (LWP 13294)]
[New Thread -1302553696 (LWP 13297)]
[New Thread -1322685536 (LWP 13298)]
[New Thread -1332741216 (LWP 13302)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220400240 (LWP 13278)]
0xb5b14089 in nsXMLHttpRequest::StreamReaderFunc (in=0xafc6d468,
     closure=0xafd49100,
     fromRawSegment=0x871109c "<?xml version=\"1.0\"
encoding=\"utf-8\"?><response><uid>00f3ab24-0001-0000-0000-", '0'
<repeats 12 times>, "</uid><tid>851430</tid><suggestions>Sudbury,
Suffolk|Sudbury, Suffolk.</suggestions><complete>true</complete></"...,
toOffset=0, count=233, writeCount=0xbfd16494)
     at nsXMLHttpRequest.cpp:1177
1177 nsXMLHttpRequest.cpp: No such file or directory.
 in nsXMLHttpRequest.cpp
(gdb) bt
#0 0xb5b14089 in nsXMLHttpRequest::StreamReaderFunc (in=0xafc6d468,
     closure=0xafd49100,
     fromRawSegment=0x871109c "<?xml version=\"1.0\"
encoding=\"utf-8\"?><response><uid>00f3ab24-0001-0000-0000-", '0'
<repeats 12 times>, "</uid><tid>851430</tid><suggestions>Sudbury,
Suffolk|Sudbury, Suffolk.</suggestions><complete>true</complete></"...,
toOffset=0, count=233, writeCount=0xbfd16494)
     at nsXMLHttpRequest.cpp:1177
#1 0xb7eca457 in nsInputStreamTee::WriteSegmentFun (in=0xafc6d468,
     closure=0xafc75540,
     fromSegment=0x871109c "<?xml version=\"1.0\"
encoding=\"utf-8\"?><response><uid>00f3ab24-0001-0000-0000-", '0'
<repeats 12 times>, "</uid><tid>851430</tid><suggestions>Sudbury,
Suffolk|Sudbury, Suffolk.</suggestions><complete>true</complete></"...,
offset=0, count=233, writeCount=0xbfd16494)
     at nsInputStreamTee.cpp:102
#2 0xb7ecee86 in nsPipeInputStream::ReadSegments (this=0xafc6d468,
     writer=0xb7eca420
<nsInputStreamTee::WriteSegmentFun(nsIInputStream*, void*, char const*,
unsigned int, unsigned int, unsigned int*)>, closure=0xafc75540,
     count=233, readCount=0xbfd16500) at nsPipe3.cpp:763
#3 0xb7eca535 in nsInputStreamTee::ReadSegments (this=0xafc75540,
     writer=0xb5b13fb0
<nsXMLHttpRequest::StreamReaderFunc(nsIInputStream*, void*, char con...

Read more...

David Farning (dfarning) on 2007-01-31
Changed in firefox:
importance: Undecided → Medium

Seems like a usable trace. Setting this to confirmed and am going to send it upstream in a minute.

Thanks, Alex.

Changed in firefox:
assignee: admin-yawnster → mozillateam
status: Needs Info → Confirmed
David Farning (dfarning) on 2007-02-24
Changed in firefox:
assignee: mozillateam → mozilla-bugs
Alexander Sack (asac) on 2007-04-14
description: updated
Thomas Hotz (thotz) on 2012-10-01
Changed in firefox (Ubuntu):
status: Confirmed → Incomplete
Thomas Hotz (thotz) on 2013-05-01
Changed in firefox (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers