<table><tr><td style="">dileepsankhla added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11051">View Revision</a></tr></table><br /><div><div><p>Actually I am getting the segmentation fault whenever I close Okular with a changed state of the side navigation panel and the code causing it is <tt style="background: #ebebeb; font-size: 13px;">Okular::Settings::setHideSideContainer( m_sidebar->isCollapsed() )</tt> inside the Part destructor. <tt style="background: #ebebeb; font-size: 13px;">m_sidebar</tt> is not causing this problem as I misunderstood the earlier; it gives the segfault for any value as the argument of <tt style="background: #ebebeb; font-size: 13px;">setHideSideContainer</tt> except for the boolean values <tt style="background: #ebebeb; font-size: 13px;">True</tt> and <tt style="background: #ebebeb; font-size: 13px;">False</tt>. It works fine for the absolute boolean values.<br />
Running it with gdb, I got segfault in <tt style="background: #ebebeb; font-size: 13px;">QAbstractScrollArea::horizontalScrollBarPolicy() const () from /usr/lib/libQt5Widgets.so.5</tt> that is confusing for me. I need an idea regarding what can be done in this case?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11051">https://phabricator.kde.org/D11051</a></div></div><br /><div><strong>To: </strong>dileepsankhla, Okular, aacid<br /><strong>Cc: </strong>aacid, sander, Okular, michaelweghorn, ngraham<br /></div>