Crash with Sorcerer

Questions about Wine on Linux
Locked
Hoekb03
Level 1
Level 1
Posts: 6
Joined: Fri May 19, 2017 5:43 am

Crash with Sorcerer

Post by Hoekb03 »

Hi all,

I'm on Xubuntu 16.04.2 with Wine 1.6.2. I have this neat little piece of software called "Sorcerer". It decodes all kind of digital audio signals to readable text or images. When I run this with the ACARS-decoder a very often get the following message (just the first part, can post the complete thing if that's helpfull). Any ideas?

Bart.

Code: Select all

Unhandled exception: page fault on read access to 0x01450000 in 32-bit code (0x00fb23fb)

dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00fb23fb ESP:0144e204 EBP:00feeed0 EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00001dd0 ECX:0144e1d0 EDX:ffffffff
 ESI:00fe64a8 EDI:00feeed0
Stack dump:
0x0144e204:  0000000e 00fe64a8 009e2618 000067bb
0x0144e214:  591ecaae 43452e65 3133332d 7f5f3300
0x0144e224:  00000000 00410000 00000000 41383500
0x0144e234:  35323756 00034242 7bcbe000 f75adc09
0x0144e244:  7bcbe000 0144e28c 7ffc0000 0144e2b8
0x0144e254:  f75ae088 00000010 7bc74747 0000002d
Backtrace:
=>0 0x00fb23fb (0x00feeed0)
0x00fb23fb: movb	0x2c(%esp,%ebx,1),%al
Modules:
Module	Address			Debug info	Name (120 modules)
PE	  400000-  5df000	Deferred        sorcerer-v1.0.1
ELF	7ac00000-7ac5d000	Deferred        riched20<elf>
  \-PE	7ac10000-7ac5d000	\               riched20
ELF	7b800000-7ba54000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba54000	\               kernel32
ELF	7bc00000-7bcda000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcda000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d040000-7d06c000	Deferred        libvorbis.so.0
ELF	7d06c000-7d075000	Deferred        libogg.so.0
ELF	7d075000-7d101000	Deferred        libvorbisenc.so.2
ELF	7d101000-7d161000	Deferred        libflac.so.8
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash with Sorcerer

Post by dimesio »

Start by upgrading Wine; 1.6.2 is over 3 years old and no longer supported. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu
Hoekb03
Level 1
Level 1
Posts: 6
Joined: Fri May 19, 2017 5:43 am

Re: Crash with Sorcerer

Post by Hoekb03 »

dimesio wrote:Start by upgrading Wine; 1.6.2 is over 3 years old and no longer supported. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu
Ok, done. No on wine-2.0.1. I noticed one difference allready, the program couldn't be closed normally on 1.6.2, I had to kill the process. With 2.0.1 it closes normally. As the crash appears infrequently I can't say my problem is solved, so far I haven't experienced it. I'll Keep you posted. Thnanks for the advice!

Bart.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Crash with Sorcerer

Post by lahmbi5678 »

You could run wine and Sorcerer in a terminal. Maybe there'd be a hint on what is causing the crashes. Then you could file a bug report.

If you are on 64bit Linux, you could try to create a 32bit wineprefix, and install and run from there. Some applications work better in a pure 32bit wineprefix.
https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
Hoekb03
Level 1
Level 1
Posts: 6
Joined: Fri May 19, 2017 5:43 am

Re: Crash with Sorcerer

Post by Hoekb03 »

lahmbi5678 wrote:You could run wine and Sorcerer in a terminal. Maybe there'd be a hint on what is causing the crashes. Then you could file a bug report.

If you are on 64bit Linux, you could try to create a 32bit wineprefix, and install and run from there. Some applications work better in a pure 32bit wineprefix.
https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
Some strange things happening now... I created the 32 bit prefix. When I start the program from the command line it dumps immediately:

Code: Select all

bart@bart-All-Series:~/sorcerer/drive_c$ WINEPREFIX=~/sorcerer wine sorcerer-v1.0.1.exe 
fixme:keyboard:BlockInput (1): stub
Segmentation fault (core dumped)
It does the same when started with the default ~/.wine prefix from the commandline.

But when i right click the exe file in Thunar and choose "Open with Wine Windows program loader" it starts fine (using the default ~/.wine prefix I assume).
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Crash with Sorcerer

Post by lahmbi5678 »

Yes, I'm seeing the same strange behaviour. You should file a bug for that. There shouldn't be a segmentation fault. I'm not sure, what the difference is, I think, in Thunar it may be called with huge environment variable strings and "wine start", which is slightly different from just using "wine".

https://wiki.winehq.org/Wine_User's_Gui ... mmand_line
Usually "wine start" is used, if you want to provide a path (Windows style or Linux style) to an application. But you can just cd to the directory, where your .exe resides and run from there.

I tried that, and so there is a simple way to run it in terminal:

Code: Select all

wine start sorcerer-v1.0.1.exe
This should work with both 32 and 64bit wineprefixes.

It seems, that there is almost no output at all, so it may not help much, if you wait for a crash with that decoder, but might still be worth a try.
Hoekb03
Level 1
Level 1
Posts: 6
Joined: Fri May 19, 2017 5:43 am

Re: Crash with Sorcerer

Post by Hoekb03 »

lahmbi5678 wrote:

Code: Select all

wine start sorcerer-v1.0.1.exe
This should work with both 32 and 64bit wineprefixes.

It seems, that there is almost no output at all, so it may not help much, if you wait for a crash with that decoder, but might still be worth a try.
Sorry for the late response, had some other things to do. Tried wine start, that works fine. I think the 32bit prefix won't solve my issue after all, as I have the same problem on a laptop running on 32bit Xubuntu. Maybe the "wine start" will give more insight in the terminal window when the crash occurs. I'll keep you posted. Thanks!
Hoekb03
Level 1
Level 1
Posts: 6
Joined: Fri May 19, 2017 5:43 am

Re: Crash with Sorcerer

Post by Hoekb03 »

Hoekb03 wrote:I'll keep you posted. Thanks!
It now crashed immedeately (after decoding one message). Message reads:

Code: Select all

wine: Unhandled page fault on read access to 0x01420000 at address 0xe623fb (thread 003f), starting debugger...
So not very enlightening I'm afraid.

Bart.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Crash with Sorcerer

Post by lahmbi5678 »

Well, if the crash is reproducible, then you should file a bug report.
Hoekb03
Level 1
Level 1
Posts: 6
Joined: Fri May 19, 2017 5:43 am

Re: Crash with Sorcerer

Post by Hoekb03 »

lahmbi5678 wrote:Well, if the crash is reproducible, then you should file a bug report.
Not a solution but a work around. I found another Windows ACARS decoder, Wacars, which seems to work fine with Wine. Thanks for your thoughts on this.

Bart.
Locked