[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Experimental 32-bit windows libvirt installer



2010/11/16 Richard W.M. Jones <rjones redhat com>:
> On Tue, Nov 16, 2010 at 11:56:12AM +0100, Matthias Bolte wrote:
>> 2010/11/16 Richard W.M. Jones <rjones redhat com>:
>> > On Mon, Nov 15, 2010 at 02:41:15AM +1100, Justin Clift wrote:
>> >> On 15/11/2010, at 2:38 AM, <arnaud champion devatom fr> wrote:
>> >> > ?I have used visual studio 2010 to create a standard setup, but for now it just provide dll, no virsh but why not...
>> >> > GAC inscription is now next goal. I'll try to see that this week.
>> >>
>> >> Heh, no worries.  I'll look around for an open source tool that does it instead,
>> >> as using Visual Studio 2010 just for creating an installer seems like a bit
>> >> of overkill (for me). :)
>> >
>> > We previously built the installer from the Fedora Windows
>> > cross-compiler:
>> >
>> > http://www.redhat.com/archives/libvir-list/2008-October/msg00191.html
>> >
>> > Rich.
>> >
>>
>> I recently tested the Fedora provided mingw32-libvirt on Windows and
>> virsh just segfaults before main() for me.
>
> Sounds like a bug in a shared library.  Can you get a stack trace
> from this?
>
> (This is not a generic problem -- obviously even huge Windows binaries
> built using the cross-compiler do work)
>
> Rich.
>

Sure, here it is:

Program received signal SIGSEGV, Segmentation fault.
0x6cc7cf5f in _pei386_runtime_relocator ()
   from F:\msys_setup\msys\fedora\usr\i686-pc-mingw32\sys-root\mingw\bin\libvirt-0.dll
(gdb) bt
#0  0x6cc7cf5f in _pei386_runtime_relocator ()
   from F:\msys_setup\msys\fedora\usr\i686-pc-mingw32\sys-root\mingw\bin\libvirt-0.dll
#1  0x00000001 in ?? ()
#2  0x0022f9f0 in ?? ()
#3  0x6cc0113d in DllMainCRTStartup 12 (hDll=<value optimized out>,
dwReason=<value optimized out>, lpReserved=<value optimized out>)
    at dllcrt1.c:67
#4  0x7c9111a7 in ntdll!LdrSetAppCompatDllRedirectionCallback ()
   from C:\WINDOWS\system32\ntdll.dll
#5  0x6cc00000 in ?? ()
#6  0x7c92cbab in ntdll!LdrHotPatchRoutine ()
   from C:\WINDOWS\system32\ntdll.dll
#7  0x7c93173e in ntdll!RtlMapGenericMask ()
   from C:\WINDOWS\system32\ntdll.dll
#8  0x7c931639 in ntdll!RtlMapGenericMask ()
   from C:\WINDOWS\system32\ntdll.dll
#9  0x7c91eac7 in ntdll!LdrCreateOutOfProcessImage ()
   from C:\WINDOWS\system32\ntdll.dll
(gdb)

I used this packages from http://kojipkgs.fedoraproject.org/packages

mingw32-libvirt-0.8.3-1.fc15.noarch.rpm
mingw32-libvirt-debuginfo-0.8.3-1.fc15.noarch.rpm
mingw32-gnutls-2.6.4-3.fc13.noarch.rpm
mingw32-libgcrypt-1.4.4-4.fc12.noarch.rpm
mingw32-libgpg-error-1.6-13.fc13.noarch.rpm
mingw32-gettext-0.17-12.fc12.noarch.rpm
mingw32-iconv-1.12-12.fc12.noarch.rpm
mingw32-zlib-1.2.3-19.fc12.noarch.rpm
mingw32-portablexdr-4.9.1-1.fc15.noarch.rpm
mingw32-libxml2-2.7.6-1.fc13.noarch.rpm
mingw32-readline-5.2-7.fc12.noarch.rpm
mingw32-termcap-1.3.1-8.fc12.noarch.rpm

Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]