Bugzilla – Attachment 42393 Details for
Bug 32561
Crash when moving through database types (File > New > Database, open existing)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to get the same debug printout shown in the valgrind log
crash-debug.diff (text/plain), 3.13 KB, created by
Noel Power
on 2011-01-24 11:48:28 UTC
(
hide
)
Description:
patch to get the same debug printout shown in the valgrind log
Filename:
MIME Type:
Creator:
Noel Power
Created:
2011-01-24 11:48:28 UTC
Size:
3.13 KB
patch
obsolete
>diff --git comphelper/source/property/opropertybag.cxx comphelper/source/property/opropertybag.cxx >index 950ef90..44f50da 100644 >--- comphelper/source/property/opropertybag.cxx >+++ comphelper/source/property/opropertybag.cxx >@@ -310,12 +310,17 @@ namespace comphelper > //-------------------------------------------------------------------- > ::cppu::IPropertyArrayHelper& SAL_CALL OPropertyBag::getInfoHelper() > { >+ >+ osl_trace("0x%x getInfoHelper", this); > if ( !m_pArrayHelper.get() ) > { >+ osl_trace("\t0x%x getInfoHelper - refresh", this ); > Sequence< Property > aProperties; > m_aDynamicProperties.describeProperties( aProperties ); > m_pArrayHelper.reset( new ::cppu::OPropertyArrayHelper( aProperties ) ); >+ osl_trace("\t0x%x getInfoHelper - refreshed val 0x%x", this, m_pArrayHelper.get() ); > } >+ osl_trace("0x%x getInfoHelper - returning val 0x%x", this, m_pArrayHelper.get() ); > return *m_pArrayHelper; > > } >@@ -359,8 +364,9 @@ namespace comphelper > m_aDynamicProperties.addProperty( _rName, findFreeHandle(), _nAttributes, _rInitialValue ); > > // our property info is dirty >+ osl_trace("0x%x **** about to reset 0x%x", this, m_pArrayHelper.get() ); > m_pArrayHelper.reset(); >- >+ osl_trace("0x%x **** m_pArrayHelper 0x%x", this, m_pArrayHelper.get() ); > g.clear(); > setModified(sal_True); > } >@@ -466,6 +472,7 @@ namespace comphelper > //-------------------------------------------------------------------- > void OPropertyBag::impl_setPropertyValues_throw( const Sequence< PropertyValue >& _rProps ) > { >+ osl_trace("entering OPropertyBag::impl_setPropertyValues_throw"); > // sort (the XMultiPropertySet interface requires this) > Sequence< PropertyValue > aProperties( _rProps ); > ::std::sort( >@@ -512,10 +519,14 @@ namespace comphelper > { > // add the property > sal_Int16 nAttributes = PropertyAttribute::BOUND | PropertyAttribute::REMOVEABLE | PropertyAttribute::MAYBEDEFAULT; >+ osl_trace("0x%x before addProperty rInfo is 0x%x", this, m_pArrayHelper.get() ); > addProperty( *pName, nAttributes, pProperty->Value ); > // rPropInfo is invalid, refetch >+ osl_trace("0x%x about to refetch 0x%x", this, m_pArrayHelper.get() ); > rPropInfo = getInfoHelper(); >+ osl_trace("0x%x about to access 0x%x", this, m_pArrayHelper.get() ); > *pHandle = rPropInfo.getHandleByName( *pName ); >+ osl_trace("0x%x after access 0x%x", this, m_pArrayHelper.get() ); > continue; > } > >@@ -543,6 +554,8 @@ namespace comphelper > { > throw WrappedTargetException( ::rtl::OUString(), *this, ::cppu::getCaughtException() ); > } >+ // unless we escaped by exception >+ osl_trace("exiting OPropertyBag::impl_setPropertyValues_throw"); > } > > //--------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 32561
:
42364
|
42392
| 42393 |
42468