Results 1 to 8 of 8

Thread: why ice will be collapse in Release mode for vs2005?

  1. #1
    chanchanyuan is offline Registered User
    Name: chan chan
    Organization: wuhan university of sicence and engineering
    Project: do some study
    Join Date
    Jun 2009
    Posts
    13

    Angry why ice will be collapse in Release mode for vs2005?

    i use ice do some application,
    but when it link in Release mode ,it will collapse in follow sentence:

    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::com::topology::segmentList value;
    ::com::topology::MULTITOP info;
    __is->read(value);//*************************collapse
    info.__read(__is);//**************************


    but if it link in debug mode ,it have no fault, why ??????

    your sincerely
    chanchanyuan

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,140
    Hi,

    Did you change your build settings to link with ice.lib and iceutil.lib instead of iced.lib and iceutild.lib?

    See also this FAQ.

    Cheers,
    Benoit.

  3. #3
    chanchanyuan is offline Registered User
    Name: chan chan
    Organization: wuhan university of sicence and engineering
    Project: do some study
    Join Date
    Jun 2009
    Posts
    13

    Angry

    Quote Originally Posted by benoit View Post
    Hi,

    Did you change your build settings to link with ice.lib and iceutil.lib instead of iced.lib and iceutild.lib?

    See also this FAQ.

    Cheers,
    Benoit.
    i check it ,it is ice.lib, iceutil.lib as you say.


    besides, ice also have anther fault ---- when i call "shutdown()" method, the socket link didn't close, and when i get the server proxy , it will have
    two socket links between the host


    ----------------

    chanchanyuan

  4. #4
    chanchanyuan is offline Registered User
    Name: chan chan
    Organization: wuhan university of sicence and engineering
    Project: do some study
    Join Date
    Jun 2009
    Posts
    13

    Angry

    Quote Originally Posted by benoit View Post
    Hi,

    Did you change your build settings to link with ice.lib and iceutil.lib instead of iced.lib and iceutild.lib?

    See also this FAQ.

    Cheers,
    Benoit.

    i see the vs projecct, it have some wrong info as follows:
    ------------------------------------------------------------------
    NMS.exe': Loaded 'E:\Work\Top\NMS2009.6.2.3\NMS\Release\ice33.dll', Binary was not built with debug information.
    'NMS.exe': Loaded 'E:\Work\Top\NMS2009.6.2.3\NMS\Release\iceutil33.d ll', Binary was not built with debug information.
    'NMS.exe': Loaded 'E:\Work\Top\NMS2009.6.2.3\NMS\Release\bzip2.dll', Binary was not built with debug information.
    --------------------------------------------------------------

    when the program collapse,i see the statck , it have some fault as follows:
    ----------------------------
    [Frames below may be incorrect and/or missing, no symbols loaded for ice33.dll]
    ----------------------------------------------

  5. #5
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Did you try the demos that accompany Ice? Do they work? If they work, and your application does not then you can inspect the two project files and look for the differences in the compiler flags you have used.

    I'm not sure what you are talking about with the shutdown fault. The best way to get assistance on that issue is to post a complete working compilable example that demonstrates the issue.

  6. #6
    chanchanyuan is offline Registered User
    Name: chan chan
    Organization: wuhan university of sicence and engineering
    Project: do some study
    Join Date
    Jun 2009
    Posts
    13

    Angry

    Quote Originally Posted by matthew View Post
    Did you try the demos that accompany Ice? Do they work? If they work, and your application does not then you can inspect the two project files and look for the differences in the compiler flags you have used.

    I'm not sure what you are talking about with the shutdown fault. The best way to get assistance on that issue is to post a complete working compilable example that demonstrates the issue.
    the two shutdown fault is settled, it is my fault..
    but the ice dll libraray which can't load release version dll i also can't settle.
    i check the compile flags, but maybe it is right

  7. #7
    chanchanyuan is offline Registered User
    Name: chan chan
    Organization: wuhan university of sicence and engineering
    Project: do some study
    Join Date
    Jun 2009
    Posts
    13

    Angry

    Quote Originally Posted by matthew View Post
    Did you try the demos that accompany Ice? Do they work? If they work, and your application does not then you can inspect the two project files and look for the differences in the compiler flags you have used.

    I'm not sure what you are talking about with the shutdown fault. The best way to get assistance on that issue is to post a complete working compilable example that demonstrates the issue.

    the basic view is :
    i use ice realize four functions, two functions run commonly in release mode ,but two can't load release dll,

    for example:
    ------------------------------------------------------------------
    NMS.exe': Loaded 'E:\Work\Top\NMS2009.6.2.3\NMS\Release\ice33.dll', Binary was not built with debug information.
    'NMS.exe': Loaded 'E:\Work\Top\NMS2009.6.2.3\NMS\Release\iceutil33.d ll', Binary was not built with debug information.
    'NMS.exe': Loaded 'E:\Work\Top\NMS2009.6.2.3\NMS\Release\bzip2.dll', Binary was not built with debug information.
    --------------------------------------------------------------

  8. #8
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Did you try the demos in release mode?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ICE 3.4.1 and VS2005
    By fjsen in forum Help Center
    Replies: 3
    Last Post: 07-02-2010, 04:24 AM
  2. Ice VS Addin doestn work in msbuild mode
    By rpeters in forum Bug Reports
    Replies: 1
    Last Post: 06-25-2010, 05:30 PM
  3. Ice 3.3 + VS2005 & VS2008
    By vincei in forum Help Center
    Replies: 2
    Last Post: 05-20-2008, 10:29 PM
  4. a problem about ICE 3.0 on VS2005
    By rwxybh in forum Help Center
    Replies: 5
    Last Post: 12-11-2005, 01:13 AM
  5. Compiling Ice with VS2005 Beta 2
    By zmitrok in forum Comments
    Replies: 1
    Last Post: 05-06-2005, 07:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •