English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 18 March 2020, 04:35   #1
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Very Surprising Guru with Cubic IDE

Hi all!

I'm a very happy user of Cubic IDE and have been happily coding with it for a couple of years now However, early on I noticed a Guru but never got to study and duplicate it... until now... thanks COVID-19

The Guru arrives only when I minimise the main window as small as possible and then try to expand it again (using either the zoom or the sizing gadget). I actually took some photos and made a video showing clearly (?) the steps to reproduce the Guru. The photos are below... I can share the video if needed?

The Guru happens on my Amiga 1200 with Blizzard 1260 with or without patches. Actually, I took the photos and video booting without Startup-Sequence and using the script below to start Cubic IDE:

Code:
;BEGIN General
    FailAt 21
    Makedir >NIL: RAM:ENV
    Assign  >NIL: ENV: RAM:ENV
    Makedir >NIL: RAM:T
    Assign  >NIL: T: RAM:T
    C:AddDataTypes REFRESH
;END General

;BEGIN cubic
    Assign >NIL: Cubic:   "Utilitaires:Développement/Cubic IDE"
    Assign >NIL: GoldEd:  Cubic:ide/editor
    Assign >NIL: C:       Cubic:ide/etc/c     ADD
    Assign >NIL: Libs:    Cubic:ide/etc/libs  ADD
    Assign >NIL: Fonts:   Cubic:ide/etc/fonts ADD
    Mount >NIL: PipeCON: FROM Cubic:ide/etc/devs/mountlist QUIET
;END cubic
 
;BEGIN devkits
    Assign  >NIL:  DevKits: Cubic:ide/devkits
    Execute <>NIL: DevKits:scripts/user-startup
;END devkits

;BEGIN basic
    Assign Libs: "GoldEd:add-ons/basic/interpreter/libs" ADD
    Assign C:    "GoldEd:add-ons/basic/interpreter/c"    ADD
;END basic

;BEGIN pgp
    Assign PGP: "Utilitaires:Développement/Cubic IDE/ide/editor/add-ons/pgp/pgp51i"
    Assign C:   PGP:C ADD
;END pgp

;BEGIN joyce
    Assign ISpell: GoldEd:add-ons/joyce/ispell
;END joyce

;BEGIN vbcc
    DevKits:tools/ccselect/bin/ccselect vbcc quick
;END vbcc

;BEGIN gcc
    ; Not installed
    ; DevKits:tools/ccselect/bin/ccselect gcc quick
;END gcc

Assign >NIL: Workspace: Travail:Programmation/C/

CD Cubic:
"Cubic IDE" SESSION=GoldEd:etc/sessions/default.session
Is is just me visited by this Guru? Could I try something to get rid of it?

Cheers!
Attached Thumbnails
Click image for larger version

Name:	Cubic IDE Guru (1).jpg
Views:	173
Size:	1.00 MB
ID:	66497   Click image for larger version

Name:	Cubic IDE Guru (2).jpg
Views:	165
Size:	1,007.0 KB
ID:	66498   Click image for larger version

Name:	Cubic IDE Guru (3).jpg
Views:	178
Size:	1.01 MB
ID:	66499   Click image for larger version

Name:	Cubic IDE Guru (4).jpg
Views:	166
Size:	513.9 KB
ID:	66500   Click image for larger version

Name:	Cubic IDE Guru (5).jpg
Views:	138
Size:	1,009.1 KB
ID:	66501  

Click image for larger version

Name:	Cubic IDE Guru (6).jpg
Views:	183
Size:	288.2 KB
ID:	66502  
tygre is offline  
Old 18 March 2020, 16:57   #2
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
PS. Just to precise that the fourth photo shows Cubic IDE minimised to its minimum size. From this size, any resizing (zoom or sizing gadget) causes the Guru (shown in the photos 5 and 6).
tygre is offline  
Old 18 March 2020, 18:15   #3
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
Does Enforcer/MuForce and/or MungWall/MuGuardianAngel say something?
daxb is offline  
Old 18 March 2020, 18:36   #4
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
could not reproduce it.
Hedeon is offline  
Old 18 March 2020, 19:28   #5
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,007
I can't reproduce it under MorphOS at least... I tried even with Wipeout, but no hits in the log and seems to work cleanly in all ways.

Which version are you running? I have 8.10...
jPV is offline  
Old 19 March 2020, 18:33   #6
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Quote:
Originally Posted by jPV View Post
I can't reproduce it under MorphOS at least... I tried even with Wipeout, but no hits in the log and seems to work cleanly in all ways.

Which version are you running? I have 8.10...
Hi all!

Yes, I also have 8.10 AFAIK... Here is a video showing how I get a visit from the Guru

[ Show youtube player ]

Any idea of what I could try to prevent this Guru?

Cheers!
tygre is offline  
Old 19 March 2020, 19:04   #7
tolkien
AmigaMan
 
tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 761
Damn! I use original CubicIDE since 6/7 years ago and didnt notice it but also fails in my Amiga1200 b1260 aos 3.1.4.

In my MorphOS setup works nice :/

Last edited by tolkien; 19 March 2020 at 20:24.
tolkien is offline  
Old 19 March 2020, 20:14   #8
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi Tolkien and thank you!

Quote:
Originally Posted by tolkien View Post
Damn! I use original CubicIDE since 6/7 years ago and didnt notice it bit also fails in my Amiga1200 b1260 años 3.1.4.

In my MorphOS setup works nice :/
So now I know that it's not "me" and that's a problem with the Amia version, possibly related to having a Blizzard 1260? Anyone else has this Guru with a 1260?

Cheers!
tygre is offline  
Old 19 March 2020, 20:53   #9
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Your first screenshot showed an Exception #3 (address error), but in the video I see an Exception #61 ($8000003D). As you are running on 68060 this could be an unimplemented integer instruction. Which is strange, as that shouldn't happen when the emulation through 68060.library is present. Or did you boot without it?
phx is offline  
Old 19 March 2020, 20:57   #10
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by tygre View Post
Actually, I took the photos and video booting without Startup-Sequence
Ahh... I missed that! That explains it. Never do that with an 68060, if you want to execute 020+ code. Maybe try the 68000-version of CubicIDE instead.
phx is offline  
Old 20 March 2020, 00:20   #11
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
I thought that he also get the guru after a normal boot to WB. So 68060.library should be active.
daxb is offline  
Old 21 March 2020, 20:53   #12
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi phx and daxb!

AFAIK, I'm using the "default" version of Cubic IDE, which should be for 68000... so it would not matter whether the 68060.library is active or not?

BTW, how could I activate it manually? I got the Guru booting with/without Startup-Sequence but I could test with/without the 68060.library being active

Cheers!
tygre is offline  
Old 21 March 2020, 22:30   #13
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by tygre View Post
AFAIK, I'm using the "default" version of Cubic IDE, which should be for 68000...
Hmm. Then maybe there is an 68000 instruction which the 060 has to emulate? I do not remember.

Quote:
BTW, how could I activate it manually? I got the Guru booting with/without Startup-Sequence but I could test with/without the 68060.library being active
Back in the days we had "loadlib" to pre-load ppc.library, so we could launch ELF execucatables. It just has to open the library. Maybe it's this one:
http://aminet.net/package/util/cli/LoadLib10
phx is offline  
Old 22 March 2020, 07:48   #14
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by phx View Post
Hmm. Then maybe there is an 68000 instruction which the 060 has to emulate? I do not remember.
There is one and it is MOVEP.
meynaf is offline  
Old 22 May 2020, 04:00   #15
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi Phx and Meynaf!

Thanks for your replies: is there something that I could try to see if MOVEP could be the cause of the problem? BTW, would you know of anyone from Cubic IDE (Software and Circuits) on this forum?

Cheers!
tygre is offline  
Old 22 May 2020, 12:33   #16
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
It might also be that the crash instruction is random, because a bug trashes memory or the stack. At this point I would follow daxb's early advice to test CubicIDE with Enforcer/MuForce. It will hopefully show the problem as early as possible and, most important, report the exact crash location, which you can analyze with a disassembler.
phx is offline  
Old 22 May 2020, 17:24   #17
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi Phx!

Oh, yes, sorry, I forgot to mention that I have Enforcer running at all time but it doesn't show anything when Cubic IDE crashes (because either nothing to see or the crash occurs "faster").
tygre is offline  
Old 04 June 2020, 15:22   #18
tygre
Returning fan!
 
tygre's Avatar
 
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
Hi all!

After more tests and the support from Dietmar (author of Cubic IDE), it seems that the problem comes from my particular configuration

We tried:
- A1200 + ACA 1230 + Same Workbench
- A600 + Vampire + Different Workbench
- WinUAE as '060 + Yet another Workbench
and the problem appears only with my particular "blend" of A1200 + Blizzard 1260 + Workbench...

So, Cubic IDE is working great and I have to find which hardware/software is causing problem on my config.

Cheers!
tygre is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Puzzling visits of the Guru with Cubic IDE, vbcc 0.8, on ACA1230 tygre Coders. General 15 27 October 2016 02:40
Most surprising thing you've seen at the arcades Jgames Retrogaming General Discussion 46 25 October 2010 19:49
Cubic Dream in WinUAE thor support.WinUAE 9 21 January 2007 14:50
Software News : C/C++ update for Cubic IDE Paul News 0 17 June 2006 13:17
Intelligent Fun:Cubic + Tygard NOB HOL contributions 0 07 January 2006 14:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:56.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10116 seconds with 16 queries