[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-16 Thread pl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171


User pl changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from p...@openoffice.org Mon Mar 16 10:05:03 + 
2009 ---
ok, closing then

-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread mmeeks
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171
 Issue #|100171
 Summary|don't crash on startup ...
   Component|gsl
 Version|OOO310m5
Platform|Unknown
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|PATCH
Priority|P3
Subcomponent|code
 Assigned to|pl
 Reported by|mmeeks





--- Additional comments from mme...@openoffice.org Fri Mar 13 09:42:20 
+ 2009 ---
I was having a somewhat surreal experience trying to debug soffice.bin
having linkoo'd - and it crashing on start:

$ ./soffice.bin 

** (soffice:30645): WARNING **: unable to get gail version number
terminate called after throwing an instance of
'com::sun::star::uno::RuntimeException'

vs.

$ ./soffice.bin -splash-pipe=0

** (soffice:30654): WARNING **: unable to get gail version number
10%
20%
25%
30%
35%
40%
50%
60%
75%
80%
100%
end

Digging it down to the (almost) bitter end, when it fails - it fails
because the UCB hasn't been initialised:

Breakpoint 1, 0xb7eb6555 in __cxa_throw () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0xb7eb6555 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1  0xb708a123 in getContentBroker (bThrow=true) at
/home/opt/OpenOffice/ooo310-m4/ucbhelper/source/client/content.cxx:264
#2  0xb708bd45 in Content (this=0xbfffdfac, ru...@0xbfffdfb8, re...@0xbfffdfa8)
at /home/opt/OpenOffice/ooo310-m4/ucbhelper/source/client/content.cxx:398
#3  0xb27881ec in
OZipFileAccess::initialize(com::sun::star::uno::Sequencecom::sun::star::uno::Any
const) ()
   from /home/opt/OOInstall/program/../basis-link/program/libpackage2.so
#4  0xb7ae46e5 in ?? () from
/home/opt/OOInstall/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#5  0xb7ae48a6 in ?? () from
/home/opt/OOInstall/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#6  0xb7ae4337 in ?? () from
/home/opt/OOInstall/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#7  0xb4622495 in
stoc_smgr::OServiceManager::createInstanceWithArgumentsAndContext
(this=0x80d6808, rservicespecifi...@0xbfffe1c8, rargumen...@0xbfffe1b8, 
xconte...@0x80d6854) at
/home/opt/OpenOffice/ooo310-m4/stoc/source/servicemanager/servicemanager.cxx:1340

254 static ContentBroker* getContentBroker( bool bThrow )
255 throw ( ContentCreationException, RuntimeException )
256 {
257 ContentBroker* pBroker = ContentBroker::get();
258
259 if ( !pBroker )
260 {
261 if ( bThrow )
262 throw RuntimeException(
263 rtl::OUString::createFromAscii( No Content 
Broker! ),
264 Reference XInterface () );
(gdb) p pBroker
$2 = (ucbhelper::ContentBroker *) 0x0

So - presumably we only initialise the UCB correctly on the path with
the splash-pipe :-)

...

It turns out with the gtk+ plugin that we try to load an image for the window
icon for the splash screen [ arguably we shouldn't be even trying to do that ].
And for some reason, we do this before the UCB is initailized (these days) - and
this causes us to crash.

One way of fixing it 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: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread mmeeks
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171


User mmeeks changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |60905)
patch






--- Additional comments from mme...@openoffice.org Fri Mar 13 09:42:45 
+ 2009 ---
Created an attachment (id=60905)
patch


-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171


User sb changed the following:

What|Old value |New value

  CC|''|'sb'





--- Additional comments from s...@openoffice.org Fri Mar 13 10:16:20 + 
2009 ---
I guess this is fixed by cws/sb103/vcl/unx/source/window/salframe.cxx -c 265724
(integrated in DEV300m42)

-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread mmeeks
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171





--- Additional comments from mme...@openoffice.org Fri Mar 13 11:14:41 
+ 2009 ---
And that works with the gtk+ plugin, not just the raw X backend ?

-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread pl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171





--- Additional comments from p...@openoffice.org Fri Mar 13 15:08:46 + 
2009 ---
no the fix in salframe.cxx will not work for gtk. However looking into the
gtkframe.cxx SetIcon method in DEV300m43 I see that there also nothing gets done
in case SAL_FRAME_STYLE_INTRO; is that a satisfactory solution ? Catching the
exception wouldn't hurt either of course.

-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread mmeeks
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171





--- Additional comments from mme...@openoffice.org Fri Mar 13 16:22:07 
+ 2009 ---
Well, the strange thing is - my code has that check for STYLE_INTRO too - but
yet it still crashes ;-)

The trace is like this:

(gdb) bt
#0  0xb7eb6555 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1  0xb7088123 in getContentBroker (bThrow=true) at
/home/opt/OpenOffice/ooo310-m4/ucbhelper/source/client/content.cxx:264
#2  0xb7089d45 in Content (this=0xbfffdf5c, ru...@0xbfffdf68, re...@0xbfffdf58)
at /home/opt/OpenOffice/ooo310-m4/ucbhelper/source/client/content.cxx:398
#3  0xb27851ec in
OZipFileAccess::initialize(com::sun::star::uno::Sequencecom::sun::star::uno::Any
const) ()
   from /home/opt/OOInstall/program/../basis-link/program/libpackage2.so
#4  0xb7ae46e5 in ?? () from
/home/opt/OOInstall/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#5  0xb7ae48a6 in ?? () from
/home/opt/OOInstall/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#6  0xb7ae4337 in ?? () from
/home/opt/OOInstall/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#7  0xb461f495 in
stoc_smgr::OServiceManager::createInstanceWithArgumentsAndContext
(this=0x80d67e8, rservicespecifi...@0xbfffe178, rargumen...@0xbfffe168, 
xconte...@0x80d6834) at
/home/opt/OpenOffice/ooo310-m4/stoc/source/servicemanager/servicemanager.cxx:1340
#8  0xb461c2be in stoc_smgr::OServiceManager::createInstanceWithArguments
(this=0x80d67e8, rservicespecifi...@0xbfffe178, rargumen...@0xbfffe168)
at
/home/opt/OpenOffice/ooo310-m4/stoc/source/servicemanager/servicemanager.cxx:1396
#9  0xb7bb7881 in comphelper::createProcessComponentWithArguments(rtl::OUString
const, com::sun::star::uno::Sequencecom::sun::star::uno::Any const) ()
   from /home/opt/OOInstall/program/../basis-link/program/libcomphelp4gcc3.so
#10 0xb6c6ca7b in ImplImageTree::find (this=0x81ba9d8, pat...@0xbfffe1f4,
bitm...@0xbfffe3ac)
at /home/opt/OpenOffice/ooo310-m4/vcl/source/gdi/impimagetree.cxx:281
#11 0xb6c6d437 in ImplImageTree::loadImage (this=0x81ba9d8, na...@0xbfffe2e8,
sty...@0xbfffe2dc, bitm...@0xbfffe3ac, localized=false)
at /home/opt/OpenOffice/ooo310-m4/vcl/source/gdi/impimagetree.cxx:163
#12 0xb6c1a708 in BitmapEx (this=0xbfffe3ac, rres...@0xbfffe390) at
/home/opt/OpenOffice/ooo310-m4/vcl/source/gdi/bitmapex.cxx:111
#13 0xb4ed88d7 in GtkSalFrame::SetIcon (this=0x81c7c30, nIcon=1) at
/home/opt/OpenOffice/ooo310-m4/vcl/unx/gtk/window/gtkframe.cxx:1118
#14 0xb4edb643 in GtkSalFrame::InitCommon (this=0x81c7c30) at
/home/opt/OpenOffice/ooo310-m4/vcl/unx/gtk/window/gtkframe.cxx:630
#15 0xb4edbe74 in GtkSalFrame::Init (this=0x81c7c30, pParent=0x0, nStyle=0) at
/home/opt/OpenOffice/ooo310-m4/vcl/unx/gtk/window/gtkframe.cxx:839
#16 0xb4eddda7 in GtkSalFrame (this=0x81c7c30, pParent=0x0, nStyle=0) at
/home/opt/OpenOffice/ooo310-m4/vcl/unx/gtk/window/gtkframe.cxx:403
#17 0xb4ea4d10 in GtkInstance::CreateFrame (this=0x805a518, pParent=0x0,
nStyle=0) at /home/opt/OpenOffice/ooo310-m4/vcl/unx/gtk/app/gtkinst.cxx:190
#18 0xb6e91cb8 in Window::ImplInit (this=0x819ed90, pParent=0x0,
nStyle=8589934592, pSystemParentData=0x0)
at /home/opt/OpenOffice/ooo310-m4/vcl/source/window/window.cxx:840
#19 0xb6ddce80 in ImplBorderWindow::ImplInit (this=0x819ed90, pParent=0x0,
nStyle=8589934592, nTypeStyle=8, pSystemParentData=0x0)
at /home/opt/OpenOffice/ooo310-m4/vcl/source/window/brdwin.cxx:1887
#20 0xb6ddd004 in ImplBorderWindow (this=0x819ed90, pParent=0x0,
pSystemParentData=0x0, nStyle=8589934592, nTypeStyle=8)
at /home/opt/OpenOffice/ooo310-m4/vcl/source/window/brdwin.cxx:1922
#21 0xb6ea5a35 in WorkWindow::ImplInit (this=0x81497bc, pParent=0x0,
nStyle=8589934592, pSystemParentData=0x0)
at /home/opt/OpenOffice/ooo310-m4/vcl/source/window/wrkwin.cxx:78
#22 0xb6e077bd in IntroWindow (this=0x81497bc) at
/home/opt/OpenOffice/ooo310-m4/vcl/source/window/introwin.cxx:63
#23 0xb27ab6c0 in
desktop::SplashScreen::SplashScreen(com::sun::star::uno::Referencecom::sun::star::lang::XMultiServiceFactory
const) ()
   from /home/opt/OOInstall/program/../basis-link/program/libsplli.so
#24 0xb27ab927 in
desktop::SplashScreen::getInstance(com::sun::star::uno::Referencecom::sun::star::lang::XMultiServiceFactory
const) ()
   from /home/opt/OOInstall/program/../basis-link/program/libsplli.so

And for me at least the code in:

vcl/source/window/window.cxx (ImplInit)

does nothing to add STYLE_INTRO to nFrameStyle = it ends up as 0 I guess.

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

[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread pl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171





--- Additional comments from p...@openoffice.org Fri Mar 13 16:34:44 + 
2009 ---
hmm, lines 808,809 seem to do for me; could it be that is patched out in your 
code ?

-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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



[gsl-issues] [Issue 100171] don't crash on startup .. .

2009-03-13 Thread mmeeks
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100171


User mmeeks changed the following:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |INVALID





--- Additional comments from mme...@openoffice.org Fri Mar 13 17:14:46 
+ 2009 ---
Hah ! quite right; sorry for the noise; this is basically the patch from:

http://www.openoffice.org/issues/show_bug.cgi?id=23609

Thanks.

-
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...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


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