Welcome, Guest. Please login or register.

Author Topic: Icon causes system to hang.  (Read 2645 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline EDanaIITopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Icon causes system to hang.
« on: August 22, 2007, 05:00:11 PM »
Running on WinUAE, using either an AmiKit config or just a plain OS3.9 configuration, I cannot run a custom program using an icon.

The program runs fine, without an icon, but when I associate it with an icon, it hangs the entire system. When I rename the program to match an pre-existing icon, I get the same results. IconEdit on AmiKit doesn't work, but works on OS3.9 and gives me the same results: system locks.

No clue why this is happening. I may be doing something fatally stupid. Any and all clues appreciated.

Ed.
Ed.
 

Offline EDanaIITopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: Icon causes system to hang.
« Reply #1 on: August 22, 2007, 05:51:24 PM »
No. At least I don't think so. The CLI stack is set to 8k. One of the icons I'm trying is also set to 8k. Running from the CLI works, but the icon (still) doesn't.
Ed.
 

Offline EDanaIITopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: Icon causes system to hang.
« Reply #2 on: August 22, 2007, 08:28:43 PM »
It's an old workbench based game that I decided to give a face-lift too, so that shouldn't be the issue.


@ amipal

I'm not specifying any tooltypes.

Ed.
Ed.
 

Offline EDanaIITopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: Icon causes system to hang.
« Reply #3 on: August 22, 2007, 10:22:45 PM »
Sorry, but I'm not being clear.

It is a Workbench based program, not CLI, that I can launch from the CLI or the Workbench using a default icon, but I cannot launch it using a ".info" icon. When I launch it from the CLI, I have 8k of stack, so I do not think that is the issue.

The original program, before I upgraded launches from an icon fine. My new version, launches fine, except when I use the original ".info" icon or when I use my own custom ".info" icon. But for that small difference, everything works, without issues.

I, BTW, cannot change the stack in either the original or newer icon. I change the value, then save, quit and then reload the icon and it still contians the original values.

Ed.
Ed.
 

Offline EDanaIITopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: Icon causes system to hang.
« Reply #4 on: August 23, 2007, 06:38:21 AM »
No, it's definitely a bug, Merc, just as Matt suggests. I've tried a number of different ways to create an icon and only my program dies when I create one for it.


@ Matt_H

The problem is, I'm using a cross compiler to do the work, so debuging isn't possible. Are there any stand alone debuggers out there?

Ed.
Ed.
 

Offline EDanaIITopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: Icon causes system to hang.
« Reply #5 on: August 25, 2007, 02:47:13 AM »
All right, I figured it out. Even though the original program did not use the Icon library, I needed to. Not sure why this is, but everything works as it should. :-)

Ed.
Ed.