ride_wind
Topic Author
Posts: 34
Joined: 07 Feb 2018, 03:33

Two Crashes in UE4

28 Mar 2018, 07:39

Hi,
In my game running, there have two crashes.
They appear many times, but not must.

First, when i stop to play game in editor. This is it's call stack.
	000000770c353000()	Unknown	Non-user code
 	Noesis.dll!000007fec1feecfc()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ff56ea()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fddac5()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73376()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f4572b()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f45422()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f1850e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e482f3()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f1565a()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f1a437()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f8d795()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e7b1c5()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e435c2()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e42818()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4f22f()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4225e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e42e97()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e40fb0()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e5de16()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e59780()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed99fe()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4564()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fddad9()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73376()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f44948()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f9b51e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73f2e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73394()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f44948()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ef3053()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fe4e40()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fe4bd7()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fe576a()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73f2e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73394()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f44948()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ef3053()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4d9e2()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4d7bc()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e8b68b()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e8d17f()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e9b5c7()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e648de()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e68513()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed474e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed2649()	Unknown	No symbols loaded.
 	[External Code]		Annotated Frame
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73f2e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73394()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f44948()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ef3053()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73f2e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73394()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f44948()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ef3053()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4d9e2()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4d7bc()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e8b68b()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e8d17f()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e9b5c7()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e648de()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e68513()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed474e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed2649()	Unknown	No symbols loaded.
 	[External Code]		Annotated Frame
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73f2e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e73394()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f44948()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ef3053()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4d9e2()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e4d7bc()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e8b68b()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e8d17f()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e9b5c7()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e648de()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e68513()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed474e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ed2649()	Unknown	No symbols loaded.
 	[External Code]		Annotated Frame
 	Noesis.dll!000007fec1ed4e9d()	Unknown	No symbols loaded.
>	UE4Editor-NoesisRuntime-Win64-Debug.dll!Noesis::Ptr<Noesis::FrameworkElement>::Reset() Line 158	C++	Symbols loaded.
 	UE4Editor-NoesisRuntime-Win64-Debug.dll!UNoesisInstance::TermInstance() Line 469	C++	Symbols loaded.
 	UE4Editor-NoesisRuntime-Win64-Debug.dll!UNoesisInstance::BeginDestroy() Line 512	C++	Symbols loaded.
 	UE4Editor-CoreUObject-Win64-Debug.dll!UObject::ConditionalBeginDestroy() Line 911	C++	Symbols loaded.
Second, it appear when i call the NotifyChanged() or NotifyArrayChanged().
	Noesis.dll!000007fec1fbecf6()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fc56ea()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1fadac5()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e43376()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f1572b()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1f15422()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1ee850e()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e182f3()	Unknown	No symbols loaded.
 	Noesis.dll!000007fec1e182f3()	Unknown	No symbols loaded.
>	UE4Editor-NoesisRuntime-Win64-Debug.dll!NoesisArrayWrapperBase::NotifyChanged() Line 846	C++	Symbols loaded.
 	UE4Editor-NoesisRuntime-Win64-Debug.dll!NoesisNotifyArrayPropertyChanged(UObject * Owner, FName ArrayPropertyName) Line 2243	C++	Symbols loaded.
 	UE4Editor-NoesisRuntime-Win64-Debug.dll!UNoesisFunctionLibrary::NotifyArrayChanged(UObject * Owner, FName PropertyName) Line 34	C++	Symbols loaded.
Thanks.
 
User avatar
hcpizzi
Site Admin
Posts: 220
Joined: 09 Feb 2012, 12:40

Re: Two Crashes in UE4

28 Mar 2018, 08:25

Hi,

For the second one I added extra checks to NoesisNotifyArrayPropertyChanged last week. Could you try with the latest code from the master branch? The problem I fixed was a null pointer in that function, but it looks like your crash is not there. Still worth a try.

The other one looks trickier to debug without your assets. Would you mind sharing your project with us?
 
User avatar
hcpizzi
Site Admin
Posts: 220
Joined: 09 Feb 2012, 12:40

Re: Two Crashes in UE4

28 Mar 2018, 09:49

Next time either of them happens, could you please create a mini dump, open a ticket in our bug tracker and attach it?

Thank you very much.
 
UE4
Posts: 62
Joined: 29 Dec 2017, 06:32

Re: Two Crashes in UE4

29 Mar 2018, 04:33

Hi,

For the second one I added extra checks to NoesisNotifyArrayPropertyChanged last week. Could you try with the latest code from the master branch? The problem I fixed was a null pointer in that function, but it looks like your crash is not there. Still worth a try.

The other one looks trickier to debug without your assets. Would you mind sharing your project with us?
Hi,
the NoesisNotifyArrayPropertyChanged(Object, propertyName) seemed not work if the array is defined in C++(with UPROPERTY), instead of Blueprint
 
User avatar
hcpizzi
Site Admin
Posts: 220
Joined: 09 Feb 2012, 12:40

Re: Two Crashes in UE4

02 Apr 2018, 19:06

I just tested it and it seems to work for me. With the code before my last commit it crashed if the name wasn't the name of a valid property. With the latest code it doesn't crash.

That stack looks too deep to be a problem with NoesisNotifyArrayPropertyChanged. Could you create a crash dump? You can do it from Visual Studio, in the debug Menu, once the game has crashed.

Thank you,
 
User avatar
hcpizzi
Site Admin
Posts: 220
Joined: 09 Feb 2012, 12:40

Re: Two Crashes in UE4

09 Apr 2018, 14:23

Hi ride_wind,

A bug was recently discovered that could be causing both those crashes. When you run that XAML, could you take a look at the Output Log window and see if there's a warning from Noesis that reads: "Only EventTriggers are allowed in FrameworkElement.Triggers"?

If you find that, it means you've tried to use a Trigger other than EventTrigger for the Triggers property of one of your elements. It is not supported, and there's currently a bug that could cause crashes similar to yours. In that case, could you remove the Trigger causing that warning and try to reproduce the crash again?

We will fix the bug so it doesn't crash even if the Trigger is there, but that should fix your problem for now.
 
ride_wind
Topic Author
Posts: 34
Joined: 07 Feb 2018, 03:33

Re: Two Crashes in UE4

10 Apr 2018, 05:15

Hi hcpizzi,

I don't see this warning : "Only EventTriggers are allowed in FrameworkElement.Triggers" , in my project, but it has other warning before.
But now I fixed code , there has not warning and those two crashes don't exist.

There has another callstack in Android platform about notifychanged crash,
hope it can help you.
AndroidCallStack.png
 
User avatar
hcpizzi
Site Admin
Posts: 220
Joined: 09 Feb 2012, 12:40

Re: Two Crashes in UE4

10 Apr 2018, 08:38

What was the warning that you fixed?
 
UE4
Posts: 62
Joined: 29 Dec 2017, 06:32

Re: Two Crashes in UE4

12 Apr 2018, 07:18

Hi,
Maybe NotifyArrayChanged has bug.
I just make little modify to tge QuestLog sample, put the VM to C++

struct FQuest
{
title
image
description
}

class QuestLogVM
{
array<FQuest> Quests;
//this is new question, how to binding selectedItem to this?
FQuest SelectedQuest;
}

the 2 c++ class works well when I call NotifyArrayChanged(vm, Quests) in blueprint graph

however, I create a blueprint class inheriented from QuestLogVM, then the NotifyArrayChanged does not work
 
UE4
Posts: 62
Joined: 29 Dec 2017, 06:32

Re: Two Crashes in UE4

12 Apr 2018, 07:47

and seemed there is memory problem in NotifyArrayChnaged()
QQ图片20180412134413.png
if I break the NotifyArrayChanged node, the ram used by UE4 remains unchanged, while I link the node , the used ram seemed crazy increase.

Who is online

Users browsing this forum: Bing [Bot], doomtoo and 1 guest