This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12592 - mkimxboot calls exit() on errors
Attached to Project:
Rockbox
Opened by Dominik Riebeling (bluebrother) - Sunday, 19 February 2012, 17:55 GMT+2
Last edited by Bertrik Sikken (bertrik) - Sunday, 15 April 2012, 15:46 GMT+2
Opened by Dominik Riebeling (bluebrother) - Sunday, 19 February 2012, 17:55 GMT+2
Last edited by Bertrik Sikken (bertrik) - Sunday, 15 April 2012, 15:46 GMT+2
|
Detailsmkimxboot / imxtools use exit() in case of an error. This will cause Rockbox Utility to (unexpectedly) terminate since the OS will terminate the application, while a user will expect some response from the UI.
imxtools must not call exit(), instead it must provide the error information to the caller. |
This task depends upon
Closed by Bertrik Sikken (bertrik)
Sunday, 15 April 2012, 15:46 GMT+2
Reason for closing: Fixed
Additional comments about closing: Should be fixed now, see last comment
Sunday, 15 April 2012, 15:46 GMT+2
Reason for closing: Fixed
Additional comments about closing: Should be fixed now, see last comment
imxtools: remove most calls to bug/bugp from core library.
It should not exit() anymore on error except on malloc failure.
Resource leaks on errors (especially I/O) are quite likely though.