lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Upgrading third party libraries


From: Vadim Zeitlin
Subject: Re: [lmi] Upgrading third party libraries
Date: Thu, 23 Feb 2023 16:32:21 +0100

On Thu, 23 Feb 2023 14:31:24 +0000 Greg Chicares <gchicares@sbcglobal.net> 
wrote:

GC> On 2/17/23 13:24, Vadim Zeitlin wrote:
GC> > 
GC> >  I've created a rather trivial change, updating only the wxWidgets
GC> > submodule and not changing anything at all in lmi sources themselves
GC> > (because no changes are required), which is available as PR 226[1] and
GC> > corresponds to xanadu/wx-upgrade branch in your nomenclature. It upgrades
GC> > wxWidgets to v3.2.2.1
GC> 
GC> Segfault observed. I upgraded locally, thus:
GC> 
GC>   $ git cherry-pick ..xanadu/wx-upgrade
GC>   $ git submodule update
GC>   $ pushd third_party/wx
GC>   $ git submodule update

 This is completely unrelated but you might prefer to use

        $ git submodule update --recursive

which will do the same thing (and potentially more, if necessary).

GC>   $ ./install_wx.sh
GC>   $ make raze; time ./nychthemeral_test.sh

 I'm not quite familiar with "make raze", but would this trigger execution
of "install_wxpdfdoc.sh"? If not, you absolutely have to run it too after
updating wx, as wxPdfDoc depends on it.

GC> and now I get a segfault on the automated GUI test, which I've
GC> narrowed down to the 'pdf_census' test.

 Thanks. Unfortunately I don't see it under Debian Sid:

% LMI_TRIPLET=x86_64-w64-mingw32 LMI_COMPILER=gcc DISPLAY=:10 
WINEDEBUG=-all,err+all,fixme+all,fixme-hid,fixme-imm wine 
/opt/lmi/bin/wx_test.exe --ash_nazg --data_path=/opt/lmi/data -t pdf_census
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
003c:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
0050:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
0074:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
0094:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
00c4:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
00dc:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
0100:fixme:ntdll:init_cpu_info Failed to get logical processor information, 
status 0xc0000002.
DPI scale factor is not unity, so tests may fail with xvfb
NOTE: starting the test suite
pdf_census: started
0024:fixme:explorerframe:taskbar_list_SetProgressState iface 00000000010A1FA0, 
hwnd 00000000000400B6, flags 0 stub!
0024:fixme:explorerframe:taskbar_list_SetProgressValue iface 00000000010A1FA0, 
hwnd 00000000000400B6, ullCompleted 1, ullTotal 1 stub!
0024:fixme:event:wait_for_withdrawn_state window 0x400b6/a00007 wait timed out
time=2270ms (for pdf_census)
pdf_census: ok
time=2272ms (for all tests)
SUCCESS: 1 test successfully completed.
0024:fixme:event:wait_for_withdrawn_state window 0x1005c/a00004 wait timed out

(and, FWIW, all the other tests pass too here).

GC> Backtrace:

 Unfortunately this is not very helpful, e.g. (after unwrapping the first
few lines and removing the error messages about not being able to get the
registers values)

GC> =>0 0x00000002ad01cea0 atexit+0x3ebb30(func=<internal error>) 
[Z:\opt\lmi\bin\build\x86_64-w64-mingw32-x86_64-w64-mingw32-crt\mingw-w64-crt\crt\crtdll.c:206]
 in wxmsw32u_gcc_x86_64-w64-mingw32 (0x000000000021b1c0)
GC>   1 0x00000003a89deec9 atexit+0xdb59(func=<internal error>) 
[Z:\opt\lmi\bin\build\x86_64-w64-mingw32-x86_64-w64-mingw32-crt\mingw-w64-crt\crt\crtdll.c:206]
 in libwxcode_mswu_pdfdoc-3.2-0 (0x000000000021b1c0)
GC>   2 0x00000003a89de66a atexit+0xd2fa(func=<internal error>) 
[Z:\opt\lmi\bin\build\x86_64-w64-mingw32-x86_64-w64-mingw32-crt\mingw-w64-crt\crt\crtdll.c:206]
 in libwxcode_mswu_pdfdoc-3.2-0 (0x000000000021b1f0)
GC>   3 0x00000003a89de080 atexit+0xcd10(func=<internal error>) 
[Z:\opt\lmi\bin\build\x86_64-w64-mingw32-x86_64-w64-mingw32-crt\mingw-w64-crt\crt\crtdll.c:206]
 in libwxcode_mswu_pdfdoc-3.2-0 (0x000000000021b230)
GC>   4 0x00000002e009367c pdf_writer_wx+0x5c(this=000000000021B808, 
output_filename=000000000021B5A0, orientation=wxPORTRAIT, 
font_sizes=00000002E01282E0) [Z:\opt\lmi\src\lmi\pdf_writer_wx.cpp:102] in 
skeleton (0x000000000000004e)
GC>   5 0x00000002e0089c40 ~ConvertedBuffer(this=000000000021B560, 
output_filename=000000000021B5A0, orientation=-688328144, 
font_sizes=000000000021B760) [Z:\opt\lmi\local\include\wx-3.2\wx\string.h:301] 
in skeleton (0x000000000000004e)
GC>   6 0x00000002e0089c40 ~wxString(this=<>, output_filename=<>, 
orientation=<>, font_sizes=<>) [Z:\opt\lmi\src\lmi\pdf_command_wx.cpp:802] in 
skeleton (0x000000000000004e)
GC>   7 0x00000002e0089c40 pdf_illustration+0x6f0(this=<>, ledger=[<>, 
pdf_out_file=[<>) [Z:\opt\lmi\src\lmi\pdf_command_wx.cpp:802] in skeleton 
(0x000000000000004e)
GC>   8 0x00000002e008baa6 pdf_illustration_naic+0x16(pdf_out_file=<internal 
error>, ledger=<internal error>, this=<internal error>) 
[Z:\opt\lmi\src\lmi\pdf_command_wx.cpp:3245] in skeleton(0x000000000021d700)

there don't seem to be any symbols for wxPdfDoc library itself.

 I really hope the problem is just due to not rebuilding it, as otherwise I
have absolutely no idea what's going on.

 Please let me know if rerunning install_wxpdfdoc.sh helps,
VZ

Attachment: pgp_mR2uVU1S8.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]