Bugzilla – Attachment 45780 Details for
Bug 36312
Segmentation Fault in window.cxx: prioritize -headless over SAL_USE_VCLPLUGIN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
extra debugging patch
this.debug.patch (text/plain), 1.24 KB, created by
Caolán McNamara
on 2011-04-18 12:24:09 UTC
(
hide
)
Description:
extra debugging patch
Filename:
MIME Type:
Creator:
Caolán McNamara
Created:
2011-04-18 12:24:09 UTC
Size:
1.24 KB
patch
obsolete
>diff --git a/vcl/unx/source/plugadapt/salplug.cxx b/vcl/unx/source/plugadapt/salplug.cxx >index 7bebeeb..d1bf4ba 100644 >--- a/vcl/unx/source/plugadapt/salplug.cxx >+++ b/vcl/unx/source/plugadapt/salplug.cxx >@@ -215,10 +215,15 @@ static SalInstance* check_headless_plugin() > for( int i = 0; i < nParams; i++ ) > { > osl_getCommandArg( i, &aParam.pData ); >+ fprintf(stderr, "param is %s\n", rtl::OUStringToOString(aParam, RTL_TEXTENCODING_UTF8).getStr()); > if( aParam.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("-headless")) || > aParam.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("--headless")) ) > { >- return tryInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "svp" ) ) ); >+ fprintf(stderr, "trying svp\n"); >+ SalInstance *pRet = tryInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "svp" ) ) ); >+ if (!pRet) >+ fprintf(stderr, "HEADLESS FAILED\n"); >+ return pRet; > } > } > return NULL; >@@ -230,6 +235,8 @@ SalInstance *CreateSalInstance() > > static const char* pUsePlugin = getenv( "SAL_USE_VCLPLUGIN" ); > >+ fprintf(stderr, "CreateSalInstance\n"); >+ > if( !(pUsePlugin && *pUsePlugin) ) > pInst = check_headless_plugin(); > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36312
:
45720
| 45780