lupdate have a segment fault

Bug #717583 reported by Lyper Lai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Expired
Undecided
Unassigned
scribus-ng (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: libqt4-dev

I use Ubuntu 10.04.1 the libqt4-dev version is 4:4.6.2-0ubuntu5.1

I will translation the Scribus program from English to Chinese.So,I download code from its SVN.The SVN URL is :
svn://scribus.net/branches/Version135
And then I cd the Scribus directory ,type:
qmake -project
lupdate Scribus.pro

following,lupdate will display many messages,have many "cannot be called without context
" display :
/usr/include/qt4/QtCore/qstringbuilder.h:45: circular inclusion of /usr/include/qt4/QtCore/qstring.h

/usr/include/qt4/QtGui/qwmatrix.h:45: circular inclusion of /usr/include/qt4/QtGui/qmatrix.h

/usr/include/qt4/QtGui/qlayout.h:236: circular inclusion of /usr/include/qt4/QtGui/qboxlayout.h

/usr/include/qt4/QtGui/qgridlayout.h:45: circular inclusion of /usr/include/qt4/QtGui/qlayout.h

/usr/include/qt4/QtGui/qaction.h:252: circular inclusion of /usr/include/qt4/QtGui/qactiongroup.h

/home/lyper/scribus-ng-dev/Version135/Scribus/scribus/canvasmode_eyedropper.cpp:166: Class 'CanvasMode_EyeDropper' lacks Q_OBJECT macro

/home/lyper/scribus-ng-dev/Version135/Scribus/scribus/plugins/scriptplugin/cmdcolor.h:21: tr() cannot be called without context

/home/lyper/scribus-ng-dev/Version135/Scribus/scribus/plugins/scriptplugin/cmdcolor.h:35: tr() cannot be called without context

/home/lyper/scribus-ng-dev/Version135/Scribus/scribus/plugins/scriptplugin/cmdcolor.h:50: tr() cannot be called without context

/home/lyper/scribus-ng-dev/Version135/Scribus/scribus/plugins/scriptplugin/cmdcolor.h:64: tr() cannot be called without context

.....

at the end ,it report a segment fault.I can't update the translation files.My friend try to lupdate it under libqt4-dev(4.5 version).He can update translation files.his display is following:
lyl@lyl-laptop:~/dev/app_setup/scribus_git/scribus_135/Version135/Scribus$ /opt/qtsdk-2009.03/
bin/ lib/ qt/ share/
lyl@lyl-laptop:~/dev/app_setup/scribus_git/scribus_135/Version135/Scribus$ /opt/qtsdk-2009.03/qt/bin/lupdate Scribus.pro
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(194):Cannot match build//config.h, as build/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(609):Cannot match win32/vc8//resource.h, as win32/vc8/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(610):Cannot match win32/vc8//win-config.h, as win32/vc8/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1246):Cannot match build/CMakeFiles/CheckTypeSize//CMAKE_SIZEOF_UNSIGNED_SHORT.c, as build/CMakeFiles/CheckTypeSize/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1247):Cannot match build/CMakeFiles/CompilerIdC//CMakeCCompilerId.c, as build/CMakeFiles/CompilerIdC/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1248):Cannot match build/CMakeFiles/CompilerIdCXX//CMakeCXXCompilerId.cpp, as build/CMakeFiles/CompilerIdCXX/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1309):Cannot match win32/vc8/aiimport//aiimport-1.3.x.cpp, as win32/vc8/aiimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1310):Cannot match win32/vc8/barcodegenerator//barcodegenerator-1.3.x.cpp, as win32/vc8/barcodegenerator/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1311):Cannot match win32/vc8/colorwheel//colorwheel-1.3.x.cpp, as win32/vc8/colorwheel/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1312):Cannot match win32/vc8/cvgimport//cvgimport-1.3.x.cpp, as win32/vc8/cvgimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1313):Cannot match win32/vc8/fontpreview//fontpreview-1.3.x.cpp, as win32/vc8/fontpreview/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1314):Cannot match win32/vc8/gettext-csvim//gettext-csvim-1.3.x.cpp, as win32/vc8/gettext-csvim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1315):Cannot match win32/vc8/gettext-docim//gettext-docim.cpp, as win32/vc8/gettext-docim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1316):Cannot match win32/vc8/gettext-htmlim//gettext-htmlim-1.3.x.cpp, as win32/vc8/gettext-htmlim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1317):Cannot match win32/vc8/gettext-odtim//gettext-odtim-1.3.x.cpp, as win32/vc8/gettext-odtim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1318):Cannot match win32/vc8/gettext-pdbim//gettext-pdbim.cpp, as win32/vc8/gettext-pdbim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1319):Cannot match win32/vc8/gettext-sxwim//gettext-sxwim-1.3.x.cpp, as win32/vc8/gettext-sxwim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1320):Cannot match win32/vc8/gettext-textfilter//gettext-textfilter-1.3.x.cpp, as win32/vc8/gettext-textfilter/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1321):Cannot match win32/vc8/gettext-txtim//gettext-txtim-1.3.x.cpp, as win32/vc8/gettext-txtim/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1322):Cannot match win32/vc8/lenseffects//lenseffects-1.3.x.cpp, as win32/vc8/lenseffects/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1323):Cannot match win32/vc8/meshdistortion//meshdistortion-1.3.x.cpp, as win32/vc8/meshdistortion/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1324):Cannot match win32/vc8/oodrawimport//oodrawimport-1.3.x.cpp, as win32/vc8/oodrawimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1325):Cannot match win32/vc8/pathalongpath//pathalongpath-1.3.x.cpp, as win32/vc8/pathalongpath/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1326):Cannot match win32/vc8/pathconnect//pathconnect-1.3.x.cpp, as win32/vc8/pathconnect/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1327):Cannot match win32/vc8/pathcut//pathcut-1.3.x.cpp, as win32/vc8/pathcut/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1328):Cannot match win32/vc8/pathfinder//pathfinder-1.3.x.cpp, as win32/vc8/pathfinder/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1329):Cannot match win32/vc8/pathstroker//pathstroker-1.3.x.cpp, as win32/vc8/pathstroker/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1330):Cannot match win32/vc8/pctimport//pctimport-1.3.x.cpp, as win32/vc8/pctimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1331):Cannot match win32/vc8/pixmapexport//pixmapexport-1.3.x.cpp, as win32/vc8/pixmapexport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1332):Cannot match win32/vc8/psimport//psimport-1.3.x.cpp, as win32/vc8/psimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1333):Cannot match win32/vc8/saveastemplate//saveastemplate-1.3.x.cpp, as win32/vc8/saveastemplate/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1334):Cannot match win32/vc8/scribus12format//scribus12format-1.3.x.cpp, as win32/vc8/scribus12format/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1335):Cannot match win32/vc8/scribus134format//scribus134format-1.3.x.cpp, as win32/vc8/scribus134format/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1336):Cannot match win32/vc8/scribus13format//scribus13format-1.3.x.cpp, as win32/vc8/scribus13format/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1337):Cannot match win32/vc8/scriptplugin//scriptplugin-1.3.x.cpp, as win32/vc8/scriptplugin/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1338):Cannot match win32/vc8/shortwords//shortwords-1.3.x.cpp, as win32/vc8/shortwords/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1339):Cannot match win32/vc8/subdivide//subdivide-1.3.x.cpp, as win32/vc8/subdivide/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1340):Cannot match win32/vc8/svgexport//svgexport-1.3.x.cpp, as win32/vc8/svgexport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1341):Cannot match win32/vc8/svgimport//svgimport-1.3.x.cpp, as win32/vc8/svgimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1342):Cannot match win32/vc8/transform//transform-1.3.x.cpp, as win32/vc8/transform/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1343):Cannot match win32/vc8/wmfimport//wmfimport-1.3.x.cpp, as win32/vc8/wmfimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/Scribus.pro(1344):Cannot match win32/vc8/xfigimport//xfigimport-1.3.x.cpp, as win32/vc8/xfigimport/ does not exist.
/home/lyl/dev/app_setup/scribus_git/scribus_135/Version135/Scribus/scribus/canvasmode_eyedropper.h:52: Class 'CanvasMode_EyeDropper' lacks Q_OBJECT macro
Updating 'resources/translations/po/scribus.af.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.ar.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.bg.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.br.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.ca.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.cs_CZ.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.cy.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.da_DK.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.de.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.de_1901.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.de_CH.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.el.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries
    Same-text heuristic provided 1 translation(s)

Updating 'resources/translations/po/scribus.en_AU.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.en_GB.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.en_US.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.es_ES.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.et.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.eu.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.fi.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.fr.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.gl.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.hu.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.id.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.it.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.ja.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.ko.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.lt_LT.ts'...

    Found 5309 source text(s) (412 new and 4897 already existing)
    Kept 1564 obsolete entries
    Same-text heuristic provided 5 translation(s)

Updating 'resources/translations/po/scribus.nb_NO.ts'...

    Found 5309 source text(s) (226 new and 5083 already existing)
    Kept 45 obsolete entries
    Same-text heuristic provided 1 translation(s)

Updating 'resources/translations/po/scribus.nl.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.pl_PL.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.pt.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.pt_BR.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.ru.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.sa.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.sk_SK.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.sl.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.sq.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.sr.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.sv.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.th_TH.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.tr.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.uk.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.zh_CN.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Updating 'resources/translations/po/scribus.zh_TW.ts'...

    Found 5309 source text(s) (222 new and 5087 already existing)
    Kept 2 obsolete entries

Revision history for this message
Lyper Lai (lyper) wrote :

My friend use Debian unstable version .He can lupdate without the segment fault. So,I think that it is the libqt4-dev problem

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running `apport-collect 717583` and any other logs that are relevant for this particular issue.

Furthermore, Lucid reached EOL on 2013-05-09.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

I've tried recreating this bug with Trusty and was unable to, given the information you've provided. Please upgrade to the latest version and re-test. If the bug is still reproducible please do what I write above.

Do feel free to report any other bugs you may find.

Changed in qt4-x11 (Ubuntu):
status: New → Incomplete
Changed in scribus-ng (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for scribus-ng (Ubuntu) because there has been no activity for 60 days.]

Changed in scribus-ng (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qt4-x11 (Ubuntu) because there has been no activity for 60 days.]

Changed in qt4-x11 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.