Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37413

rcc fails with segfault if HOME environment variable is not set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.8.4
    • Build tools: rcc
    • None

    Description

      rcc tool ends with segmentation fault even on '-help' command if HOME environment variable is not set:

      (raring)root# unset HOME
      (raring)root# rcc -help
      Segmentation fault
      (raring)root# export HOME=/invalid
      (raring)root# rcc -help
      Qt resource compiler
      Usage: /usr/lib/i386-linux-gnu/qt4/bin/rcc  [options] <inputs>
      
      Options:
        -o file              write output to file rather than stdout
        -name name           create an external initialization function with name
        -threshold level     threshold to consider compressing files
        -compress level      compress input files by level
        -root path           prefix resource access path with root path
        -no-compress         disable all compression
        -binary              output a binary file for use as a dynamic resource
        -namespace           turn off namespace macros
        -project             Output a resource file containing all
                             files from the current directory
        -version             display version
        -help                display this information
      (raring)root:# rcc -version
      Qt Resource Compiler version 4.8.4
      (raring)root:#
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            qba Jakub Kotur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes