[framework-issues] [Issue 108734] framework: implts_dispatc h's rethrow of uno::RuntimeException will alwa ys result in a crash

2010-05-17 Thread as
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108734





--- Additional comments from a...@openoffice.org Mon May 17 07:20:33 + 
2010 ---
... good question. Current implementation uses a non consistent error handling.
Autorecovery itself runs most the time in error land where every call can be
the last one .-) So its not an easy task to find the right strategy.

Please have a look at line 1357 (method implts_flushConfigItem())
if (nRetry = GIVE_UP_RETRY)
   throw ex; // force stacktrace to know if there exist might other reasons, why
an AutoSave can fail !!!

Here I wish to use exceptions to produce a stacktrace to see whats happen in
real. But then catch(Exception(){/*do nothing*/} is wrong.

We should ask ourself first:

a)
Will autorecovery catch ALL exceptions and ignore them because we wish
not to crash in general.

b)
Can autorecovery ignore all exceptions to get a stacktrace to see whats happen.

Currently I tend to a) ... but then we will NEVER get a stacktrace from that
code any more.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 108734] framework: implts_dispatc h's rethrow of uno::RuntimeException will alwa ys result in a crash

2010-05-14 Thread mba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108734


User mba changed the following:

What|Old value |New value

  CC|''|'mba'

 Assigned to|mba   |as





--- Additional comments from m...@openoffice.org Fri May 14 12:44:10 + 
2010 ---
Andreas, please comment on that

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 108734] framework: implts_dispatc h's rethrow of uno::RuntimeException will alwa ys result in a crash

2010-01-28 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108734
 Issue #|108734
 Summary|framework: implts_dispatch's rethrow of uno::RuntimeEx
|ception will always result in a crash
   Component|framework
 Version|DEV300m70
Platform|All
 URL|
  OS/Version|Linux
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|PATCH
Priority|P3
Subcomponent|code
 Assigned to|mba
 Reported by|cmc





--- Additional comments from c...@openoffice.org Thu Jan 28 10:50:23 + 
2010 ---
We have a stacktrace at https://bugzilla.redhat.com/attachment.cgi?id=387039
where implts_dispatch rethrows a uno::RuntimeException. No idea where the
original exception was throw from unfortunately. 

But for debugging purposes adding in an unconditional throw of a
RuntimeException there reproduces that nothing in the stack catches the
exception so the app will always abort if there was a uno::RuntimeException
throw by anything that the autorecovery stuff uses.

Is there any particular reason we rethrow a uno::RuntimeException but ignore all
other uno::Exception ?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 108734] framework: implts_dispatc h's rethrow of uno::RuntimeException will alwa ys result in a crash

2010-01-28 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108734


User cmc changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |67455)
ignore RuntimeExcep
|  |tion as well






--- Additional comments from c...@openoffice.org Thu Jan 28 10:50:51 + 
2010 ---
Created an attachment (id=67455)
ignore RuntimeException as well


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org