Results 1 to 9 of 9

Thread: Hello Example crash

  1. #1
    tomerp is offline Registered User
    Name: tomer peretz
    Organization: orbotech
    Project: industrial machine
    Join Date
    Mar 2009
    Posts
    4

    Hello Example crash

    I tried compiling and running the hello c++ example.
    The example works fine, but after a while (about an hour) the server crash.

    I'm running on Windows XP sp2, with MSVC8
    Attached Images Attached Images

  2. #2
    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
    How did you compile the demo? Did you use the projects that came with the installer to build the demo, or did you write a Makefile or otherwise compile it yourself? Is it release or debug?

    Were you connected or otherwise using the server when it crashed?

  3. #3
    tomerp is offline Registered User
    Name: tomer peretz
    Organization: orbotech
    Project: industrial machine
    Join Date
    Mar 2009
    Posts
    4
    I used the helloC.vcproj and helloS.vcproj to compile in Visual Studio 2005.
    I compiled it in debug.
    I started the server and the client executable from two command prompts, sent some commands to the server (to be exact four times d and two times f), which work fine. Then I left the two processes for long time. After a while, the attached window appeared.

    The same thing occurred several times.

  4. #4
    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
    I'm trying to reproduce your problem. In the meantime, if it occurs again it would be good to attach a debugger to the server and then press "retry" in that dialog and send the stack traces to help diagnose the failure.

  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
    BTW, something else to check. Have you installed service pack 1?

  6. #6
    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
    I've tried to reproduce your problem but have failed. The hello server has been running non-stop now since I posted my original response. Once you have confirmed the above, we can discuss alternative methods to diagnose your issue.

  7. #7
    tomerp is offline Registered User
    Name: tomer peretz
    Organization: orbotech
    Project: industrial machine
    Join Date
    Mar 2009
    Posts
    4
    Hi,
    Yes I am running with Visual Studio 2005 SP1.

    I attached the debugger and got the following message on the server side:

    03/25/09 11:21:40.687 server.exe: warning: datagram connection exception:
    ThreadPool.cpp:664: Ice::BadMagicException:
    unknown magic number: 0xd1, 0x07, 0x00, 0x00
    local address = 0.0.0.0:10000
    remote address = <not connected>
    Assertion failed: buf.i == buf.b.begin(), file UdpTransceiver.cpp, line 117

  8. #8
    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,

    It looks like your server is receiving datagrams from non-Ice clients and this triggers a bug in Ice 3.3.0 which causes the server to assert (note that this is a problem only with UDP, with TCP or SSL the server behaves correctly if an invalid message is received).

    This bug has been fixed in Ice 3.3.1 which was released few days ago, could you try it out?

    Cheers,
    Benoit.

  9. #9
    tomerp is offline Registered User
    Name: tomer peretz
    Organization: orbotech
    Project: industrial machine
    Join Date
    Mar 2009
    Posts
    4

    Smile

    The new version has fixed the problem

    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. loadSlice() spurious crash
    By jharris in forum Patches
    Replies: 2
    Last Post: 11-19-2010, 07:02 PM
  2. Severe Crash
    By p3pp8 in forum Help Center
    Replies: 4
    Last Post: 11-16-2010, 04:17 PM
  3. slice2cs crash
    By ngarimu in forum Help Center
    Replies: 10
    Last Post: 09-09-2009, 11:37 AM
  4. icegridregistry crash
    By sinofool in forum Bug Reports
    Replies: 1
    Last Post: 03-27-2009, 04:36 PM
  5. Registry Crash
    By ctennis in forum Bug Reports
    Replies: 2
    Last Post: 04-19-2007, 01:31 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
  •