Re: Re: Error on svl modules

Davide Dozza <[email protected]> Fri, 18 Jun 2010 12:08:12 +0200
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
--------------enigA2F17F1ACA7FDDB153D5330A
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Michael Stahl ha scritto:
> On 18/06/2010 11:50, Davide Dozza wrote:
>> I did it.
>=20
> ok,
>=20
>> The problem happens on tstring.cxx
>>
>> xub_StrLen ImplStringLen( const sal_Char* pStr )
>> {
>> 	const sal_Char* pTempStr =3D pStr;
>> 	while( *pTempStr )
>> 		++pTempStr;
>> 	return (xub_StrLen)(pTempStr-pStr);
>> }
>>
>> *pTempStr is a null pointer.
>>
>> Davide
>=20
> well, yes, that's where it crashes.
> but the problem is that somebody is calling the Len() function on a nul=
l
> pointer.
> you need to post the stack backtrace to find out where the cause of the=

> problem is.
> to get the backtrace you need to attach the debugger somehow.
> (i don't usually work on windows, so i can't remember how that is done.=
=2E.)
>=20

I'm not an expert too but is it the call stack?
It's enough if I just cut and paste info in it?

Davide


--------------enigA2F17F1ACA7FDDB153D5330A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwbRYwACgkQIXgZqRs8KhOUpwCdHO9OFINVriwupwAOioF8PclR
CwkAn1TLg3ZJ+o5DtLdXHvDZBJ6DmYIl
=h814
-----END PGP SIGNATURE-----

--------------enigA2F17F1ACA7FDDB153D5330A--