* Norbert Preining:

> On So, 25 Okt 2009, Florian Weimer wrote:
>> Could you please run Iceweasel under valgrind, after installing the
>> libsqlite3-0-dbg package?
>
> Sorry, found out by reading the iceweasel shell script.
>
> I did run
>       iceweasel --debugger valgrind
> and captured stdout and stderr into valgrind.log, attached.
>
> The lines regarding sqlite are:
> ==12075== Invalid read of size 8
> ==12075==    at 0x7943B1A: sqlite3BtreeGetMeta (sqlite3.c:44676)
> ==12075==    by 0x7981466: sqlite3VdbeExec (sqlite3.c:54817)
> ==12075==    by 0x79872E7: sqlite3_step (sqlite3.c:50531)

Not very enlightening, unfortunately.

Line 44676 is:

  *pMeta = get4byte(&pBt->pPage1->aData[36 + idx*4]);

Offset 0x70 means that the pPage1 member is zero at this point.
Obviously, this should not happen.

It's not really a smoking gun.  The next step would be to attach a
debugger and examine what SQL statement is being executed.

(It's not clear that this is an SQLite bug at this point, but
Iceweasel needs to something rather invasive to cause this particular
failure, like scribbling over random memory.)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to