-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
1.2
-
None
-
Ubuntu (Linux x86_64)
Created a custom installer successfully, but when running the installer binary, segmentation fault occurs when clicking "Next"
after selecting installation directory.
Compiled the installer framework from "refactor" branch.
The package structure was as follows:
com.my_company.sdk
/meta/package.xml
com.my_company.sdk.subcomponent
/meta/package.xml
/data/some_binary_file.7z
com.my_company.sdk.subcomponent.sub_subcomponent
/meta/package.xml
/data/some_binary_file_2.7z
and created the installer using the following command:
binarycreator -t ./installerbase -v -p ./packages -c ./config ./my_installer --offline-only com.my_company.sdk
The crash occurs on this line:
qinstallergui.cpp, function "ComponentSelectionPage::isComplete"
if( (*it)->isSelected() == d->m_installer->isInstaller() )
By using debug prints, I found that "(*it)" triggers the segmentation fault in this case.
But, if I change the package structure as follows:
com.my_company.sdk.subcomponent
/meta/package.xml
/data/some_binary_file.7z
com.my_company.sdk.subcomponent.sub_subcomponent
/meta/package.xml
/data/some_binary_file_2.7z
and created the installer using the following command:
binarycreator -t ./installerbase -v -p ./packages -c ./config ./my_installer --offline-only com.my_company.sdk.subcomponent
-> no crash anymore when running the installer binary?
Is the "empty" top level package causing this problem? i.e. in the first case the com.my_company.sdk did not have "/data" folder.