bugPSPP - Bugs: bug #50860, Tests with render-test on wine end...

 
 

bug #50860: Tests with render-test on wine end in an abort.

Submitter:  Harry Thijssen <unknown_one>
Submitted:  Sun 23 Apr 2017 03:29:43 PM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  None Assigned to:  None
Open/Closed:  Open Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 26 Apr 2017 02:31:01 PM UTC, comment #2: 

Unfortunately the patch doens't make any difference

Harry Thijssen <unknown_one>
Mon 24 Apr 2017 06:19:10 PM UTC, comment #1: 

The failure message indicates that it's a null pointer dereference.  Usually I start out with "valgrind" so I tried that, but I can't see any invalid accesses in the rendering tests.

I wonder whether it's specific to a particular driver?  Try applying the attached patch and see if you still get the aborts.

(file #40486)

Ben Pfaff <blp>
Group administrator
Sun 23 Apr 2017 03:29:43 PM UTC, original submission:  

Pushed this from pspp-dev to the bug list.

The tests with render-test on wine end in an abort. See the dump below:

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0042ade0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0042ade0 ESP:0087f980 EBP:0087f998 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000
 ESI:00259358 EDI:00000010
Stack dump:
0x0087f980:  1a698c94 c4c4fb97 3717f7be 0047bc65
0x0087f990:  00000000 00000000 0087f9b8 0042af2a
0x0087f9a0:  004b4058 1a698c94 3e6806ed 00000000
0x0087f9b0:  00000000 4d430000 0087fa18 0042b064
0x0087f9c0:  004b4058 1a698c94 00000000 4d430003
0x0087f9d0:  00000000 00000000 00000000 00000000
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x0042ade0 in render-test (+0x2ade0) (0x0087f998)
  1 0x0042af2a in render-test (+0x2af29) (0x0087f9b8)
  2 0x0042b064 in render-test (+0x2b063) (0x0087fa18)
  3 0x0042bb1d in render-test (+0x2bb1c) (0x0087fa68)
  4 0x0042bc9d in render-test (+0x2bc9c) (0x0087faa8)
  5 0x0042b631 in render-test (+0x2b630) (0x0087fae8)
  6 0x0042b34a in render-test (+0x2b349) (0x0087fb18)
  7 0x004258ac in render-test (+0x258ab) (0x0087fb48)
  8 0x0042355a in render-test (+0x23559) (0x0087fb88)
  9 0x00403ec0 in render-test (+0x3ebf) (0x0087fbb8)
  10 0x004029a7 in render-test (+0x29a6) (0x0087fc38)
  11 0x00402b52 in render-test (+0x2b51) (0x0087fc98)
  12 0x00408261 in render-test (+0x8260) (0x0087fcd8)
  13 0x00408394 in render-test (+0x8393) (0x0087fd08)
  14 0x00414df9 in render-test (+0x14df8) (0x0087fd28)
  15 0x004746d1 in render-test (+0x746d0) (0x0087fd98)
  16 0x004013e3 in render-test (+0x13e2) (0x0087fe60)
  17 0x7b86506c call_process_entry+0xb() in kernel32 (0x0087fe78)
  18 0x7b866173 in kernel32 (+0x46172) (0x0087feb8)
  19 0x7bc83bac call_thread_func_wrapper+0xb() in ntdll (0x0087fed8)
  20 0x7bc86dad call_thread_func+0x7c() in ntdll (0x0087ffa8)
  21 0x7bc83b8a RtlRaiseException+0x21() in ntdll (0x0087ffc8)
  22 0x7bc5760e call_dll_entry_point+0x3fd() in ntdll (0x0087ffe8)
  23 0xf75f6bed wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  24 0xf75f6cab wine_switch_to_stack+0x2a() in libwine.so.1 (0xff9cff88)
  25 0x7bc5d9b9 LdrInitializeThunk+0x238() in ntdll (0xff9cffc8)
  26 0x7b86ca03 __wine_kernel_init+0xa12() in kernel32 (0xff9d10e8)
  27 0x7bc5e8b3 __wine_process_init+0x192() in ntdll (0xff9d1178)
  28 0xf75f4340 wine_init+0x29f() in libwine.so.1 (0xff9d11d8)
  29 0x7bf00ebc main+0x8b() in <wine-loader> (0xff9d1628)
  30 0xf74155d3 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x0042ade0: movl    0x0(%eax),%eax
Modules:
Module    Address            Debug info    Name (70 modules)
PE      400000-  672000    Dwarf           render-test
PE    61800000-61861000    Deferred        libharfbuzz-0
PE    61ec0000-61ee3000    Deferred        libintl-8
PE    63080000-6309e000    Deferred        zlib1
PE    63c40000-63c8c000    Deferred        libgobject-2.0-0
PE    64b40000-64b54000    Deferred        libwinpthread-1
PE    65180000-651c0000    Deferred        libfontconfig-1
PE    65500000-6559f000    Deferred        libpixman-1-0
PE    65780000-657c7000    Deferred        libpango-1.0-0
PE    66200000-66370000    Deferred        libiconv-2
PE    687c0000-688f2000    Deferred        libglib-2.0-0
PE    68d40000-68d79000    Deferred        libpng16-16
PE    68fc0000-6909d000    Deferred        libcairo-2
PE    6b480000-6b497000    Deferred        libpangowin32-1.0-0
PE    6b680000-6b6fe000    Deferred        libfreetype-6
PE    6b940000-6b951000    Deferred        libffi-6
PE    6c000000-6c03a000    Deferred        libgslcblas-0
PE    6d0c0000-6d0df000    Deferred        libgcc_s_sjlj-1
PE    6d6c0000-6d6d5000    Deferred        libpangocairo-1.0-0
PE    6d900000-6d91a000    Deferred        libpangoft2-1.0-0
PE    6f0c0000-6f269000    Deferred        libgsl-0
PE    71140000-71265000    Deferred        libxml2-2
ELF    7b800000-7ba6f000    Dwarf           kernel32<elf>
  \-PE    7b820000-7ba6f000    \               kernel32
ELF    7bc00000-7bcf1000    Dwarf           ntdll<elf>
  \-PE    7bc10000-7bcf1000    \               ntdll
ELF    7bf00000-7bf04000    Dwarf           <wine-loader>
ELF    7e413000-7e43c000    Deferred        libexpat.so.1
ELF    7e43c000-7e47a000    Deferred        libfontconfig.so.1
ELF    7e47a000-7e4b6000    Deferred        libpng16.so.16
ELF    7e4b6000-7e4cd000    Deferred        libz.so.1
ELF    7e4cd000-7e565000    Deferred        libfreetype.so.6
ELF    7e56a000-7e590000    Deferred        imm32<elf>
  \-PE    7e570000-7e590000    \               imm32
ELF    7e590000-7e5d5000    Deferred        usp10<elf>
  \-PE    7e5a0000-7e5d5000    \               usp10
ELF    7e5d5000-7e600000    Deferred        msacm32<elf>
  \-PE    7e5e0000-7e600000    \               msacm32
ELF    7e600000-7e6bb000    Deferred        winmm<elf>
  \-PE    7e610000-7e6bb000    \               winmm
ELF    7e6bb000-7e737000    Deferred        shlwapi<elf>
  \-PE    7e6d0000-7e737000    \               shlwapi
ELF    7e737000-7e985000    Deferred        shell32<elf>
  \-PE    7e750000-7e985000    \               shell32
ELF    7e985000-7ea0a000    Deferred        rpcrt4<elf>
  \-PE    7e990000-7ea0a000    \               rpcrt4
ELF    7ea0a000-7eb52000    Deferred        ole32<elf>
  \-PE    7ea20000-7eb52000    \               ole32
ELF    7eb52000-7eb66000    Deferred        msimg32<elf>
  \-PE    7eb60000-7eb66000    \               msimg32
ELF    7eb66000-7eba2000    Deferred        ws2_32<elf>
  \-PE    7eb70000-7eba2000    \               ws2_32
ELF    7eba2000-7ec1f000    Deferred        advapi32<elf>
  \-PE    7ebb0000-7ec1f000    \               advapi32
ELF    7ec1f000-7ed42000    Deferred        gdi32<elf>
  \-PE    7ec30000-7ed42000    \               gdi32
ELF    7ed42000-7eea0000    Deferred        user32<elf>
  \-PE    7ed60000-7eea0000    \               user32
ELF    7eea0000-7ef59000    Deferred        msvcrt<elf>
  \-PE    7eec0000-7ef59000    \               msvcrt
ELF    7ef8e000-7efd5000    Deferred        libm.so.6
ELF    7efd6000-7efe5000    Deferred        libbz2.so.1
ELF    7efe5000-7f000000    Deferred        version<elf>
  \-PE    7eff0000-7f000000    \               version
ELF    f73f8000-f73fd000    Deferred        libdl.so.2
ELF    f73fd000-f75a6000    Dwarf           libc.so.6
ELF    f75a6000-f75c2000    Deferred        libpthread.so.0
ELF    f75ed000-f77a5000    Dwarf           libwine.so.1
ELF    f77a6000-f77c9000    Deferred        ld-linux.so.2
ELF    f77cc000-f77cd000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
    0000001e    0
    0000001d    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001c    0
    00000019    0
    00000018    0
    00000013    0
0000001a plugplay.exe
    00000020    0
    0000001f    0
    0000001b    0
0000000b render-test.exe
    00000044    0
00000024 (D) Z:\home\harry\pspp-master-20170417\pspp-0.10.4-g11da9c\tests\output\.libs\render-test.exe
    00000047    0 <==
00000043 explorer.exe
    0000002a    0
    0000002e    0
    00000037    0
    00000045    0
System information:
    Wine build: wine-1.8.4
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.36-8-default

Harry Thijssen <unknown_one>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #40486:  render.patch added by blp (458B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Updated the item)
  • -email is unavailable- added by unknown_one (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-24 blp Attached File- Added render.patch, #40486

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code