Fu Fusion crash when too many fuses are used

Moderator: Chad

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

Fusion crash when too many fuses are used

#1

Post by Native01 » Thu Mar 16, 2017 7:18 am

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: 493
Joined: Thu Aug 07, 2014 1:30 pm
Been thanked: 10 times

Re: Fusion crash when too many fuses are used

#2

Post by Kristof » Thu Mar 16, 2017 11:48 am

Verified :)

User avatar
AndrewHazelden
Fusionator
Posts: 1242
Joined: Fri Apr 03, 2015 3:20 pm
Location: West Dover, Nova Scotia, Canada
Been thanked: 16 times
Contact:

Re: Fusion crash when too many fuses are used

#3

Post by AndrewHazelden » Thu Mar 16, 2017 2:12 pm

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: 493
Joined: Thu Aug 07, 2014 1:30 pm
Been thanked: 10 times

Re: Fusion crash when too many fuses are used

#4

Post by Kristof » Thu Aug 03, 2017 9:06 am

Fixed in Fu 9 build 13 on Windows.

User avatar
AndrewHazelden
Fusionator
Posts: 1242
Joined: Fri Apr 03, 2015 3:20 pm
Location: West Dover, Nova Scotia, Canada
Been thanked: 16 times
Contact:

Re: Fusion crash when too many fuses are used

#5

Post by AndrewHazelden » Thu Aug 03, 2017 9:53 am

That's great news!

User avatar
Kristof
Fusionista
Posts: 493
Joined: Thu Aug 07, 2014 1:30 pm
Been thanked: 10 times

Re: Fusion crash when too many fuses are used

#6

Post by Kristof » Mon Oct 02, 2017 1:47 pm

Still an issue when running Fu 9.0.1 on Linux.

User avatar
SecondMan
Site Admin
Posts: 3261
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 1
Location: Vancouver, Canada
Been thanked: 53 times
Contact:

Re: Fusion crash when too many fuses are used

#7

Post by SecondMan » Wed May 15, 2019 9:49 pm

Reportedly fixed in Fusion 16 :cheer:

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