EphyWindow is leaked in unknown circumstance
Using 45.0-9-gfd75062d+, I just hit the new assert added in !1384 (merged), indicating that an EphyWindow was leaked:
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
at pthread_kill.c:44
#1 0x00007fadb3490e83 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007fadb343edce in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007fadb342683f in __GI_abort () at abort.c:79
#4 0x00007fadb43b5f4b in g_assertion_message
(domain=domain@entry=0x7fadb467c75c "epiphany", file=file@entry=0x7fadb4679fc4 "../src/ephy-shell.c", line=line@entry=956, func=func@entry=0x7fadb468b650 <__func__.16> "ephy_shell_finalize", message=message@entry=0x55cfb26496c0 "assertion failed: (!shell->windows)") at ../glib/gtestutils.c:3497
#5 0x00007fadb4420167 in g_assertion_message_expr
(domain=domain@entry=0x7fadb467c75c "epiphany", file=file@entry=0x7fadb4679fc4 "../src/ephy-shell.c", line=line@entry=956, func=func@entry=0x7fadb468b650 <__func__.16> "ephy_shell_finalize", expr=expr@entry=0x7fadb467a051 "!shell->windows") at ../glib/gtestutils.c:3523
#6 0x00007fadb4624583 in ephy_shell_finalize (object=0x55cfb22fa320 [EphyShell]) at ../src/ephy-shell.c:956
#7 0x00007fadb44fcd8f in g_object_unref (_object=0x55cfb22fa320) at ../gobject/gobject.c:3941
#8 g_object_unref (_object=0x55cfb22fa320) at ../gobject/gobject.c:3805
#9 0x000055cfb0393138 in main (argc=<optimized out>, argv=<optimized out>) at ../src/ephy-main.c:463
Unfortunately, it only happened once and I don't know how to reproduce it. But I do know there was only one EphyWindow total.