| Summary: | Lokalize freezes when translating po files | ||
|---|---|---|---|
| Product: | [Applications] lokalize | Reporter: | Łukasz Jernaś <deejay1> |
| Component: | general | Assignee: | Nick Shaforostoff <shafff> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | jakuhrlinux, mark.ziegler |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Fix freezing
po file (drupal module) |
||
|
Description
Łukasz Jernaś
2009-03-15 13:15:32 UTC
(In reply to comment #0) > #6 0xb6ac52a6 in QRegExp::indexIn(QString const&, int, QRegExp::CaretMode) > const () from /usr/lib/libQtCore.so.4 > No symbol table info available. > #7 0xb6acb798 in QString::indexOf(QRegExp const&, int) const () from > /usr/lib/libQtCore.so.4 Sounds like the problem described in: http://labs.trolltech.com/blogs/2008/11/04/910/ Created attachment 32137 [details]
Fix freezing
The patch is against the 4.2 branch, initial testing shows it fixes the problem for me.
Created attachment 32145 [details]
po file (drupal module)
Here it freezes as well. Konsole output: mark@smaug:~> lokalize lokalize(6838) TM::OpenDBJob::run: db opened 2 "/home/mark/.kde4/share/apps/lokalize/kde-de.db" lokalize(6838) LokalizeMainWindow::setupActions: finished 64 lokalize(6838) Project::load: Finishing jobs... lokalize(6838) GettextCatalog::GettextImportPlugin::load: _trailingNewLines 1 lokalize(6838) Catalog::loadFromUrl: file opened 27 lokalize(6838) KAiderView::approvedEntryDisplayed: approvedEntryDisplayed. entry: 0 approved: true lokalize(6838)/kross (kdelibs) Kross::Action::setInterpreter: interpreter not found: "python" lokalize(6838): Attempt to use QAction "widget-text-capture" with KXMLGUIFactory! lokalize(6838) main: showing LokalizeMainWindow lokalize(6838): Attempt to use QAction "showmsgiddiff_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showmergeview_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showmergeviewsecondary_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showcatalogtreeview_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showmsgctxt_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showtmqueryview_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showglossaryview_action" with KXMLGUIFactory! lokalize(6838): Attempt to use QAction "showwebqueryview_action" with KXMLGUIFactory! lokalize(6838) LokalizeMainWindow::slotSubWindowActivated: finished 9 lokalize(6838) main: LokalizeMainWindow shown lokalize(6838) TM::TMView::slotSuggestionsCame: query other DBs 3 lokalize(6838) TM::OpenDBJob::run: db opened 0 "/home/mark/.kde4/share/apps/lokalize/scripts.db" lokalize --version Qt: 4.5.0 KDE: 4.2.1 (KDE 4.2.1) "release 103" Lokalize: 0.3 I uploaded po file (drupal module) which causes freeze Same here on openSUSE with 4.2.1. Downgrading Qt to 4.4.3 fixed it for me. Possibly a Qt 4.5 issue? SVN commit 940206 by shaforo: Qt 4.5 bug workaround. It must be fixed upstream when KDE 4.3 arrives so no changes in trunk. BUG:187219 M +2 -2 syntaxhighlighter.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=940206 (In reply to comment #6) > Qt 4.5 bug workaround. It must be fixed upstream when KDE 4.3 arrives so no > changes in trunk. Actually, this is a documented behaviour change (see comment #1), so please forward port to trunk. ok, thanks for pointing this out |