----- "august" august@alien.mur.at a écrit :
any mp3 crashes
here is the message I get when it crashes:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 7728.0x154c] 0x039760f3 in libiconv () from c:\MinGW\bin\libiconv-2.dll (gdb) BFD: C:\Windows\SysWOW64\AUDIOKSE.dll: Warning: Ignoring
section flag IMAGE_SCN_MEM_NOT_PAGE
hmm. what does libiconv do?
libiconv is needed by gmerlin encoder for performing character set conversion
do you want an archive containing all needed DLL's?
yes, please.
the archive is here:
http://megalego.free.fr/pd/externals/readanysf~-win32-0.42.zip
I tried to implement setDllDirectory but it doesn't work,
there is an header file for windows code that is resolving symbol exports
I couldn't get a linker option that would ignore missing ones
this will be the difficult part, I imagine....to fully understand how mingw and windows development works. And, then to package all the dll's in a usable format.
any mp3 crashes
here is the message I get when it crashes:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 7728.0x154c] 0x039760f3 in libiconv () from c:\MinGW\bin\libiconv-2.dll (gdb) BFD: C:\Windows\SysWOW64\AUDIOKSE.dll: Warning: Ignoring
section flag IMAGE_SCN_MEM_NOT_PAGE
hmm. what does libiconv do?
libiconv is needed by gmerlin encoder for performing character set conversion
could you send me the backtrace from gdb?
yes
backtrace #0 0x02eb60f3 in libiconv () from c:\MinGW\bin\libiconv-2.dll #1 0x693738bb in do_convert () from C:\msys\1.0\home\patko\pd-extended\0.42\externals\readanysf~0.42\readanysf~.dll #2 0x69373bf2 in bgav_convert_string () from C:\msys\1.0\home\patko\pd-extended\0.42\externals\readanysf~0.42\readanysf~.dll #3 0x6936c2ce in bgav_id3v2_read () from C:\msys\1.0\home\patko\pd-extended\0.42\externals\readanysf~0.42\readanysf~.dll #4 0x6934e52c in bgav_init () from C:\msys\1.0\home\patko\pd-extended\0.42\externals\readanysf~0.42\readanysf~.dll #5 0x6934e61a in bgav_open () from C:\msys\1.0\home\patko\pd-extended\0.42\externals\readanysf~0.42\readanysf~.dll #6 0x69345db6 in the_thread_opener (xp=0x4262b0) at src/ReadMedia.cpp:945 #7 0x62483e29 in ptw32_threadStart@4 () from C:\Windows\SysWOW64\pthreadGC2.dll #8 0x75f42599 in wcstombs () from C:\Windows\syswow64\msvcrt.dll #9 0x75f426b3 in msvcrt!_beginthreadex () from C:\Windows\syswow64\msvcrt.dll #10 0x775eeccb in UnhandledExceptionFilter () from C:\Windows\syswow64\kernel32.dll #11 0x00426ee8 in ?? () #12 0x77ecd80d in ntdll!RtlWow64CallFunction64 () from C:\Windows\system32\ntdll.dll #13 0x00426ee8 in ?? () #14 0x77ecda1f in ntdll!RtlCloneMemoryStream () from C:\Windows\system32\ntdll.dll #15 0x75f42670 in msvcrt!_beginthreadex () from C:\Windows\syswow64\msvcrt.dll #16 0x00000000 in ?? () (gdb)
----- "august" august@alien.mur.at a écrit :
any mp3 crashes
here is the message I get when it crashes:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 7728.0x154c] 0x039760f3 in libiconv () from c:\MinGW\bin\libiconv-2.dll (gdb) BFD: C:\Windows\SysWOW64\AUDIOKSE.dll: Warning: Ignoring
section flag IMAGE_SCN_MEM_NOT_PAGE
hmm. what does libiconv do?
libiconv is needed by gmerlin encoder for performing character set
conversion
could you send me the backtrace from gdb?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-04-30 03:36, Patrice Colet wrote:
I tried to implement setDllDirectory but it doesn't work,
you need to use SetDllDirectory() within Pd, not within your external. quoting myself:
that's a bootstrapping problem, as the external cannot run any code before all it's dependencies are resolved.
mfgdr IOhannes