Hello 2021!

Fusion crash when too many fuses are used

Moderator: Chad

User avatar
Native01
Posts: 2
Joined: Thu May 05, 2016 3:02 am

Fusion crash when too many fuses are used

#1

Post by Native01 »

Fusion version:
Fusion 7 studio
Fusion 8 (2.1 build 6) studio
OS and version:
Windows 7 professional SP1
Windows 10
Linux centos 7.2
Additional relevant system info:
none
Description of the bug:
Fusion crashes without warning when to many fuses are added to a flow.
There is a problem with the memory allocation of the Lua interpreter.

The limit of the amount of fuses is shared over multiple comps meaning you can open one flow with 164 fuses or 2 flows with 82 fuses. Adding one more fuse to a comp will make it crash.

Fusion 7 can hold 164 fuses
Fusion 8 can hold 297 fuses
Fusion 8 on linux can hold around 320 ( I lost count :s)
Severity (Trivial, Minor, Major, Critical)
Depends on your workflow, we use a lot of wireless nodes so for us this is a Major issue especially since there is no warning before the crash.

I assume no one has encountered this problem besides Kristof and colleagues since there was no mention of it anywhere.

BM is informed and reported back that at this point there is no fix for the problem.
As a temporary workaround we undertook the step to compile the wireless node as a plugin for Windows and Linux.
Steps to reproduce:
Just add any type of fuse to a flow and copy/paste it until fusion dies.
Please, if possible, provide a Fusion setup to help demonstrate the behaviour, either as an attachment or between code tags:
Host 'Fusion' [4380] Added
setNativeLocks failed: Resource temporarily unavailable
QFileSystemWatcher::removePaths: list is empty
edit: index was invalid
edit: editing failed
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setPen: Painter not active
PANIC: unprotected error in call to Lua API (attempt to call a nil value)
Host 'Fusion' Killed
Host 'FusionServer' Removed
FusionScript Server [4394] Terminated

User avatar
Kristof
Fusionista
Posts: 874
Joined: Thu Aug 07, 2014 1:30 pm
Answers: 4

Re: Fusion crash when too many fuses are used

#2

Post by Kristof »

Verified :)

User avatar
AndrewHazelden
Fusionator
Posts: 1671
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 9
Location: West Dover, Nova Scotia, Canada
Contact:

Re: Fusion crash when too many fuses are used

#3

Post by AndrewHazelden »

Native01 wrote: BM is informed and reported back that at this point there is no fix for the problem.
As a temporary workaround we undertook the step to compile the wireless node as a plugin for Windows and Linux.
Hi. I have the macOS SDK for Fu 8 and would be happy to help compile a Fusion Studio for macOS build of the wireless node plugin if there is interest.

User avatar
Kristof
Fusionista
Posts: 874
Joined: Thu Aug 07, 2014 1:30 pm
Answers: 4

Re: Fusion crash when too many fuses are used

#4

Post by Kristof »

Fixed in Fu 9 build 13 on Windows.

User avatar
AndrewHazelden
Fusionator
Posts: 1671
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 9
Location: West Dover, Nova Scotia, Canada
Contact:

Re: Fusion crash when too many fuses are used

#5

Post by AndrewHazelden »

That's great news!

User avatar
Kristof
Fusionista
Posts: 874
Joined: Thu Aug 07, 2014 1:30 pm
Answers: 4

Re: Fusion crash when too many fuses are used

#6

Post by Kristof »

Still an issue when running Fu 9.0.1 on Linux.

User avatar
SecondMan
Site Admin
Posts: 4787
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 30
Location: Vancouver, Canada
Been thanked: 22 times
Contact:

Re: Fusion crash when too many fuses are used

#7

Post by SecondMan »

Reportedly fixed in Fusion 16 :cheer:

@Kristof - double-check and beer time? :D


User avatar
Kristof
Fusionista
Posts: 874
Joined: Thu Aug 07, 2014 1:30 pm
Answers: 4

Re: Fusion crash when too many fuses are used

#8

Post by Kristof »

SecondMan wrote: Wed May 15, 2019 9:49 pm Reportedly fixed in Fusion 16 :cheer:

@Kristof - double-check and beer time? :D
Haha, cool. If that's the case then I'm all for raising a glass to the occasion :)