(In reply to comment #5) > Reproduced on two different machines: > - libreoffice 4.1.3.2 (Debian package): infinite loop (memory consumption)
This was with mdbtools 0.7.1-1. This also is a mdbtools bug: calling SQLGetData on column 4 (TABLE_TYPE) of SQLTables returns SQL_NO_TOTAL in StrLen_or_IndPtr, indicating that there is more data to return, but the driver does not know how much. In this case, it returned all the data, namely "SYSTEM TABLE", so it should set StrLen_or_IndPtr to the length of that (that is, 12). Cf http://msdn.microsoft.com/en-us/library/ms715441%28v=vs.85%29.aspx Neither SQL_NO_TOTAL nor zero can be returned on the last valid call to retrieve data from a column, because the application would then have no way of knowing how much of the data in the application buffer is valid. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1242355 Title: [Upstream] LibreOffice Base connection to mdb via odbc crashes on saving odb file Status in LibreOffice Productivity Suite: Won't Fix Status in “libreoffice” package in Ubuntu: New Bug description: I was trying to connect to an existing mdb (MS Access) database file using unixodbc and libreoffice-base, I've got unixodbc , undixodbc-bin and libmdbodbc1 packages installed I set the odbc as following : /etc/odbc.ini [Pippo] Description = mine database Driver = /usr/lib/x86_64-linux-gnu/odbc/libmdbodbc.so.1 Database = /home/magowiz/pippo.mdb /etc/odbcinst.ini [MDBTools] Description = MDBTools Driver Driver = /usr/lib/x86_64-linux-gnu/odbc/libmdbodbc.so.1 Setup = /usr/lib/x86_64-linux-gnu/odbc/libmdbodbc.so.1 Usage = 1 FileUsage = 1 UsageCount = 2 I use the connection wizard into libreoffice base : I can successfully test mine connection but while I'm saving the odb file the whole program crashes and close itself It follows distro and software versions : $ lsb_release -rd Description: Ubuntu 13.10 Release: 13.10 apt-cache policy libreoffice-base libreoffice-base: Installed: 1:4.1.2~rc3-0ubuntu1 Candidate: 1:4.1.2~rc3-0ubuntu1 apt-cache policy unixodbc unixodbc: Installed: 2.2.14p2-5ubuntu4 Candidate: 2.2.14p2-5ubuntu4 apt-cache policy libmdbodbc1 libmdbodbc1: Installed: 0.7-3 Candidate: 0.7-3 ProblemType: Crash DistroRelease: Ubuntu 13.10 Package: libreoffice-core 1:4.1.2~rc3-0ubuntu1 [modified: usr/lib/libreoffice/program/libcomphelper.so usr/lib/libreoffice/program/libi18nlangtag.so usr/lib/libreoffice/program/libmergedlo.so usr/lib/libreoffice/program/libspalo.so usr/lib/libreoffice/program/libucbhelper.so usr/lib/libreoffice/program/libunopkgapp.so usr/lib/libreoffice/program/oosplash usr/lib/libreoffice/program/pluginapp.bin usr/lib/libreoffice/program/soffice.bin usr/lib/libreoffice/program/spadmin.bin usr/lib/libreoffice/program/unopkg.bin usr/lib/libreoffice/program/uri-encode] ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3 Uname: Linux 3.11.0-12-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.12.5-0ubuntu2 Architecture: amd64 CrashCounter: 1 Date: Sun Oct 20 16:19:16 2013 ExecutablePath: /usr/lib/libreoffice/program/soffice.bin MarkForUpload: True ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --splash-pipe=5 SegvAnalysis: Skipped: missing required field "Disassembly" Signal: 11 SourcePackage: libreoffice Stacktrace: No symbol "__nih_abort_msg" in current context. Python Exception <class 'AttributeError'> 'dict' object has no attribute 'iteritems': Python Exception <class 'AttributeError'> 'dict' object has no attribute 'iteritems': StacktraceTop: Title: soffice.bin crashed with SIGSEGV UpgradeStatus: Upgraded to saucy on 2013-10-17 (2 days ago) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo --- ApportVersion: 2.12.5-0ubuntu2.1 Architecture: amd64 DistroRelease: Ubuntu 13.10 MarkForUpload: True NonfreeKernelModules: wl Package: libreoffice 1:4.1.3-0ubuntu1 PackageArchitecture: amd64 ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=it_IT.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7 Tags: saucy package-from-proposed Uname: Linux 3.11.0-14-generic x86_64 UpgradeStatus: Upgraded to saucy on 2013-10-17 (37 days ago) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1242355/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp