Description of problem: segfault Version-Release number of selected component (if applicable): 0.18.1.1-12.fc17 How reproducible: Always Steps to Reproduce: 1. svn co https://forge.indepenet.net/svn/glpi/trunk glpi 2. cd glpi/plugins 3. svn co https://forge.indepenet.net/svn/ocsinventoryng/trunk ocsinventoryng 4. cd ocsinventoryng 5. Actual results: segfault Expected results: no segfault Additional info: No issue on debian
Sorry miss the command and the backtrace $ gdb xgettext (gdb) run *.php */*.php -o locales/glpi.pot -L PHP --add-comments=TRANS --exclude-file=../../locales/glpi.pot --from-code=UTF-8 --force-po --keyword=_n:1,2 --keyword=__s --keyword=__ --keyword=_e --keyword=_x:1c,2 --keyword=_ex:1c,2 --keyword=_nx:1c,2,3 Starting program: /usr/bin/xgettext *.php */*.php -o locales/glpi.pot -L PHP --add-comments=TRANS --exclude-file=../../locales/glpi.pot --from-code=UTF-8 --force-po --keyword=_n:1,2 --keyword=__s --keyword=__ --keyword=_e --keyword=_x:1c,2 --keyword=_ex:1c,2 --keyword=_nx:1c,2,3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. remember_a_message_plural (mp=mp@entry=0x0, string=0x9a2a60 "OCSNG links", context=..., context@entry=..., pos=pos@entry=0x9a3060, comment=comment@entry=0x0) at xgettext.c:2438 2438 if (mp->msgid_plural == NULL) (gdb) bt #0 remember_a_message_plural (mp=mp@entry=0x0, string=0x9a2a60 "OCSNG links", context=..., context@entry=..., pos=pos@entry=0x9a3060, comment=comment@entry=0x0) at xgettext.c:2438 #1 0x00000000004086c9 in arglist_parser_done (ap=ap@entry=0x9a2fc0, argnum=argnum@entry=3) at xgettext.c:2937 #2 0x00000000004216b9 in extract_balanced (mlp=mlp@entry=0x997ec0, delim=delim@entry=token_type_rparen, outer_context=..., context_iter=..., argparser=0x9a2fc0) at x-php.c:1481 #3 0x0000000000421744 in extract_balanced (mlp=mlp@entry=0x997ec0, delim=delim@entry=token_type_eof, outer_context=..., context_iter=..., argparser=0x99a3a0) at x-php.c:1466 #4 0x0000000000421b0a in extract_php (f=<optimized out>, real_filename=<optimized out>, logical_filename=<optimized out>, flag_table=0x6369e0, mdlp=<optimized out>) at x-php.c:1586 #5 0x00000000004063cf in extract_from_file (file_name=file_name@entry=0x997800 "inc/ocslink.class.php", extractor=..., mdlp=mdlp@entry=0x997e50) at xgettext.c:1957 #6 0x0000000000404939 in main (argc=<optimized out>, argv=<optimized out>) at xgettext.c:779
Applying the fix from debian fix this issue See https://github.com/remicollet/remirepo/commit/91ef3a0ea886ff77cd5e5a268d4671e2ca894442
Created attachment 587462 [details] 03-fix-xgettext-crash Patch from debian http://bugs.debian.org/608181
gettext-0.18.1.1-14.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gettext-0.18.1.1-14.fc17
gettext-0.18.1.1-9.1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gettext-0.18.1.1-9.1.fc16
Package gettext-0.18.1.1-9.1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gettext-0.18.1.1-9.1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8673/gettext-0.18.1.1-9.1.fc16 then log in and leave karma (feedback).
gettext-0.18.1.1-14.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
gettext-0.18.1.1-9.1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.