[Libreoffice] gcc bug on Debian packages ?

julien2412 serval2412 at yahoo.fr
Mon Nov 7 14:53:39 PST 2011


Got the trace at the precise moment I click on table button to list tables
(and it works with Valgrind) :
==20439== Invalid free() / delete / delete[]
==20439==    at 0x4024EAC: operator delete(void*) (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20439==    by 0x2227A328:
__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int)
(new_allocator.h:98)
==20439==    by 0x22279991:
std::string::_Rep::_M_destroy(std::allocator<char> const&)
(basic_string.tcc:451)
==20439==    by 0x22278F73:
std::string::_Rep::_M_dispose(std::allocator<char> const&)
(basic_string.h:244)
==20439==    by 0x22277EAB: std::basic_string<char,
std::char_traits&lt;char>, std::allocator<char> >::~basic_string() (in
/home/maryline/compile-libreoffice/libo/solver/unxlngi6/installation/opt/share/extensions/mysql-connector-ooo/mysqlc.uno.so)
==20439==    by 0x2227763E: sql::SQLString::~SQLString() (sqlstring.h:33)
==20439==    by 0x22296DB2:
connectivity::mysqlc::ODatabaseMetaData::getTables(com::sun::star::uno::Any
const&, rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Sequence<rtl::OUString> const&)
(mysqlc_databasemetadata.cxx:1774)
==20439==    by 0x22241DDB:
connectivity::mysql::OMySQLCatalog::refreshObjects(com::sun::star::uno::Sequence<rtl::OUString>
const&, std::__debug::vector<rtl::OUString, std::allocator&lt;rtl::OUString>
>&) (YCatalog.cxx:61)
==20439==    by 0x222420E2:
connectivity::mysql::OMySQLCatalog::refreshTables() (YCatalog.cxx:77)
==20439==    by 0x2190ED49: connectivity::sdbcx::OCatalog::getTables()
(VCatalog.cxx:113)
==20439==    by 0x21201813:
dbaccess::OConnection::refresh(com::sun::star::uno::Reference<com::sun::star::container::XNameAccess>
const&) (connection.cxx:591)
==20439==    by 0x21201C0C: dbaccess::OConnection::getTables()
(connection.cxx:624)
==20439==    by 0x21203099:
dbaccess::OConnection::impl_checkTableQueryNames_nothrow()
(connection.cxx:835)
==20439==    by 0x211FF459:
dbaccess::OConnection::OConnection(dbaccess::ODatabaseSource&,
com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>&,
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) (connection.cxx:386)
==20439==    by 0x21249806:
dbaccess::ODatabaseSource::buildIsolatedConnection(rtl::OUString const&,
rtl::OUString const&) (datasource.cxx:1209)
==20439==    by 0x212440D7:
dbaccess::OSharedConnectionManager::getConnection(rtl::OUString const&,
rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&,
dbaccess::ODatabaseSource*) (datasource.cxx:401)
==20439==    by 0x21249A60:
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&, unsigned char) (datasource.cxx:1232)
==20439==    by 0x212489A5:
dbaccess::ODatabaseSource::getConnection(rtl::OUString const&, rtl::OUString
const&) (datasource.cxx:1097)
==20439==    by 0x21E9F3C7:
dbaui::ODatasourceConnector::connect(com::sun::star::uno::Reference<com::sun::star::sdbc::XDataSource>
const&, dbtools::SQLExceptionInfo*) const (datasourceconnector.cxx:164)
==20439==    by 0x21E9EDD4:
dbaui::ODatasourceConnector::connect(rtl::OUString const&,
dbtools::SQLExceptionInfo*) const (datasourceconnector.cxx:108)
==20439==    by 0x21D5AE02:
dbaui::OGenericUnoController::connect(rtl::OUString const&, rtl::OUString
const&, dbtools::SQLExceptionInfo*) (genericcontroller.cxx:1075)
==20439==    by 0x21CDD81B:
dbaui::OApplicationController::ensureConnection(dbtools::SQLExceptionInfo*)
(AppControllerDnD.cxx:357)
==20439==    by 0x21CB884E:
dbaui::OApplicationController::onContainerSelect(dbaui::ElementType)
(AppController.cxx:1722)
==20439==    by 0x21D07975:
dbaui::OApplicationSwapWindow::onContainerSelected(dbaui::ElementType)
(AppSwapWindow.cxx:165)
==20439==    by 0x21D07A50:
dbaui::OApplicationSwapWindow::OnContainerSelectHdl(SvtIconChoiceCtrl*)
(AppSwapWindow.cxx:185)
==20439==    by 0x21D079F1:
dbaui::OApplicationSwapWindow::LinkStubOnContainerSelectHdl(void*, void*)
(AppSwapWindow.cxx:177)
==20439==    by 0x52DE9B4: Link::Call(void*) const (link.hxx:140)
==20439==    by 0x5345575: SvtIconChoiceCtrl::ClickIcon() (ivctrl.cxx:397)
==20439==    by 0x533D2A6:
SvxIconChoiceCtrl_Impl::CallSelectHandler(SvxIconChoiceCtrlEntry*)
(imivctl1.cxx:4042)
==20439==    by 0x5331331:
SvxIconChoiceCtrl_Impl::SelectEntry(SvxIconChoiceCtrlEntry*, unsigned char,
unsigned char, unsigned char, unsigned char) (imivctl1.cxx:488)
==20439==    by 0x53378D4:
SvxIconChoiceCtrl_Impl::SetCursor(SvxIconChoiceCtrlEntry*, unsigned char,
unsigned char) (imivctl1.cxx:2373)
==20439==    by 0x5332C1B:
SvxIconChoiceCtrl_Impl::MouseButtonDown(MouseEvent const&)
(imivctl1.cxx:962)
==20439==    by 0x5344C59: SvtIconChoiceCtrl::MouseButtonDown(MouseEvent
const&) (ivctrl.cxx:204)
==20439==    by 0x682C83D: ImplHandleMouseEvent(Window*, unsigned short,
unsigned char, long, long, unsigned long, unsigned short, unsigned short)
(winproc.cxx:805)
==20439==    by 0x6831656: ImplHandleSalMouseButtonDown(Window*,
SalMouseEvent*) (winproc.cxx:2076)
==20439==    by 0x6830B52: ImplWindowFrameProc(Window*, SalFrame*, unsigned
short, void const*) (winproc.cxx:2403)
==20439==    by 0xB04EC6A: SalFrame::CallCallback(unsigned short, void
const*) const (in
/home/maryline/compile-libreoffice/libo/solver/unxlngi6/lib/libvclplug_gtklo.so)
==20439==    by 0xB04B53F: GtkSalFrame::signalButton(_GtkWidget*,
_GdkEventButton*, void*) (gtkframe.cxx:2880)
==20439==    by 0xB1E4581: ??? (in
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==20439==    by 0xB7809F1: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.2800.6)
==20439==    by 0xB793987: ??? (in /usr/lib/libgobject-2.0.so.0.2800.6)
==20439==    by 0xB79C17A: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.2800.6)
==20439==    by 0xB79C5A1: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.2800.6)
==20439==    by 0xB31D142: ??? (in
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==20439==    by 0xB1E27CD: gtk_propagate_event (in
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==20439==    by 0xB1E2E37: gtk_main_do_event (in
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.6)
==20439==    by 0xB0266C9: _sal_gtk_event_handler_fn (gtkinst.cxx:294)
==20439==    by 0xB56BCF7: ??? (in
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.6)
==20439==    by 0xB808A2F: ??? (in /lib/libglib-2.0.so.0.2800.6)
==20439==    by 0xB808CE3: g_main_context_iteration (in
/lib/libglib-2.0.so.0.2800.6)
==20439==  Address 0x4276950 is 0 bytes inside data symbol
"_ZNSs4_Rep20_S_empty_rep_storageE"
==20439== 

I haven't took a look at it but i must go now.

Julien.

--
View this message in context: http://nabble.documentfoundation.org/gcc-bug-on-Debian-packages-tp3485058p3488535.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list