http://d.puremagic.com/issues/show_bug.cgi?id=7025

           Summary: strange static lib error
           Product: D
           Version: D1 & D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: chang...@gmail.com


--- Comment #0 from changlon <chang...@gmail.com> 2011-11-28 07:07:51 PST ---
I try build a mp3 player use D,  run into a lot of strange error.

Fisrt I try use www.un4seen.com/bass.html  with dfl & tango,  got a invalid
memory address runtime exception,  then I try with dmd2 & phobos & dfl,  still
thorw error .
I try dwt with dmd1.056/dmd1.071 & last tango_trunk,  still throw memory error
.

bass.dll will start 6 thread  ,  and I try libzplay also has same problem .  

When I remove static lib,  throw all dwt soucre file with my project file to
dmd 1.070,  It start working with libzplay . but bass.dll is not change at all
.

The static lib is made by "dmd @allfilelist.txt -lib" , tango.lib and
phobos2.lib is fresh too.   optlink is 8.0.0.12 .

one libmad api return mp3 file duration,  when I build with static gui lib, 
the number allways wrong ,  when I remove static gui lib,  the number is
correct .

I also try mpg123.dll ,  just keep failure on channel set.


build bass.dll with static gui lib can start play music ,  but with a memory
error.  build bass.dll with gui source can't play music .

 The project is huge and I can't reduce the test case,  If any one try
www.un4seen.com/bass.html or libzplay should be  easy to find the problem .

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to