bugDotGNU Portable.NET - Bugs: bug #2097, csc won't run some Qt# programs...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2097: csc won't run some Qt# programs compiled by csc

Submitted by:  None
Submitted on:  Mon 30 Dec 2002 12:44:22 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 30 Dec 2002 06:27:41 AM UTC, comment #4:

Fixed now - problem with the relationship between switch
statments and String.IsInterned. The simple test case
follows. If the C# code for "ConnectItem" had been
included in the original bug report, it would have made
this a lot easier to track down. As it was, it took
4 hours to install the necessary dependencies, 10 minutes
to diagnose the problem as being non-Qt related, and about
half an hour to fix.

---
using System;

class Test
{
public static void Tryout(String arg)
{
switch(arg)
{
case "()": break;
case "(int)": break;
default: Console.WriteLine(arg + ": wrong!"); break;
}
}
public static void Main()
{
Tryout("()");
Tryout(String.Concat("(", "int)"));
}
}
---

Rhys Weatherley <rweather>
Project Administrator
Mon 30 Dec 2002 03:14:42 AM UTC, comment #3:

Rhys, if it was easy to duplicate or provide a 5 line test case we'd be doing it. Some of these problems are complex and are exposed as a direct result of the larger projects stress testing the CLI environments.

I do not understand the 'rebuild entire Linux installation' comment at all. Marcus has provided a Qt.dll and the new build system uses qmake which I assume you are familiar with.

So, should I take this to mean all bug reports regarding Qt# will no longer be considered unless they've been reduced? Although it is obviously desirable to have a simple test case that is simply not possible at times. The bug could be very complex or the person who has found the bug might not have the expertise to reduce it. Simply saying, 'we aren't going to look at Qt# bugs' quite frankly, sucks!

Adam Treat <manyoso>
Mon 30 Dec 2002 02:32:20 AM UTC, comment #2:

Please provide a 5-line test case that has no dependency
upon Qt.dll at all. I should not have to rebuild my entire
Linux installation from scratch to replicate such bugs.

All "works in cscc, but not csc" bugs can be isolated to
simple cases - Qt is not necessary. All "Qt doesn't work
bugs" will be closed until real information is provided.

Rhys Weatherley <rweather>
Project Administrator
Mon 30 Dec 2002 12:47:15 AM UTC, comment #1:

Qt.dll compiled with csc is available at
http://mylinuxisp.com/~mathpup/Qt.dll-csc

Marcus Urban <mathpup>
Mon 30 Dec 2002 12:44:22 AM UTC, original submission:

When the ScribbleWindow and QuantumFractals programs are compiled by csc, the resulting executables do not run with ilrun. Both programs abort with the same error:

Uncaught exception: System.ArgumentException: Unsupported slot arguments: ()
at Qt.QMenuData.ConnectItem(IQMenuData, IntPtr, Int32, QObject, String)
at Qt.QPopupMenu.ConnectItem(Int32, QObject, String)
at Qt.QPopupMenu.InsertItem(String, QObject, String, QKeySequence, Int32, Int32)
at Qt.QPopupMenu.InsertItem(String, QObject, String, QKeySequence, Int32)
at Qt.QPopupMenu.InsertItem(String, QObject, String, QKeySequence)
at Qt.QPopupMenu.InsertItem(String, QObject, String)
at QtSamples.ScribbleWindow..ctor()
at QtSamples.ScribbleWindow.Main(String[])

Anonymous

 

Attached Files
file #215:  quantumfractals.cs added by mathpup (21KiB - text/x-csharp - Source file)
file #214:  qfractals.exe added by None (28KiB - application/x-executable - Executable)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 30 Dec 2002 06:27:41 AM UTCrweatherStatusInvalid=>(Error - Not Found)
Mon 30 Dec 2002 02:32:20 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1