Summary: | Kexi mdb import crashes when transferring data to target | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Steve Dowe <sd> |
Component: | Migration/Import/Export | Assignee: | Jarosław Staniek <staniek> |
Status: | CLOSED FIXED | ||
Severity: | crash | CC: | sd |
Priority: | NOR | ||
Version: | 2.2.0 (KOffice 2.2.0) | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Steve Dowe
2010-07-12 18:51:52 UTC
Hi, thanks for reporting! Small test database that causes the crash would help a lot. Bug https://bugs.kde.org/show_bug.cgi?id=240343 may be similar. I somewhat think we have a problem with 64bit machines. If you can, please try to import the same file on a 32bit machine using Kexi 2.2.0. Thanks for your quick response! :) Yes, I think Bug #240343 may be similar. I obtained an i686 version of the KDE spin of Fedora 13, installed as a VM. Again, ran through the same procedure and it occurs at exactly the same moment as it does on the x86_64 version. The database I'm trying to import is commercially sensitive, but I will provide some information by email to you. Many thanks. SVN commit 1151354 by staniek: Migration *support multipage (large up to 65535 bytes) memo values BUG:244420 M +8 -0 keximdb/mdbmigrate.cpp M +19 -2 mdbtools/libmdb/data.c WebSVN link: http://websvn.kde.org/?view=rev&revision=1151354 Steve, Big thanks for your test data. There appears to be pilsarticles.HTMLText memo field that contains more than 16KB of data. The above fix adds support for <=64KB of data per value. You can use the source from KDE SVN or apply these patches to your code: http://websvn.kde.org/trunk/koffice/kexi/migration/mdb/src/keximdb/mdbmigrate.cpp?r1=1089606&r2=1151354&pathrev=1151354&view=patch http://websvn.kde.org/trunk/koffice/kexi/migration/mdb/src/mdbtools/libmdb/data.c?r1=1021308&r2=1151354&pathrev=1151354&view=patch PS: I noticed that the display routines of table view is not optimized for such large text values. Optimizing this remains as a TODO. SVN commit 1172932 by staniek: Migration *backport of r1151354 (trunk): support multipage (large up to 65535 bytes) memo values for MS Access files CCBUG:244420 M +8 -0 keximdb/mdbmigrate.cpp M +19 -2 mdbtools/libmdb/data.c WebSVN link: http://websvn.kde.org/?view=rev&revision=1172932 |