www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7025] New: strange static lib error

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: changlon gmail.com



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: -------
Nov 28 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7025


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |WONTFIX



15:53:16 PDT ---
Without a test case we can't help. This page might be useful:
http://dlang.org/interfaceToC.html

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