Page 2 of 2 FirstFirst 1 2
Results 16 to 18 of 18

Thread: Pb between C++ client and Java Server

  1. #16
    arnaud is offline Registered User
    Join Date
    Feb 2006
    Location
    Bordeaux
    Posts
    22
    I solved the problem.

    The OPTIMIZE option in config/Make.rules needs to be selected.

    With that option, my server stop crashing after two tries! I can use it as long as I want !!

    Thank you !!
    -----------------
    Arnaud

    ENSEIRB Student
    Bordeaux

  2. #17
    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,196
    Hi Arnaud,

    I don't think it solved your problem, the assert() from the IceUtil::Mutex::~Mutex destructor is just not triggered anymore because assert() only works for debug builds. The mutex destruction still most likely fails. I don't know if this will cause any other problems but it would be good to find the reason why you get this assert.

    When you built Ice *without* OPTIMIZE enabled, did you try to run the test suite? Does all the tests pass? You can run the test suite with the "./allTests.py" script at the top level of your Ice source distribution.

    Cheers,
    Benoit.

  3. #18
    arnaud is offline Registered User
    Join Date
    Feb 2006
    Location
    Bordeaux
    Posts
    22
    Hi Benoit,

    This time I think I may find the problem.

    My TX board is a 64 bits microprocessor (one of my colleague told me that today. But I should have read the datasheet before !!!!) .But I always compiled ICE for 32 bits.

    I compiled ICE with 64 bits and without OPTIMIZE mode.

    The server is running without problem. No crash !!!


    About the tests, all is OK !!

    Thank you very much !!
    -----------------
    Arnaud

    ENSEIRB Student
    Bordeaux

Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Accessing a Java Server from a C# Client
    By ragavan.raman in forum Help Center
    Replies: 1
    Last Post: 09-15-2010, 09:15 AM
  2. Replies: 5
    Last Post: 02-05-2007, 05:17 AM
  3. Replies: 15
    Last Post: 07-29-2005, 10:18 PM
  4. Replies: 1
    Last Post: 05-09-2005, 08:04 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
  •