View Single Post
Old 04-03-2015, 10:41 AM   #22
Camelot
Connoisseur
Camelot began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
Good news, i can reproduce

Double-click on second last site, the site must see on Book View.
Then right-click on last site and merge or Ctrl+M (1-3×).
When click on the outsite last site = crash.

Here the gdb output:
Code:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3bb1880 in QArrayData::shared_null ()
   from /usr/local/share/sigil/libQt5Core.so.5
(gdb) 
(gdb) bt
#0  0x00007ffff3bb1880 in QArrayData::shared_null ()
   from /usr/local/share/sigil/libQt5Core.so.5
#1  0x000000000061400e in TabManager::CreateTabForResource(Resource&, int, int, QString const&, MainWindow::ViewState, QUrl const&, bool) ()
#2  0x000000000061471a in TabManager::OpenResource(Resource&, int, int, QString const&, MainWindow::ViewState, QUrl const&, bool) ()
#3  0x00000000008659ed in MainWindow::OpenResource(Resource&, int, int, QString const&, MainWindow::ViewState, QUrl const&, bool) ()
#4  0x00000000008df600 in ?? ()
#5  0x00007ffff379ae7a in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/local/share/sigil/libQt5Core.so.5
#6  0x00000000008cd575 in BookBrowser::ResourceActivated(Resource&) ()
#7  0x00000000008a7c74 in BookBrowser::EmitResourceActivated(QModelIndex const&) ()
#8  0x00000000008dadfe in ?? ()
#9  0x00007ffff379ae7a in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/local/share/sigil/libQt5Core.so.5
#10 0x00007ffff79108a5 in QAbstractItemView::activated(QModelIndex const&) ()
   from /usr/local/share/sigil/libQt5Widgets.so.5
#11 0x00007ffff795e455 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) ()
   from /usr/local/share/sigil/libQt5Widgets.so.5
#12 0x00007ffff76ee256 in QWidget::event(QEvent*) ()
   from /usr/local/share/sigil/libQt5Widgets.so.5
i attached my example epub
I hope this help.
Attached Thumbnails
Click image for larger version

Name:	sigil_merge_bug.png
Views:	654
Size:	7.2 KB
ID:	136735  
Attached Files
File Type: epub merge_bug.epub (27.8 KB, 460 views)

Last edited by Camelot; 04-03-2015 at 10:46 AM.
Camelot is offline   Reply With Quote