Bug 112212 - assertion, lstner.cxx:101, "duplicate listener ..."
Summary: assertion, lstner.cxx:101, "duplicate listener ..."
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2017-09-04 14:15 UTC by Terrence Enger
Modified: 2017-09-13 15:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
output from bibisect in daily Linux dbgutil repository (1.92 KB, text/plain)
2017-09-04 14:15 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2017-09-04 14:15:31 UTC
Created attachment 136011 [details]
output from bibisect in daily Linux dbgutil repository

STR

(1) export SAL_USE_VCLPLUGIN=gtk3

(2) run soffice with parameters
        --norestore --nologo --impress
    Program presents dialog "Select a Template".
    
(3) Select first offered template, "Alizarin", and click <Open>.
    Program returns focus to the impress window "Untitled 1" and
    changes first slide according to the template.

(4) Type "<ctrl>+Q".  Program terminates with the assertion.  From the
    terminal output (lines rewrapped):

        warn:svx:9087:1:svtools/source/control/valueacc.cxx:664:
            Calling disposed object. Throwing exception:
        warn:sd:9087:1:sd/source/ui/unoidl/DrawController.cxx:832:
            Calling disposed DrawController object. Throwing exception:
        soffice.bin:
            /home/vmiklos/git/libreoffice/master/svl/source/notify
              /lstner.cxx:101:
                void SfxListener::StartListening(SfxBroadcaster&, bool):
                    Assertion `!(bListeningAlready && !bPreventDuplicates)
                               && "duplicate listener,
                                   try building with DBG_UTIL to find the
                                   other insert site."
                              ' failed.
        Application Error
        Fatal exception: Signal 6

The problem also happens with a new user directory.

I see this working on debian-stretch with xfce desktop and daily Linux
dbgutil bibisect repository.
Comment 1 Terrence Enger 2017-09-04 14:24:43 UTC
I now see that my bibisection merely found the day when the assertion
was committed to master.  Nothing useful here.  I am marking the
attached bibisect output obsolete.
Comment 2 Julien Nabet 2017-09-06 18:46:34 UTC
On pc Debian x86-64 with master sources updated today + enable-dbgutil + gtk3, I don't reproduce this.
What's the last commit of your build? Indeed, Noel and Michael had fixed some assertions cases related to the duplicate listener.
Comment 3 Terrence Enger 2017-09-07 13:19:16 UTC
Now, I can no longer reproduce the problem, neither with recent
versions from the daily Linux dbgutil bibisect repository, nor with
the versions where I first saw the problem and bibisected.  What I
wonder can I be doing differently today?

If anybody else can reproduce the problem, that would be good.  So
would be any advice about what I can do to clarify the situation.  In
the absence of either of these, I am leaning toward resolving this bug
INVALID.
Comment 4 Michael Stahl (allotropia) 2017-09-08 19:01:28 UTC
fixed by commit 53587dc7969b023416d865b516b7e800fc5de33a
"sd: AccessibleSlideSorterView: don't register twice at ViewShell"
Comment 5 Terrence Enger 2017-09-13 15:35:24 UTC
Thank you, Michael.

Considering that the problem disappeared for me, it is not worth much,
but ...

I see no assertion in daily Linux dbgutil bibisect repository version
2017-09-11.  I am setting status VERIFIED FIXED.