On 18/06/2010 11:50, Davide Dozza wrote:
> I did it.
ok,
> The problem happens on tstring.cxx
>
> xub_StrLen ImplStringLen( const sal_Char* pStr )
> {
> const sal_Char* pTempStr = pStr;
> while( *pTempStr )
> ++pTempStr;
> return (xub_StrLen)(pTempStr-pStr);
> }
>
> *pTempStr is a null pointer.
>
> Davide
well, yes, that's where it crashes.
but the problem is that somebody is calling the Len() function on a null
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...)
--
"Trying to make bits uncopyable is like trying to make water not wet.
The sooner people accept this, and build business models that take
this into account, the sooner people will start making money again."
-- Bruce Schneier
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]