To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65026
                  Issue #:|65026
                  Summary:|regcomp.bin segmentation fault while registering
                          |components.
                Component:|porting
                  Version:|OOo 2.0.2
                 Platform:|PC
                      URL:|
               OS/Version:|other
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P1
             Subcomponent:|code
              Assigned to:|mh
              Reported by:|rnagy





------- Additional comments from [EMAIL PROTECTED] Wed May  3 03:07:57 -0700 
2006 -------
Hi.

I am porting OOo to OpenBSD and i found an issue while registering components
with regcomp.bin.
ERROR: 
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/bin/regcomp
-register -br /mnt/disk1/openoffice/w-openoffice-2.0.3-d
ebug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/bin/types.rdb -br
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/bin/pyuno_
services.rdb -r
/tmp/i_198261146596541/unxobsd.pro/OpenOffice/portable/services.rdb/en-US_inprogress_1/services.rdb
-c vnd.openoffice.pymodule:pythonscript -l com.sun
.star.loader.Python 2>&1 |

Moved directory from
/tmp/i_198261146596541/unxobsd.pro/OpenOffice/portable/services.rdb/en-US_inprogress_1
to /tmp/i_198261146596541/unxobsd.pro/OpenOffice/portable/
services.rdb/en-US_witherror_1

Removing directory /tmp/i_198261146596541

***************************************************************
ERROR: Could not register all components!
in function: create_services_rdb
***************************************************************

[EMAIL PROTECTED]:.._SRC680_m165_src$ sudo gdb -core
instsetoo_native/unxobsd.pro/bin/regcomp.bin.core
solver/680/unxobsd.pro/bin/regcomp.bin 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.9"...
Core was generated by `regcomp.bin'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.6.3...done.
Loaded symbols for /usr/lib/libpthread.so.6.3
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_sal.so.3...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_sal.so.3
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_cppu.so.3...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_cppu.so.3
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_cppuhelpergcc3.so.3...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_cppuhelpergcc3.so.3
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libstlport_gcc.so.4.5...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libstlport_gcc.so.4.5
Reading symbols from /usr/lib/libstdc++.so.42.0...done.
Loaded symbols for /usr/lib/libstdc++.so.42.0
Reading symbols from /usr/lib/libm.so.2.2...done.
Loaded symbols for /usr/lib/libm.so.2.2
Symbols already loaded for /usr/lib/libpthread.so.6.3
Reading symbols from /usr/lib/libc.so.39.0...done.
Loaded symbols for /usr/lib/libc.so.39.0
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_salhelpergcc3.so.3...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libuno_salhelpergcc3.so.3
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/servicemgr.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/servicemgr.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/shlibloader.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/shlibloader.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/simplereg.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/simplereg.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/nestedreg.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/nestedreg.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/typemgr.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/typemgr.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/implreg.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/implreg.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/security.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/security.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libreg.so.3...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libreg.so.3
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libstore.so.3...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libstore.so.3
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/regtypeprov.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/regtypeprov.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/pythonloader.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/pythonloader.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libpyuno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libpyuno.so
Reading symbols from /usr/local/lib/libpython2.3.so.0.0...done.
Loaded symbols for /usr/local/lib/libpython2.3.so.0.0
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/invocation.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/invocation.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/typeconverter.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/typeconverter.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/introspection.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/introspection.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/reflection.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/reflection.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/invocadapt.uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/invocadapt.uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libgcc3_uno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/libgcc3_uno.so
Reading symbols from
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/pyuno.so...done.
Loaded symbols for
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/solver/680/unxobsd.pro/lib/pyuno.so
#0  0x03076098 in
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::set(com::sun::star::uno::XInterface*)
(this=0xcfbbcdf0, pInterface=0x832fa8dc)
    at Reference.hxx:209
209                     reinterpret_cast< XInterface * >(pInterface)->acquire();
(gdb) frame 0
#0  0x03076098 in
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::set(com::sun::star::uno::XInterface*)
(this=0xcfbbcdf0, pInterface=0x832fa8dc)
    at Reference.hxx:209
209                     reinterpret_cast< XInterface * >(pInterface)->acquire();
(gdb) l
204     template< class interface_type >
205     inline sal_Bool Reference< interface_type >::set(
206             interface_type * pInterface ) SAL_THROW( () )
207     {
208             if (pInterface)
209                     reinterpret_cast< XInterface * >(pInterface)->acquire();
210         XInterface * const pOld = _pInterface;
211             _pInterface = reinterpret_cast< XInterface * >(pInterface);
212             if (pOld)
213                     pOld->release();
(gdb) frame 1
#1  0x03076071 in
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::operator=(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
const&)
    (this=0xcfbbcdf0, [EMAIL PROTECTED]) at Reference.hxx:319
319             set( reinterpret_cast< interface_type * >( rRef._pInterface ) );
(gdb) l
314    
//__________________________________________________________________________________________________
315     template< class interface_type >
316     inline Reference< interface_type > & Reference< interface_type
>::operator = (
317             const Reference< interface_type > & rRef ) SAL_THROW( () )
318     {
319             set( reinterpret_cast< interface_type * >( rRef._pInterface ) );
320             return *this;
321     }
322     
323    
//__________________________________________________________________________________________________
(gdb) frame 2
#2  0x030720b3 in pyuno::Runtime::pyObject2Any(pyuno::PyRef const&,
pyuno::ConversionMode) const (this=0xcfbbcf20, [EMAIL PROTECTED],
mode=REJECT_UNO_ANY)
    at
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/pyuno/source/module/pyuno_runtime.cxx:837
837                         mappedObject = 
(gdb) l
832                 {
833                     Sequence< Type > interfaces = invokeGetTypes( *this, o 
);
834                     if( interfaces.getLength() )
835                     {
836                         Adapter *pAdapter = new Adapter( o , *this,
interfaces );
837                         mappedObject = 
838                             
getImpl()->cargo->xAdapterFactory->createAdapter(
839                                 pAdapter, interfaces );
840                         
841                         // keep a list of exported objects to ensure object
identity !
(gdb) frame 3
#3  0x0900c4a6 in
pyuno_loader::CreateInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
const&) ([EMAIL PROTECTED])
    at
/mnt/disk1/openoffice/w-openoffice-2.0.3-debug/ooo_SRC680_m165_src/pyuno/source/loader/pyuno_loader.cxx:243
243             runtime.pyObject2Any( pyInstance ) >>= ret;
(gdb) l
238     
239             PyRef clazz = getObjectFromLoaderModule( "Loader" );
240             PyRef args ( PyTuple_New( 1 ), SAL_NO_ACQUIRE );
241             PyTuple_SetItem( args.get(), 0 , pyCtx.getAcquired() );
242             PyRef pyInstance( PyObject_CallObject( clazz.get() , args.get()
), SAL_NO_ACQUIRE );
243             runtime.pyObject2Any( pyInstance ) >>= ret;
244         }
245         return ret;
246     }
247

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