[hardy] wine crashed using truespace 3.2

Bug #203225 reported by Alexander Rødseth
6
Affects Status Importance Assigned to Milestone
Wine
Fix Released
Medium
wine (Ubuntu)
Fix Released
Low
Scott Ritchie

Bug Description

=== How to reproduce ===

1. Download and install Truespace 3.2 (http://forms.caligari.com/forms/ts3all_free.html), they will e-mail the serial number
2. Run Truespace (wine c:\\truespace3\\ts3)
3. Click "Metaball tool" (green icon at the bottom)
4. Click "Add sphere as a metaball primitive" (green sphere to the left)
5. Click "Add sphere as a metaball primitive", again
6. Click "Deform Object" (at the bottom, looks like an egg), answer "yes" to the question
7. Click "Magnetic Tool" (looks like something is exploding, located at the bottom)
8. Crash

=== /etc/lsb-release ===

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

=== wine --version ==

wine-0.9.57

=== apt-cache policy ===

wine:
  Installed: 0.9.57-0ubuntu1
  Candidate: 0.9.57-0ubuntu1
  Version table:
 *** 0.9.57-0ubuntu1 0
        500 http://no.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

=== Command to run the setup ===

% wine tSetup32.exe

=== Backtrace ===

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:advapi:CheckTokenMembership ((nil) 0x157168 0x34fb84) stub!
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:system:SystemParametersInfoW Unimplemented action: 8192 (SPI_GETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:win:EnumDisplayDevicesW ((null),0,0x34f6b8,0x00000000), stub!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1ac8b0) The App is requesting a D3D device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1ac8b0) You may want to contact wine-devel for help
fixme:heap:RtlCompactHeap (0x1470000, 0x0) stub
wine: Unhandled page fault on read access to 0x00000030 at address 0x10092bbf (thread 0025), starting debugger...
Unhandled exception: page fault on read access to 0x00000030 in 32-bit code (0x10092bbf).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:10092bbf ESP:0034f0ac EBP:0000ffff EFLAGS:00010206( - 00 - RIP1)
 EAX:00000000 EBX:014a0002 ECX:0034f07c EDX:00020048
 ESI:00000001 EDI:00000001
Stack dump:
0x0034f0ac: 00000001 014ad360 014a0002 ffffffff
0x0034f0bc: 1003789b 014a79e0 00000002 ffffffff
0x0034f0cc: ffffffff 00000000 10286a28 10037945
0x0034f0dc: 014ad360 014a0227 101f4705 10286a28
0x0034f0ec: 101f20a7 00000000 014a0227 100fd14b
0x0034f0fc: 100fe4d6 00000227 00000001 00000004
Backtrace:
=>1 0x10092bbf in tsxapi (+0x92bbf) (0x0000ffff)
  2 0x00000000 (0x00000000)
0x10092bbf: movl 0x30(%eax),%ecx
Modules:
Module Address Debug info Name (104 modules)
PE 350000- 3b1000 Deferred kfeditor
PE 3d0000- 3da000 Deferred calddraw
PE 3f0000- 3ff000 Deferred plghst32
PE 400000- 541000 Deferred ts3
PE 10000000-102e9000 Export tsxapi
PE 1e000000-1e022000 Deferred 3dr32
PE 69000000-6912c000 Deferred opengl
ELF 7b800000-7b92c000 Deferred kernel32<elf>
  \-PE 7b820000-7b92c000 \ kernel32
ELF 7bc00000-7bca4000 Deferred ntdll<elf>
  \-PE 7bc10000-7bca4000 \ ntdll
ELF 7be7d000-7bf00000 Deferred libglu.so.1
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7bf7f000-7c000000 Deferred opengl32<elf>
  \-PE 7bf90000-7c000000 \ opengl32
ELF 7d62c000-7deb2000 Deferred libglcore.so.1
ELF 7deb2000-7df3e000 Deferred libgl.so.1
ELF 7df58000-7df63000 Deferred libgcc_s.so.1
ELF 7df65000-7e05c000 Deferred wined3d<elf>
  \-PE 7df80000-7e05c000 \ wined3d
ELF 7e05c000-7e0b2000 Deferred ddraw<elf>
  \-PE 7e060000-7e0b2000 \ ddraw
ELF 7e0b2000-7e0b6000 Deferred libgpg-error.so.0
ELF 7e0b6000-7e103000 Deferred libgcrypt.so.11
ELF 7e103000-7e113000 Deferred libtasn1.so.3
ELF 7e113000-7e116000 Deferred libkeyutils.so.1
ELF 7e116000-7e148000 Deferred libcrypt.so.1
ELF 7e148000-7e1bd000 Deferred libgnutls.so.13
ELF 7e1bd000-7e1e1000 Deferred libk5crypto.so.3
ELF 7e1e1000-7e271000 Deferred libkrb5.so.3
ELF 7e271000-7e29a000 Deferred libgssapi_krb5.so.2
ELF 7e29a000-7e2ce000 Deferred libcups.so.2
ELF 7e2d6000-7e2d8000 Deferred libnvidia-tls.so.1
ELF 7e2d8000-7e2f5000 Deferred imm32<elf>
  \-PE 7e2e0000-7e2f5000 \ imm32
ELF 7e319000-7e379000 Deferred rpcrt4<elf>
  \-PE 7e330000-7e379000 \ rpcrt4
ELF 7e379000-7e41d000 Deferred ole32<elf>
  \-PE 7e390000-7e41d000 \ ole32
ELF 7e45c000-7e48e000 Deferred uxtheme<elf>
  \-PE 7e460000-7e48e000 \ uxtheme
ELF 7e48e000-7e497000 Deferred libxcursor.so.1
ELF 7e497000-7e49c000 Deferred libxfixes.so.3
ELF 7e49c000-7e49f000 Deferred libxcomposite.so.1
ELF 7e49f000-7e4a5000 Deferred libxrandr.so.2
ELF 7e4a5000-7e4ad000 Deferred libxrender.so.1
ELF 7e4ad000-7e4b2000 Deferred libxdmcp.so.6
ELF 7e4b2000-7e4ca000 Deferred libxcb.so.1
ELF 7e4ca000-7e4cc000 Deferred libxcb-xlib.so.0
ELF 7e4cc000-7e4cf000 Deferred libxau.so.6
ELF 7e4cf000-7e5b6000 Deferred libx11.so.6
ELF 7e5b6000-7e5c4000 Deferred libxext.so.6
ELF 7e5c4000-7e5c9000 Deferred libxxf86vm.so.1
ELF 7e5c9000-7e5e1000 Deferred libice.so.6
ELF 7e5e1000-7e5e9000 Deferred libsm.so.6
ELF 7e5e9000-7e5f1000 Deferred libkrb5support.so.0
ELF 7e5fb000-7e5fe000 Deferred libcom_err.so.2
ELF 7e610000-7e69b000 Deferred winex11<elf>
  \-PE 7e620000-7e69b000 \ winex11
ELF 7e739000-7e75a000 Deferred libexpat.so.1
ELF 7e75a000-7e784000 Deferred libfontconfig.so.1
ELF 7e784000-7e799000 Deferred libz.so.1
ELF 7e799000-7e809000 Deferred libfreetype.so.6
ELF 7e830000-7e851000 Deferred mpr<elf>
  \-PE 7e840000-7e851000 \ mpr
ELF 7e851000-7e89d000 Deferred wininet<elf>
  \-PE 7e860000-7e89d000 \ wininet
ELF 7e89d000-7e8b1000 Deferred lz32<elf>
  \-PE 7e8a0000-7e8b1000 \ lz32
ELF 7e8b1000-7e8c4000 Deferred libresolv.so.2
ELF 7e8d2000-7e8eb000 Deferred version<elf>
  \-PE 7e8e0000-7e8eb000 \ version
ELF 7e8eb000-7e909000 Deferred iphlpapi<elf>
  \-PE 7e8f0000-7e909000 \ iphlpapi
ELF 7e909000-7e935000 Deferred ws2_32<elf>
  \-PE 7e910000-7e935000 \ ws2_32
ELF 7e935000-7e96a000 Deferred winspool<elf>
  \-PE 7e940000-7e96a000 \ winspool
ELF 7e96a000-7ea29000 Deferred comctl32<elf>
  \-PE 7e970000-7ea29000 \ comctl32
ELF 7ea29000-7ea82000 Deferred shlwapi<elf>
  \-PE 7ea40000-7ea82000 \ shlwapi
ELF 7ea82000-7eb89000 Deferred shell32<elf>
  \-PE 7ea90000-7eb89000 \ shell32
ELF 7eb89000-7ec2b000 Deferred comdlg32<elf>
  \-PE 7eb90000-7ec2b000 \ comdlg32
ELF 7ec2b000-7ec77000 Deferred advapi32<elf>
  \-PE 7ec40000-7ec77000 \ advapi32
ELF 7ec77000-7ed10000 Deferred gdi32<elf>
  \-PE 7ec90000-7ed10000 \ gdi32
ELF 7ed10000-7ee50000 Deferred user32<elf>
  \-PE 7ed30000-7ee50000 \ user32
ELF 7ee50000-7ee5b000 Deferred libnss_files.so.2
ELF 7ee5b000-7ee65000 Deferred libnss_nis.so.2
ELF 7ee65000-7ee6e000 Deferred libnss_compat.so.2
ELF 7ee7b000-7ee95000 Deferred wsock32<elf>
  \-PE 7ee80000-7ee95000 \ wsock32
ELF 7efb4000-7efd9000 Deferred libm.so.6
ELF 7efe0000-7eff8000 Deferred libnsl.so.1
ELF b7c93000-b7c97000 Deferred libdl.so.2
ELF b7c97000-b7de6000 Deferred libc.so.6
ELF b7de7000-b7dff000 Deferred libpthread.so.0
ELF b7e26000-b7f3b000 Deferred libwine.so.1
ELF b7f3d000-b7f59000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a
 0000000b 0
0000000c
 0000000e 0
 0000000d 0
00000024 (D) C:\trueSpace3\TS3.EXE
 00000025 0 <==
Backtrace:
=>1 0x10092bbf in tsxapi (+0x92bbf) (0x0000ffff)
  2 0x00000000 (0x00000000)

Revision history for this message
In , Austin English (austinenglish) wrote :

Created an attachment (id=10908)
Backtrace - wine 0.9.56

For some reason attachment failed when creating the bug...hmm.

Revision history for this message
Alexander Rødseth (alexanro) wrote :
Download full text (8.5 KiB)

=== How to reproduce ===

1. Download and install Truespace 3.2 (http://forms.caligari.com/forms/ts3all_free.html), they will e-mail the serial number
2. Run Truespace (wine c:\\truespace3\\ts3)
3. Click "Metaball tool" (green icon at the bottom)
4. Click "Add sphere as a metaball primitive" (green sphere to the left)
5. Click "Add sphere as a metaball primitive", again
6. Click "Deform Object" (at the bottom, looks like an egg), answer "yes" to the question
7. Click "Magnetic Tool" (looks like something is exploding, located at the bottom)
8. Crash

=== /etc/lsb-release ===

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

=== wine --version ==

wine-0.9.57

=== apt-cache policy ===

wine:
  Installed: 0.9.57-0ubuntu1
  Candidate: 0.9.57-0ubuntu1
  Version table:
 *** 0.9.57-0ubuntu1 0
        500 http://no.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

=== Command to run the setup ===

% wine tSetup32.exe

=== Backtrace ===

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:advapi:CheckTokenMembership ((nil) 0x157168 0x34fb84) stub!
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:system:SystemParametersInfoW Unimplemented action: 8192 (SPI_GETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
fixme:shell:DllCanUnloadNow stub
fixme:shell:DllCanUnloadNow stub
fixme:win:EnumDisplayDevicesW ((null),0,0x34f6b8,0x00000000), stub!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1ac8b0) The App is requesting a D3D device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1ac8b0) You may want to contact wine-devel for help
fixme:heap:RtlCompactHeap (0x1470000, 0x0) stub
wine: Unhandled page fault on read access to 0x00000030 at address 0x10092bbf (thread 0025), starting debugger...
Unhandled exception: page fault on read access to 0x00000030 in 32-bit code (0x10092bbf).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:10092bbf ESP:0034f0ac EBP:0000ffff EFLAGS:00010206( - 00 - RIP1)
 EAX:00000000 EBX:014a0002 ECX:0034f07c EDX:00020048
 ESI:00000001 EDI:00000001
Stack dump:
0x0034f0ac: 00000001 014ad360 014a0002 ffffffff
0x0034f0bc: 1003789b 014a79e0 00000002 ffffffff
0x0034f0cc: ffffffff 00000000 10286a28 10037945
0x0034f0dc: 014ad360 014a0227 101f4705 10286a28
0x0034f0ec: 101f20a7 00000000 014a0227 100fd14b
0x0034f0fc: 100fe4d6 00000227 00000001 00000004
Backtrace:
=>1 0x10092bbf in tsxapi (+0x92bbf) (0x0000ffff)
  2 0x00000000 (0x00000000)
0x10092bbf: movl 0x30(%eax),%ecx
Modules:
Module Address Debug info Name (104 modules)
PE 350000- 3b1000 Deferred kfeditor
PE 3d0000- 3d...

Read more...

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Please retest with Wine 1.0 in Intrepid or Hardy (with backports enabled). Thank you.

Changed in wine:
status: New → Incomplete
Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

Truespace seems to crash in many places. There's also a launchpad bug here: https://bugs.edge.launchpad.net/ubuntu/+source/wine/+bug/203225 -- confirmed to still crash in 1.1.0

Revision history for this message
In , James Hawkins (truiken) wrote :

Don't change the original reported version.

Revision history for this message
Alexander Rødseth (alexanro) wrote :

I can confirm that it still crashes in the exact same place.

Revision history for this message
Alexander Rødseth (alexanro) wrote :
Download full text (7.4 KiB)

=== apt-cache policy ===

wine:
  Installed: 1.1.0~winehq0~ubuntu~8.04-1
  Candidate: 1.1.0~winehq0~ubuntu~8.04-1
  Version table:
 *** 1.1.0~winehq0~ubuntu~8.04-1 0
        500 http://wine.budgetdedicated.com hardy/main Packages
        100 /var/lib/dpkg/status
     1.0.0-1ubuntu2~hardy1 0
        500 http://mirrors.nic.funet.fi hardy-backports/universe Packages
     0.9.59-0ubuntu5 0
        500 http://mirrors.nic.funet.fi hardy-updates/universe Packages
     0.9.59-0ubuntu4 0
        500 http://mirrors.nic.funet.fi hardy/universe Packages

=== Console output when running wine c:\\truespace3\\ts3 ===

fixme:win:EnumDisplayDevicesW ((null),0,0x33f7b0,0x00000000), stub!
err:ddraw:IDirectDrawImpl_QueryInterface (0x16d2c0) The App is requesting a D3D device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x16d2c0) You may want to contact wine-devel for help
fixme:heap:RtlCompactHeap (0x1470000, 0x0) stub
wine: Unhandled page fault on read access to 0x00000030 at address 0x10092bbf (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000030 in 32-bit code (0x10092bbf).

Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:10092bbf ESP:0033f0ac EBP:0000ffff EFLAGS:00210202( - 00 - -RI1)
 EAX:00000000 EBX:014a0002 ECX:0033f07c EDX:0001004c
 ESI:00000001 EDI:00000001
Stack dump:
0x0033f0ac: 00000001 014a7c10 014a0002 ffffffff
0x0033f0bc: 1003789b 014ae508 00000002 ffffffff
0x0033f0cc: ffffffff 00000000 10286a28 10037945
0x0033f0dc: 014a7c10 014a0227 101f4705 10286a28
0x0033f0ec: 101f20a7 00000000 014a0227 100fd14b
0x0033f0fc: 100fe4d6 00000227 00000001 00000004
Backtrace:
=>1 0x10092bbf in tsxapi (+0x92bbf) (0x0000ffff)
0x10092bbf: movl 0x30(%eax),%ecx
Modules:
Module Address Debug info Name (107 modules)
PE 340000- 3a1000 Deferred kfeditor
PE 3c0000- 3ca000 Deferred calddraw
PE 3e0000- 3ef000 Deferred plghst32
PE 400000- 541000 Deferred ts3
PE 10000000-102e9000 Export tsxapi
PE 1e000000-1e022000 Deferred 3dr32
PE 69000000-6912c000 Deferred opengl
ELF 7a254000-7a2d5000 Deferred opengl32<elf>
  \-PE 7a270000-7a2d5000 \ opengl32
ELF 7b800000-7b930000 Deferred kernel32<elf>
  \-PE 7b820000-7b930000 \ kernel32
ELF 7bc00000-7bca4000 Deferred ntdll<elf>
  \-PE 7bc10000-7bca4000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7d4e0000-7dd66000 Deferred libglcore.so.1
ELF 7dd66000-7ddf2000 Deferred libgl.so.1
ELF 7de1e000-7df21000 Deferred wined3d<elf>
  \-PE 7de30000-7df21000 \ wined3d
ELF 7df21000-7df79000 Deferred ddraw<elf>
  \-PE 7df30000-7df79000 \ ddraw
ELF 7df79000-7df90000 Deferred spoolss<elf>
  \-PE 7df80000-7df90000 \ spoolss
ELF 7df90000-7df94000 Deferred libgpg-error.so.0
ELF 7df94000-7dfe1000 Deferred libgcrypt.so.11
ELF 7dfe1000-7dff1000 Deferred libtasn1.so.3
ELF 7dff1000-7e023000 Deferred libcrypt.so.1
ELF 7e023000-7e099000 Deferred libgnutls.so.13
ELF 7e099000-7e...

Read more...

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Confirmed and upstream

Changed in wine:
importance: Undecided → Low
status: Incomplete → Confirmed
Changed in wine:
status: Unknown → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

By the way, please consider going here and becoming an AppDB super maintainer: http://appdb.winehq.org/objectManager.php?sClass=application&iId=681

Then create a 3.2 version of the app and link it to the two Wine bugs it has.

http://bugs.winehq.org/show_bug.cgi?id=11691
http://bugs.winehq.org/show_bug.cgi?id=11695

Thanks :)

Revision history for this message
Vincent Povirk (madewokherd) wrote :

Do you have the HKEY_CURRENT_USER\Software\Wine\Direct3D\DirectDrawRenderer key set? It should either be unset or have the string value "opengl". If it has a value of "gdi", this won't work.

Revision history for this message
Alexander Rødseth (alexanro) wrote : Re: [Bug 203225] Re: [hardy] wine crashed using truespace 3.2

Scott:
Thanks, I will take a look when I can. :)

Vincent:
In HKEY_CURRENT_USER\Software\Wine I don't have any folder named Direct3D.
Here are the folders I do have: Crypto, Debug, DirectSound,
DllOverrides, Drivers, Fonts, MSHTML, Temporary System Parameters and
WineDbg
Am I supposed to have Direct3D? Do I need to reset my installation somehow?

Revision history for this message
Vincent Povirk (madewokherd) wrote :

No, I don't think it's created by default. You might want to try creating the key and setting it to "opengl".

Revision history for this message
In , Arethusa26 (arethusa26) wrote :

With today's Git (wine-1.1.6-432-g6d901a1), trueSpace 3.2 successfully starts, so this seems to be fixed. There is an issue for the app in which it receives a WM decoration even though it shouldn't, but that's for another report.

Revision history for this message
In , Austin English (austinenglish) wrote :

Reported fixed. Please open new bugs for any other issues (check for dupes first).

Changed in wine:
status: Confirmed → Fix Released
Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Closing bugs fixed in 1.1.7.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

This is fixed upstream now.

Changed in wine:
status: Confirmed → Fix Committed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

I'm assigning myself all bugs that rely on a newer Wine version to be released

Changed in wine:
assignee: nobody → scottritchie
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Fixed in Ubuntu 9.10 with package "wine1.2". Thanks for reporting

Changed in wine (Ubuntu):
status: Fix Committed → Fix Released
Changed in wine:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.