bugCompact Disc Input and Control Library - Bugs: bug #35747, Completion of error handling


bug #35747: Completion of error handling

Submitted by:  Markus Elfring <elfring>
Submitted on:  Wed Mar 7 17:33:27 2012  
Category: APISeverity: 1 - Low
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sun Mar 11 11:38:57 2012, comment #10:

I would prefer the acceptance clarification before the transformation of an agreement into source code.

Markus Elfring <elfring>
Sun Mar 11 11:31:10 2012, comment #9:

Clone the code, make the changes would like to see, and then let's discuss.

Rocky Bernstein <rocky>
Project Administrator
Sun Mar 11 11:05:14 2012, comment #8:

I guess that the general acceptance needs to be clarified a bit more here for the adoption of improved techniques.

  • Your CDIO library uses only the C programming language so far. It would be nice if C++ exceptions can be applied in function implementations eventually.
  • The affected source files can be fixed manually. But I would prefer to encapsulate error handling as an aspect which will be automatically weaved into the target source code by the evolving tools.
Markus Elfring <elfring>
Sun Mar 11 10:44:48 2012, comment #7:

I am glad to hear that some of your suggestions somewhere have been used. But you really didn't answer my question.

I too have made numerous suggestions to projects which were used. It's nice when that happens. However more often you will find that if you want your ideas adopted, you'll have to involve yourself more and put forth the effort the see things through.

Rocky Bernstein <rocky>
Project Administrator
Sun Mar 11 10:30:37 2012, comment #6:

I checked the acceptance for the mentioned techniques with a couple of other free software developers.
A few of my suggestions had an effect like it happened for the tool "AspectC++".

Markus Elfring <elfring>
Sat Mar 10 23:13:16 2012, comment #5:

Impossible to say in the abstract. Is there an open-source project you have worked on to show as an example?

Rocky Bernstein <rocky>
Project Administrator
Sat Mar 10 21:45:01 2012, comment #4:

How are the chances to integrate any of the suggested means into the build infrastructure for your software?

Markus Elfring <elfring>
Sat Mar 10 20:30:29 2012, comment #3:

The direction libcdio takes is strongly influenced by the interest in and involvement of the individuals such as your self.

libcdio is an open-source project maintained in a distributed version control system. As such, I encourage you to "clone" the project and those changes that you find beneficial. Most likely, if these changes are deemed good by the community, they will be enthusiastically adopted. And where there is a question or concern, that would probably be discussed openly, probably on the libcdio development mailing list.

Rocky Bernstein <rocky>
Project Administrator
Sat Mar 10 19:00:46 2012, comment #2:

Would you like to reduce the efforts for error code checking by an exception class hierarchy?

How do you think about to apply aspect-oriented software development for this use case?

Markus Elfring <elfring>
Wed Mar 7 18:29:46 2012, comment #1:

Submit a patch for this. Thanks.

Rocky Bernstein <rocky>
Project Administrator
Wed Mar 7 17:33:27 2012, original submission:

I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.

Would you like to add more error handling for return values from functions like the following?

Markus Elfring <elfring>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rocky (Posted a comment)
  • -unavailable- added by elfring (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Feb 16 08:51:17 2013rockyOpen/ClosedOpen=>Closed
    Sat Feb 16 08:51:00 2013rockyStatusPostponed=>Invalid
    Sun Mar 11 10:44:48 2012rockySeverity5 - Average=>1 - Low

    Back to the top

    Powered by Savane 3.1-cleanup1