Win10 / Qt 5.4.2 Build

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Win10 / Qt 5.4.2 Build

Post by Nyyrazzilyss »

OK I just completed a full build of the current branch_30 using Qt 5.4.2

I also made a couple minor adjustments to the make recipe to match the same versions as my previous build ( and temporarily deleted the line in main.cpp that had been added for 5.6)

It compiled/built properly/ and is running with no problems: I built using the instructions i'd previously posted. It'll probably take a bit to figure out exactly what causes it to occur, but for now epsilon should probably be built with 5.4.2 rather then 5.6

I'll try changing packages individually to see if I can pinpoint the cause, for example i'm using boost 60, hunspell 1.3, etc

User avatar
Vadi
Posts: 4760
Joined: Sat Mar 14, 2009 3:13 pm

Re: Win10 / Qt 5.4.2 Build

Post by Vadi »

OK, thanks for that. Keep us posted.

User avatar
Vadi
Posts: 4760
Joined: Sat Mar 14, 2009 3:13 pm

Re: Win10 / Qt 5.4.2 Build

Post by Vadi »

This is the stacktrace for the problem with 5.6:

Code: Select all

1   ??                                                                                                    0x66d8d971 
2   ??                                                                                                    0x66d8d729 
3   ??                                                                                                    0x66d82670 
4   cur_fetch                                                                                             0x6a2822f3 
5   luaD_precall                                                                                          0x5e7e40   
6   luaV_execute                                                                                          0x5eb344   
7   luaD_call                                                                                             0x5e8240   
8   f_call                                                                                                0x5db140   
9   luaD_rawrunprotected                                                                                  0x5e7636   
10  luaD_pcall                                                                                            0x5e83a3   
11  lua_pcall                                                                                             0x5dc420   
12  TLuaInterpreter::callEventHandler                                TLuaInterpreter.cpp            12533 0x57513e   
13  TScript::callEventHandler                                        TScript.cpp                    109   0x5a1538   
14  Host::raiseEvent                                                 Host.cpp                       636   0x4ae7a7   
15  mudlet::slot_connection_dlg_finnished                            mudlet.cpp                     2246  0x4e3bf8   
16  mudlet::qt_static_metacall                                       moc_mudlet.cpp                 291   0x5d5b6d   
17  QMetaObject::activate                                            qobject.cpp                    3730  0x5ceb6f5  
18  QMetaObject::activate                                            qobject.cpp                    3595  0x5ceb03a  
19  dlgConnectionProfiles::signal_establish_connection               moc_dlgConnectionProfiles.cpp  219   0x5d206a   
20  dlgConnectionProfiles::slot_connectToServer                      dlgConnectionProfiles.cpp      1259  0x42056f   
21  dlgConnectionProfiles::accept                                    dlgConnectionProfiles.cpp      114   0x416339   
22  QDialog::qt_static_metacall                                      moc_qdialog.cpp                113   0x1a0129f4 
23  QMetaObject::activate                                            qobject.cpp                    3730  0x5ceb6f5  
24  QMetaObject::activate                                            qobject.cpp                    3595  0x5ceb03a  
25  QListWidget::itemDoubleClicked                                   moc_qlistwidget.cpp            367   0x1a0aff0f 
26  QListWidgetPrivate::_q_emitItemDoubleClicked                     qlistwidget.cpp                1090  0x1a0ade67 
27  QListWidget::qt_static_metacall                                  moc_qlistwidget.cpp            188   0x1a0af930 
28  QMetaObject::activate                                            qobject.cpp                    3730  0x5ceb6f5  
29  QMetaObject::activate                                            qobject.cpp                    3595  0x5ceb03a  
30  QAbstractItemView::doubleClicked                                 moc_qabstractitemview.cpp      646   0x1a06c1f7 
31  QAbstractItemView::mouseDoubleClickEvent                         qabstractitemview.cpp          1900  0x1a06240d 
32  QWidget::event                                                   qwidget.cpp                    8752  0x19e464ba 
33  QFrame::event                                                    qframe.cpp                     544   0x19f54638 
34  QAbstractScrollArea::viewportEvent                               qabstractscrollarea.cpp        1206  0x19fd8031 
35  QAbstractItemView::viewportEvent                                 qabstractitemview.cpp          1694  0x1a061228 
36  QAbstractScrollAreaPrivate::viewportEvent                        qabstractscrollarea_p.h        105   0x1a19c6f0 
37  QAbstractScrollAreaFilter::eventFilter                           qabstractscrollarea_p.h        121   0x1a19b62d 
38  QCoreApplicationPrivate::sendThroughObjectEventFilters           qcoreapplication.cpp           1126  0x5cc3107  
39  QApplicationPrivate::notify_helper                               qapplication.cpp               3800  0x19e0f860 
40  QApplication::notify                                             qapplication.cpp               3277  0x19e0d5f1 
41  QCoreApplication::notifyInternal2                                qcoreapplication.cpp           1015  0x5cc2dfd  
42  QCoreApplication::sendSpontaneousEvent                           qcoreapplication.h             228   0x1a17e215 
43  QApplicationPrivate::sendMouseEvent                              qapplication.cpp               2773  0x19e0c2cb 
44  QWidgetWindow::handleMouseEvent                                  qwidgetwindow.cpp              603   0x19e5eaf1 
45  QWidgetWindow::event                                             qwidgetwindow.cpp              233   0x19e5d7b4 
46  QApplicationPrivate::notify_helper                               qapplication.cpp               3804  0x19e0f880 
47  QApplication::notify                                             qapplication.cpp               3163  0x19e0ce90 
48  QCoreApplication::notifyInternal2                                qcoreapplication.cpp           1015  0x5cc2dfd  
49  QCoreApplication::sendSpontaneousEvent                           qcoreapplication.h             228   0xbf73491  
50  QGuiApplicationPrivate::processMouseEvent                        qguiapplication.cpp            1920  0xbc0a995  
51  QGuiApplicationPrivate::processWindowSystemEvent                 qguiapplication.cpp            1661  0xbc09b0c  
52  QWindowSystemInterface::sendWindowSystemEvents                   qwindowsysteminterface.cpp     648   0xbbfc28e  
53  QWindowsGuiEventDispatcher::sendPostedEvents                     qwindowsguieventdispatcher.cpp 76    0x23894f3b 
54  qt_internal_proc(HWND__ *, unsigned int, unsigned int, long) *16 qeventdispatcher_win.cpp       436   0x5d0ef89  
55  USER32!SetManipulationInputTarget                                                                     0x742584f3 
56  USER32!CallWindowProcW                                                                                0x74236c40 
57  USER32!DispatchMessageW                                                                               0x74236541 
58  USER32!DispatchMessageW                                                                               0x74236300 
59  QEventDispatcherWin32::processEvents                             qeventdispatcher_win.cpp       837   0x5d104b9  
60  QWindowsGuiEventDispatcher::processEvents                        qwindowsguieventdispatcher.cpp 68    0x23894ef7 
61  QEventLoop::processEvents                                        qeventloop.cpp                 128   0x5cc0ad8  
62  QEventLoop::exec                                                 qeventloop.cpp                 204   0x5cc0d72  
63  QDialog::exec                                                    qdialog.cpp                    541   0x1a010901 
64  mudlet::connectToServer                                          mudlet.cpp                     1803  0x4e0ef6   
65  mudlet::qt_static_metacall                                       moc_mudlet.cpp                 314   0x5d5cf3   
66  QMetaObject::activate                                            qobject.cpp                    3730  0x5ceb6f5  
67  QMetaObject::activate                                            qobject.cpp                    3595  0x5ceb03a  
68  QAction::triggered                                               moc_qaction.cpp                369   0x19e048c7 
69  QAction::activate                                                qaction.cpp                    1163  0x19e03b96 
70  QAction::trigger                                                 qaction.h                      177   0x1a1e8a02 
71  QToolButton::nextCheckState                                      qtoolbutton.cpp                961   0x19fd4489 
72  QAbstractButtonPrivate::click                                    qabstractbutton.cpp            386   0x19f0d2b6 
73  QAbstractButton::mouseReleaseEvent                               qabstractbutton.cpp            1002  0x19f0e63b 
74  QToolButton::mouseReleaseEvent                                   qtoolbutton.cpp                611   0x19fd30d0 
75  QWidget::event                                                   qwidget.cpp                    8748  0x19e46495 
76  QAbstractButton::event                                           qabstractbutton.cpp            959   0x19f0e4b0 
77  QToolButton::event                                               qtoolbutton.cpp                977   0x19fd44f0 
78  QApplicationPrivate::notify_helper                               qapplication.cpp               3804  0x19e0f880 
79  QApplication::notify                                             qapplication.cpp               3277  0x19e0d5f1 
80  QCoreApplication::notifyInternal2                                qcoreapplication.cpp           1015  0x5cc2dfd  
81  QCoreApplication::sendSpontaneousEvent                           qcoreapplication.h             228   0x1a17e215 
82  QApplicationPrivate::sendMouseEvent                              qapplication.cpp               2773  0x19e0c2cb 
83  QWidgetWindow::handleMouseEvent                                  qwidgetwindow.cpp              603   0x19e5eaf1 
84  QWidgetWindow::event                                             qwidgetwindow.cpp              233   0x19e5d7b4 
85  QApplicationPrivate::notify_helper                               qapplication.cpp               3804  0x19e0f880 
86  QApplication::notify                                             qapplication.cpp               3163  0x19e0ce90 
87  QCoreApplication::notifyInternal2                                qcoreapplication.cpp           1015  0x5cc2dfd  
88  QCoreApplication::sendSpontaneousEvent                           qcoreapplication.h             228   0xbf73491  
89  QGuiApplicationPrivate::processMouseEvent                        qguiapplication.cpp            1877  0xbc0a57e  
90  QGuiApplicationPrivate::processWindowSystemEvent                 qguiapplication.cpp            1661  0xbc09b0c  
91  QWindowSystemInterface::sendWindowSystemEvents                   qwindowsysteminterface.cpp     648   0xbbfc28e  
92  QWindowsGuiEventDispatcher::sendPostedEvents                     qwindowsguieventdispatcher.cpp 76    0x23894f3b 
93  qt_internal_proc(HWND__ *, unsigned int, unsigned int, long) *16 qeventdispatcher_win.cpp       436   0x5d0ef89  
94  USER32!SetManipulationInputTarget                                                                     0x742584f3 
95  USER32!CallWindowProcW                                                                                0x74236c40 
96  USER32!DispatchMessageW                                                                               0x74236541 
97  USER32!DispatchMessageW                                                                               0x74236300 
98  QEventDispatcherWin32::processEvents                             qeventdispatcher_win.cpp       837   0x5d104b9  
99  QWindowsGuiEventDispatcher::processEvents                        qwindowsguieventdispatcher.cpp 68    0x23894ef7 
100 QEventLoop::processEvents                                        qeventloop.cpp                 128   0x5cc0ad8  
101 QEventLoop::exec                                                 qeventloop.cpp                 204   0x5cc0d72  
102 QCoreApplication::exec                                           qcoreapplication.cpp           1285  0x5cc347f  
103 QGuiApplication::exec                                            qguiapplication.cpp            1607  0xbc09992  
104 QApplication::exec                                               qapplication.cpp               2979  0x19e0c961 
105 qMain                                                            main.cpp                       381   0x4d2d6e   
106 WinMain *16                                                      qtmain_win.cpp                 113   0x5d9b10   
107 main                                                                                                  0x788aed   

User avatar
Vadi
Posts: 4760
Joined: Sat Mar 14, 2009 3:13 pm

Re: Win10 / Qt 5.4.2 Build

Post by Vadi »

I didn't have luck recompiling it with 5.4 - still crashed. I'm out of time for this today, will look at it tomorrow.

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Win10 / Qt 5.4.2 Build

Post by Nyyrazzilyss »

Vadi wrote:I didn't have luck recompiling it with 5.4 - still crashed. I'm out of time for this today, will look at it tomorrow.
It's a bit slower, but I tend to use virtual boxes = Everything gets rebuilt. I have the mudlet I built yesterday currently running a bot that uses a large number of my script functions in a fresh virtualbox, no crashes.

I changed src.pro to:

QT += network opengl uitools multimedia

} else:win32: {
LIBS += -L"C:\\mudlet5_package" \
-L"C:\\mingw32\\lib" \
-L"C:\\mingw32\\bin" \
-llua51 \
-lpcre-1 \
-llibhunspell-1.3-0 \
-lzip \ # for dlgPackageExporter
-lz \ # for ctelnet.cpp
-L"C:\\mudlet5_package\\yajl-master\\yajl-2.0.5\\lib" \
-lyajl \
-lopengl32 \
-lglut \
-lglu32

In main.cpp, I commented out the line that got added the other day.

Specific file versions I used were
hunspell-1.3.2
libzip-0.11.2
lloyd-yajl-f4b2b1a
lua-5.1.5
pcre-8.38
sqlite-autoconf-3071700
zlib-1.2.8
zziplib-0.13.62
boost_1_60_0

I completed the build using exact file versions/manual file edits/commands i'd listed in the original post.

btw - can I just delete all the lines that reference mudlet5_package in a windows path? Seeing as it doesn't exist

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Win10 / Qt 5.4.2 Build

Post by Nyyrazzilyss »

If you want it:

I just changed -delta to -Epsilon (first E capitalized to identify it being my compile), and rebuilt my branch_30 compile. It has all commits as of today and is built with 5.4.2 . It's also unsigned, which gives the windows warning message.

I've uploaded a zipfile of it to https://github.com/Nyyrazzilyss/NyyLIB/ ... elease.zip

I also did a quick testrun of that binary on a new virtualbox with nothing else installed on it, and it ran my script error free (countless triggers, mapper, sql access, sound, etc)

(edit)

I'd only changed -delta to -Epsilon in one spot - Corrected, recompiled, and reposted (same link)

User avatar
Vadi
Posts: 4760
Joined: Sat Mar 14, 2009 3:13 pm

Re: Win10 / Qt 5.4.2 Build

Post by Vadi »

Which line did you comment out in main.cpp? There have been a few lines added since.

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Win10 / Qt 5.4.2 Build

Post by Nyyrazzilyss »

I removed the windows only line in main.cpp referenced in pr 317

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Win10 / Qt 5.4.2 Build

Post by Nyyrazzilyss »

I've just completed a successful build of Mudlet using Qt 5.6 - It was done on a new vanilla system.

I've got it running with no errors / or problems with the SQL calls.

When I built, I changed the version used on a couple of the libraries:

pcre-8.38
boost_1_60_0
hunspell-1.3.2

I'll try another build using the more recent hunspell: Assuming that runs successfully, is there any reason not to use the more recent pcre or boost?

User avatar
Vadi
Posts: 4760
Joined: Sat Mar 14, 2009 3:13 pm

Re: Win10 / Qt 5.4.2 Build

Post by Vadi »

I don't think so. I haven't had success myself with 5.4.2 from scratch, but I'll keep trying.

Post Reply