To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114080
                 Issue #|114080
                 Summary|Erorr in desktop::copy_recursive() (userinstall.cxx) w
                        |hen a directory should be copied which only contains a
                        | symlink
               Component|framework
                 Version|OOo 3.2.1
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|chehrlic





------- Additional comments from chehr...@openoffice.org Tue Aug 24 08:49:37 
+0000 2010 -------
While digging down a startup error on one of our machines (terminate called
after throwing an instance of 'com::sun::star::uno::RuntimeException')
I came across the copy_recursive() function which returned E_NAMETOOLONG. The
problem seems to be that my /usr/lib64/ooo3/basis3.2/presets/config contained a
symlink to a non-existant file.
I tried to reproduce it on another system and found out that it only occours
when the *first* file in the directory is an invalid symlink. So it's easy to
reproduce:

1. save your content of /usr/lib64/ooo3/basis3.2/presets/config
2. remove all files in /usr/lib64/ooo3/basis3.2/presets/config
3. create an invalid symlink inside /usr/lib64/ooo3/basis3.2/presets/config
(e.g. "ln -s /i/do/not/exist .")
4. save your ~/.ooo and remove this directory so soffice needs to recreate it
5. start soffice and wait for a crash.
6. remove /usr/lib64/ooo3/basis3.2/presets/config/exist and start soffice again
- all works fine

When debugging you'll see that copy_recursive tries to create
~/.ooo3/user/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/config/
... until the filename gets too long.


System: OpenSUSE 11.x 64Bit, OpenOffce 3.2.1, filesystem reiserfs or xfs

---------------------------------------------------------------------
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

Reply via email to