Results 1 to 6 of 6

Thread: System.StackOverflowException when using ZeroC Ice 3.4.2 on Mono 2.10.x

  1. #1
    miltondp is offline Registered User
    Name: Milton Pividori
    Organization: Stratos S.R.L.
    Project: Small/Medium offices management system
    Join Date
    Dec 2011
    Posts
    5

    System.StackOverflowException when using ZeroC Ice 3.4.2 on Mono 2.10.x

    I have reported this bug in the Mono bug tracking system here:

    Bug 2449 – System.StackOverflowException when using ZeroC Ice 3.4.2 on Mono 2.10.x

    However, one of the developers suggested to file a bug in these forums as well, as you likely have more information to resolve it.

    Take a look please at the bug link for the complete bug report. I've also attached a file with a trace of the exception. The problem seems to reside in this method:

    IceInternal.AssemblyUtil.loadReferencedAssemblies (System.Reflection.Assembly)

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi Milton,

    Thanks for reporting this. If it is a Mono bug, we'll try to find a workaround that we can include in the next release.

    Regards,
    Mark

  3. #3
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Milton,

    I've been doing some testing with Mono 2.10.8 on SLES 11 but haven't been able to reproduce the problem you described. Of course, the problem may be dependent on your application structure, such as how many assemblies are used in your server, where the Slice-generated code is located, and so on.

    Would you be able to provide a small test case that we can use to reproduce this problem?

    If not, can you describe in detail the assembly structure used by your server?

    Thanks,
    Mark

  4. #4
    miltondp is offline Registered User
    Name: Milton Pividori
    Organization: Stratos S.R.L.
    Project: Small/Medium offices management system
    Join Date
    Dec 2011
    Posts
    5
    Hi Mark, thanks for your reply.

    I just installed Mono 2.10.8 on Fedora and I was able to reproduce the problem. I'm planning to upload the source code of my app soon so you can play with it. Will let you know when it's ready.

    Thank you!
    Milton.

  5. #5
    mathgl is offline Registered User
    Name: gelin yan
    Organization: RoundTech Research Centre
    Project: large scale vehicle tracing system
    Join Date
    Jan 2010
    Location
    HongKong
    Posts
    23
    Hi

    Have you prepared your codes yet? If so, i would like to run on my machine and try to find out what happens.

    Thanks..

  6. #6
    miltondp is offline Registered User
    Name: Milton Pividori
    Organization: Stratos S.R.L.
    Project: Small/Medium offices management system
    Join Date
    Dec 2011
    Posts
    5
    Sorry for the long delay guys!

    You can download the source code from this URL. These are the steps to reproduce the problem:

    1. Navigate to the src/Stratos folder.
    2. Run the "make" command (it uses xbuild).
    3. Configure Stratos Server to run against SQLite (so you don't have to have a database server to test it): move to src/Stratos/StratosServer/build and run: cp ActiveRecord.config.sqlite.xml ActiveRecord.config.xml
    4. Start the Stratos Server: go to src/Stratos/StratosServer/build and run the command: mono StratosServer.Startup.exe. Now the server is listening for incoming connections.
    5. Start the Stratos Client (Gtk app): go to src/Stratos/StratosClient/build and run the command: mono StratosClient.Startup.exe
    6. When starting the Client, you'll see it freezes at startup. Take a look at the Server console, you'll see messages like this:
      Code:
      Stack overflow in unmanaged: IP: 0x82266c9, fault addr: 0xb3f07fbc
      Stack overflow in unmanaged: IP: 0x82266c9, fault addr: 0xb3f07f0c
      Stack overflow in unmanaged: IP: 0x82266c9, fault addr: 0xb3f07eec

    Let me know if you have any problem. And sorry again for the long delay.

    Thank you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. about Mono & ICE
    By mathgl in forum Projects
    Replies: 3
    Last Post: 12-16-2011, 08:22 AM
  2. Ice on Mono on Android
    By AlanR in forum Help Center
    Replies: 3
    Last Post: 12-09-2011, 04:46 AM
  3. performance about ICE on mono
    By mathgl in forum Help Center
    Replies: 1
    Last Post: 01-13-2011, 01:29 PM
  4. Building Ice from source on Ubuntu 10.10
    By pchapin in forum Help Center
    Replies: 2
    Last Post: 12-31-2010, 07:19 AM
  5. Mono 1.2.6 and Ice
    By kovacm in forum Bug Reports
    Replies: 24
    Last Post: 12-26-2007, 06:56 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
  •