To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86268
                 Issue #|86268
                 Summary|desktop: deployment: missing visibility markup crash
               Component|framework
                 Version|680m247
                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 [EMAIL PROTECTED] Wed Feb 20 12:22:16 +0000 
2008 -------
desktop/source/deployment/dp_persmap.cxx
is built into the library
../../unxlng*.pro/lib/deployment680l*.uno.so

desktop/source/deployment/dp_persmap.cxx
is built into the library
../../unxlng*.pro/lib/deployment680l*.uno.so

There are throw berkeleydbproxy::DbException in db.cxx and there is
catch berkeleydbproxy::DbException in dp_persmap.cxx so DbException must be
throwable across the library boundary.

> nm -D ../../../unxlng*.pro/lib/deployment680l*.uno.so | grep Db
0000000000291a10 V _ZTIN15berkeleydbproxy11DbExceptionE
000000000007b2a0 V _ZTSN15berkeleydbproxy11DbExceptionE
but...
> nm -D ../../../unxlngx6.pro/lib/libdeploymentmisc680l*.so|grep DbException
<nothing>

so for experimental purposes to see the problem run OOo and exit to ensure a
generated cache, then chmod a-rw 
~/.openoffice.org2/user/uno_packages/cache/registry/com.sun.star.comp.deployment

and now run OOo and it should crash with an unexpected exception, i.e. we throw
a berkeleydbproxy::DbException in db.cxx but the catch
berkeleydbproxy::DbException in dp_persmap.cxx will fail to succeed.

The reason the symbols don't exist in libdeploymentmisc680l*.so is because
they have been removed with the visibility flag in misc/makefile.mk.

The simple patch to fix attached

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to