[Libreoffice] gcc bug on Debian packages ?
julien2412
serval2412 at yahoo.fr
Sun Nov 6 11:04:20 PST 2011
Hello,
To try to reproduce fdo#42612, I added the two last lines in my
autogen.lastrun (see end of the post) then I made a make clean && make
check today after a git pull update on master branch. I compiled OK in debug
mode with symbols.
I can connect to a local Mysql 5.1 database with "Connect directly" during
the test connection works.
But each time I want to list the tables from database, i've got a crash (no
specific errors in console), so I runned it on gdb and here's what I got :
Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7bfe911 in *__GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb7c01d42 in *__GI_abort () at abort.c:92
#3 0xb7c3eaeb in malloc_printerr (action=2, str=0x6 <Address 0x6 out of
bounds>, ptr=0xb7e72950) at malloc.c:6288
#4 0xb7c43446 in *__GI___libc_free (mem=0x6) at malloc.c:3699
#5 0xb7e3cabf in operator delete(void*) ()
from
/home/maryline/compile-libreoffice/libo/solver/unxlngi6/installation/opt/program/../ure-link/lib/libstdc++.so.6
#6 0x7b581329 in __gnu_cxx::new_allocator<char>::deallocate
(this=0xbfffd14b, __p=0xb7e72950 "")
at /usr/include/c++/4.6/ext/new_allocator.h:98
#7 0x7b580992 in std::string::_Rep::_M_destroy (this=0xb7e72950, __a=...)
at /usr/include/c++/4.6/bits/basic_string.tcc:451
#8 0x7b57ff74 in std::string::_Rep::_M_dispose (this=0xb7e72950, __a=...)
at /usr/include/c++/4.6/bits/basic_string.h:244
#9 0x7b57eeac in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string (this=0xbfffd22c,
__in_chrg=<optimized out>) at
/usr/include/c++/4.6/bits/basic_string.h:534
#10 0x7b57e63f in sql::SQLString::~SQLString (this=0xbfffd22c,
__in_chrg=<optimized out>)
at
/home/maryline/compile-libreoffice/libo/solver/unxlngi6/inc/mysqlcppconn/cppconn/sqlstring.h:33
#11 0x7b59ddb3 in connectivity::mysqlc::ODatabaseMetaData::getTables
(this=0x8ad0fc8, catalog=empty uno::Any, schemaPattern="%",
tableNamePattern="%", types=uno::Sequence of length 3 = {...})
at
/home/maryline/compile-libreoffice/libo/mysqlc/source/mysqlc_databasemetadata.cxx:1774
#12 0x7b5fbddc in connectivity::mysql::OMySQLCatalog::refreshObjects
(this=0x941af68, _sKindOfObject=uno::Sequence of length 3 = {...},
_rNames=...) at
/home/maryline/compile-libreoffice/libo/connectivity/source/drivers/mysql/YCatalog.cxx:61
#13 0x7b5fc0e3 in connectivity::mysql::OMySQLCatalog::refreshTables
(this=0x941af68)
at
/home/maryline/compile-libreoffice/libo/connectivity/source/drivers/mysql/YCatalog.cxx:77
#14 0x7c7e4d4a in connectivity::sdbcx::OCatalog::getTables (this=0x941af68)
at
/home/maryline/compile-libreoffice/libo/connectivity/source/sdbcx/VCatalog.cxx:113
#15 0x7cc34814 in dbaccess::OConnection::refresh (this=0x8ad7ca8,
_rToBeRefreshed=...)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/connection.cxx:591
#16 0x7cc34c0d in dbaccess::OConnection::getTables (this=0x8ad7ca8)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/connection.cxx:624
#17 0x7cc3609a in dbaccess::OConnection::impl_checkTableQueryNames_nothrow
(this=0x8ad7ca8)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/connection.cxx:835
#18 0x7cc3245a in dbaccess::OConnection::OConnection (this=0x8ad7ca8,
_rDB=..., _rxMaster=..., _rxORB=...)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/connection.cxx:386
#19 0x7cc7c807 in dbaccess::ODatabaseSource::buildIsolatedConnection
(this=0x93163a0, user="root", password="serval,06")
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/datasource.cxx:1209
#20 0x7cc770d8 in dbaccess::OSharedConnectionManager::getConnection
(this=0x93d3d30, url="sdbc:mysql:mysqlc:localhost:3306/testDB",
user="root", password="serval,06", _aInfo=uno::Sequence of length 58 =
{...}, _pDataSource=0x93163a0)
---Type <return> to continue, or q <return> to quit---
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/datasource.cxx:401
#21 0x7cc7ca61 in dbaccess::ODatabaseSource::getConnection (this=0x93163a0,
user="root", password="serval,06", _bIsolated=0 '\000')
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/datasource.cxx:1232
#22 0x7cc7c081 in dbaccess::ODatabaseSource::connectWithCompletion
(this=0x93163a0, _rxHandler=..., _bIsolated=0 '\000')
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/datasource.cxx:1183
#23 0x7cc7b967 in dbaccess::ODatabaseSource::connectWithCompletion
(this=0x93163a0, _rxHandler=...)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/core/dataaccess/datasource.cxx:1091
#24 0x7c390333 in dbaui::ODatasourceConnector::connect (this=0xbfffddcc,
_xDataSource=..., _pErrorInfo=0x0)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/misc/datasourceconnector.cxx:159
#25 0x7c38fdd5 in dbaui::ODatasourceConnector::connect (this=0xbfffddcc,
_rDataSourceName="file:///home/maryline/Bureau/bug/37529/testjul.odb",
_pErrorInfo=0x0)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/misc/datasourceconnector.cxx:108
#26 0x7c24be03 in dbaui::OGenericUnoController::connect (this=0x91e6f28,
_rDataSourceName="file:///home/maryline/Bureau/bug/37529/testjul.odb",
_rContextInformation="The connection to the data source \"testjul\"
could not be established.", _pErrorInfo=0x0)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/browser/genericcontroller.cxx:1075
#27 0x7c1ce81c in dbaui::OApplicationController::ensureConnection
(this=0x91e6f28, _pErrorInfo=0x0)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/app/AppControllerDnD.cxx:357
#28 0x7c1a984f in dbaui::OApplicationController::onContainerSelect
(this=0x91e6f28, _eType=dbaui::E_TABLE)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/app/AppController.cxx:1722
#29 0x7c1f8976 in dbaui::OApplicationSwapWindow::onContainerSelected
(this=0x92988a0, _eType=dbaui::E_TABLE)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/app/AppSwapWindow.cxx:165
#30 0x7c1f8a51 in dbaui::OApplicationSwapWindow::OnContainerSelectHdl
(this=0x92988a0, _pControl=0x929899c)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/app/AppSwapWindow.cxx:185
#31 0x7c1f89f2 in
dbaui::OApplicationSwapWindow::LinkStubOnContainerSelectHdl
(pThis=0x92988a0, pCaller=0x929899c)
at
/home/maryline/compile-libreoffice/libo/dbaccess/source/ui/app/AppSwapWindow.cxx:177
#32 0xb6a59a85 in Link::Call (this=0x9298aac, pCaller=0x929899c)
at
/home/maryline/compile-libreoffice/libo/solver/unxlngi6/inc/tools/link.hxx:140
#33 0xb6ac0656 in SvtIconChoiceCtrl::ClickIcon (this=0x929899c)
at
/home/maryline/compile-libreoffice/libo/svtools/source/contnr/ivctrl.cxx:397
#34 0xb6ab8387 in SvxIconChoiceCtrl_Impl::CallSelectHandler (this=0x91e1438)
at
/home/maryline/compile-libreoffice/libo/svtools/source/contnr/imivctl1.cxx:4042
#35 0xb6aac412 in SvxIconChoiceCtrl_Impl::SelectEntry (this=0x91e1438,
pEntry=0x92a5c70, bSelect=1 '\001', bCallHdl=1 '\001',
bAdd=0 '\000', bSyncPaint=0 '\000') at
/home/maryline/compile-libreoffice/libo/svtools/source/contnr/imivctl1.cxx:488
#36 0xb6ab29b5 in SvxIconChoiceCtrl_Impl::SetCursor (this=0x91e1438,
pEntry=0x92a5c70, bSyncSingleSelection=1 '\001',
bShowFocusAsync=0 '\000') at
/home/maryline/compile-libreoffice/libo/svtools/source/contnr/imivctl1.cxx:2373
---Type <return> to continue, or q <return> to quit---
#37 0xb6aadcfc in SvxIconChoiceCtrl_Impl::MouseButtonDown (this=0x91e1438,
rMEvt=...)
at
/home/maryline/compile-libreoffice/libo/svtools/source/contnr/imivctl1.cxx:962
#38 0xb6abfd3a in SvtIconChoiceCtrl::MouseButtonDown (this=0x929899c,
rMEvt=...)
at
/home/maryline/compile-libreoffice/libo/svtools/source/contnr/ivctrl.cxx:204
#39 0xb5b7e622 in ImplHandleMouseEvent (pWindow=0x92c2960, nSVEvent=1,
bMouseLeave=0 '\000', nX=70, nY=152, nMsgTime=41614815, nCode=1,
nMode=3) at
/home/maryline/compile-libreoffice/libo/vcl/source/window/winproc.cxx:805
#40 0xb5b8343b in ImplHandleSalMouseButtonDown (pWindow=0x92c2960,
pEvent=0xbfffe5dc)
at
/home/maryline/compile-libreoffice/libo/vcl/source/window/winproc.cxx:2076
#41 0xb5b82937 in ImplWindowFrameProc (pWindow=0x92c2960, nEvent=3,
pEvent=0xbfffe5dc)
at
/home/maryline/compile-libreoffice/libo/vcl/source/window/winproc.cxx:2403
#42 0xb1c6aad3 in SalFrame::CallCallback (this=0x92c1828, nEvent=3,
pEvent=0xbfffe5dc)
at /home/maryline/compile-libreoffice/libo/vcl/inc/salframe.hxx:294
#43 0xb1c673a8 in GtkSalFrame::signalButton (pEvent=0x93c8f38,
frame=0x92c1828)
at
/home/maryline/compile-libreoffice/libo/vcl/unx/gtk/window/gtkframe.cxx:2877
#44 0xb18a4582 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#45 0xb14979f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#46 0xb14aa988 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb14b317b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#48 0xb14b35a2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#49 0xb19dd143 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#50 0xb18a27ce in gtk_propagate_event () from
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#51 0xb18a2e38 in gtk_main_do_event () from
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#52 0xb1c4253a in _sal_gtk_event_handler_fn (pEvent=0x93c8f38,
data=0x80f5650)
at
/home/maryline/compile-libreoffice/libo/vcl/unx/gtk/app/gtkinst.cxx:294
#53 0xb170bcf8 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#54 0xb13e6252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0xb13e6a30 in ?? () from /lib/libglib-2.0.so.0
#56 0xb13e6ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0xb1c3f71d in GtkData::Yield (this=0x80f60c0, bWait=true,
bHandleAllCurrentEvents=false)
at
/home/maryline/compile-libreoffice/libo/vcl/unx/gtk/app/gtkdata.cxx:602
#58 0xb1c4301b in GtkInstance::Yield (this=0x80f5650, bWait=true,
bHandleAllCurrentEvents=false)
at
/home/maryline/compile-libreoffice/libo/vcl/unx/gtk/app/gtkinst.cxx:578
#59 0xb57566c6 in ImplYield (i_bWait=true, i_bAllEvents=false) at
/home/maryline/compile-libreoffice/libo/vcl/source/app/svapp.cxx:459
#60 0xb5752eca in Application::Yield (i_bAllEvents=false) at
/home/maryline/compile-libreoffice/libo/vcl/source/app/svapp.cxx:493
#61 0xb5752e5f in Application::Execute () at
/home/maryline/compile-libreoffice/libo/vcl/source/app/svapp.cxx:436
#62 0xb7eb45f3 in desktop::Desktop::Main (this=0xbfffefd0) at
/home/maryline/compile-libreoffice/libo/desktop/source/app/app.cxx:1915
---Type <return> to continue, or q <return> to quit---
#63 0xb575d910 in ImplSVMain () at
/home/maryline/compile-libreoffice/libo/vcl/source/app/svmain.cxx:181
#64 0xb575da48 in SVMain () at
/home/maryline/compile-libreoffice/libo/vcl/source/app/svmain.cxx:218
#65 0xb7ee73b4 in soffice_main () at
/home/maryline/compile-libreoffice/libo/desktop/source/app/sofficemain.cxx:69
#66 0x080485e9 in sal_main () at
/home/maryline/compile-libreoffice/libo/desktop/source/app/main.c:34
#67 0x080485c0 in main (argc=1, argv=0xbffff104) at
/home/maryline/compile-libreoffice/libo/desktop/source/app/main.c:33
(gdb)
For information I can list the tables on 3.4.3 (Debian packages).
I'm on a Debian Wheezy (gcc (Debian 4.6.1-15) 4.6.1) pc x86-32, here's my
autogen.lastrun :
--enable-symbols
--enable-ext-barcode
--enable-ext-diagram
--enable-ext-google-docs
--enable-ext-hunart
--enable-ext-lightproof
--enable-ext-nlpsolver
--enable-ext-ct2n
--enable-ext-numbertext
--enable-ext-oooblogger
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-presenter-minimizer
--enable-ext-report-builder
--enable-ext-scripting-beanshell
--enable-ext-scripting-javascript
--enable-ext-typo
--enable-ext-validator
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-dbus
--enable-graphite
--enable-evolution2
--enable-werror
--enable-debug
--enable-dbgutil
--enable-crashdump
--enable-kde4
--enable-dependency-tracking
--enable-ext-mysql-connector
--with-system-mysql
Info about local mysql server :
server version : 5.1.58-1
protocol version : 10
User : root at localhost
Character encoding MySQL: UTF-8 Unicode (utf8)
I haven't filed a bug for the moment, cause I wonder if it could be a gcc
pb.
Any idea ?
Julien.
--
View this message in context: http://nabble.documentfoundation.org/gcc-bug-on-Debian-packages-tp3485058p3485058.html
Sent from the Dev mailing list archive at Nabble.com.
More information about the LibreOffice
mailing list