Issue 11658 - OOo will not run for user names containing '$' character
Summary: OOo will not run for user names containing '$' character
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: OOo 1.0.3
Assignee: hennes.rohling
QA Contact: issues@installation
URL:
Keywords:
: 11867 11991 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-02-19 21:50 UTC by Unknown
Modified: 2003-10-20 17:46 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-02-19 21:50:26 UTC
This is probably not an installation issue, but I could not find a place to
enter a bug for "Quickstart" or "All" as this affects every component of OpenOffice.

I have installed OpenOffice 1.0.2 on a Windows 2000 PC using the "Administrator"
ID.  The installation went fine.  I used the "-net" option on the setup and then
followed up with a "Workstation" setup for 2 users. The application ran without
any problems under the "Administrator" ID and the first user ID, "dwr".  When I
attempted to run Quickstart with the second user ID, "$dwr", I get a Windows
"Program Error" which generates a "Dr. Watson" error log and dump file.  Other
users here who also have a "$" at the start of their user name have seen the
same problem on different hardware with the same OS.  This error also occurs
with Star Office 6.0 with the current patches applied.
Comment 1 Olaf Felka 2003-02-20 09:55:22 UTC
We need this Fix for PP3. It a customer requirement.
Comment 2 Olaf Felka 2003-02-20 09:57:54 UTC
I've forgot to mention: The customer can't even start the office.
Comment 3 hennes.rohling 2003-02-21 12:04:19 UTC
Please don't mixup QuickStarter and OOo -> changed title.
hro@cd: Sounds like a problem with path substitution.
Comment 4 carsten.driesner 2003-02-24 14:46:13 UTC
CD: Ready to start.
Comment 5 carsten.driesner 2003-02-24 16:53:19 UTC
CD->HRO:
Please have a look at the attached call stack. It looks more like a 
rtl::bootstrap problem. The username is part of the "MyDocuments" 
path and will substituted by your code to nothing!
I saw the following path URL: "file:///Documents%20and%
Settings//Application%20Data".

Call stack:
 	ntdll.dll!77f76851() 	
 	sal3.dll!openFileImpl(_rtl_uString * strFileName=0x00000000, 
unsigned long ProfileFlags=0)  Line 1342 + 0x25	C
 	sal3.dll!acquireProfile(void * Profile=0x0003ffc0, unsigned 
char bWriteable=0)  Line 2281 + 0x15	C
 	sal3.dll!osl_readProfileString(void * Profile=0x0003ffc0, 
const char * pszSection=0x00c231c0, const char * 
pszEntry=0x00c23070, char * pszString=0x0013f210, unsigned long 
MaxLen=1024, const char * pszDefault=0x004dd790)  Line 506 + 0xb
	C
 	sal3.dll!osl::Profile::readString(const rtl::OString & 
rSection={...}, const rtl::OString & rEntry={...}, const 
rtl::OString & rDefault={...})  Line 120 + 0x35	C++
>	sal3.dll!ArgParserState::expandTerm(unsigned char 
nextLookUp=0)  Line 121 + 0xa7	C++
 	sal3.dll!expandMacros(void * handle=0x000373a8, const 
rtl::OUString & argstr={...})  Line 243	C++
 	sal3.dll!rtl_bootstrap_get_from_handle(void * 
handle=0x000373a8, _rtl_uString * pName=0x00c21658, _rtl_uString * * 
ppValue=0x0053a614, _rtl_uString * pDefault=0x00000000)  Line 396 + 
0x2b	C++
 	utl641mi.dll!utl::Bootstrap::Impl::initUserInstallationData
(rtl::Bootstrap & _rData={...})  Line 853 + 0x18	C++
 	utl641mi.dll!utl::Bootstrap::Impl::initialize()  Line 893 + 
0xe	C++
 	utl641mi.dll!utl::Bootstrap::data()  Line 194 + 0x101	C++
 	utl641mi.dll!utl::Bootstrap::locateUserInstallation
(rtl::OUString & _rURL={...})  Line 741 + 0x5	C++
 	soffice.exe!desktop::OfficeIPCThread::EnableOfficeIPCThread
()  Line 322 + 0x9	C++
 	soffice.exe!Desktop::Init()  Line 627 + 0x5	C++
 	vcl641mi.dll!0064fbca() 	
Comment 6 Olaf Felka 2003-02-27 09:14:48 UTC
*** Issue 11867 has been marked as a duplicate of this issue. ***
Comment 7 Olaf Felka 2003-03-03 15:13:34 UTC
*** Issue 11991 has been marked as a duplicate of this issue. ***
Comment 8 hennes.rohling 2003-03-05 16:07:38 UTC
Accepted
Comment 9 hennes.rohling 2003-03-06 15:02:19 UTC
osl_getFileURLFromSystemPath() encodes now encodes the '$' though 
that is not neccessary following RFCs. But this prevents from double 
path substituion during bootstrapping.

@dbo: Please test this this for OOo 1.1 Beta2 respective OOo 2.0.
Comment 10 hennes.rohling 2003-10-20 17:46:10 UTC
Closed