PQ 2 w Japanese Views (Crashes)

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
8BitAirwaves
Posts: 22
Joined: Fri Oct 23, 2015 8:19 pm
Location: Boulder, Colorado
Contact:

PQ 2 w Japanese Views (Crashes)

Post by 8BitAirwaves »

Using SCI Companion and the View files from the Japanese version of Police Quest 2, I replaced the standard (non Japanese version) view files with the Japan version bc I love the quirky character art the Japan release got. The game works and plays to completion in DosBox however in ScummVM it crashes when trying to add the game. The error seems to be a corrupted hash table from (presumably) a memory error? Or so the log says- I’m in over my head!

Not a big deal but out of curiosity I wondered if anyone has an idea on how to fix this or to just explain to my simple mind why it’s happening- it’s bc it’s working in DosBox that I’m holding out hope it’s fixable. Note I tested in Mac OS X and iOS w same crash.

Here is the error log my Mac generated

Code: Select all

Process:               scummvm [20364]
Path:                  /Applications/ScummVM .app/Contents/MacOS/scummvm
Identifier:            org.scummvm.scummvm
Version:               2.1.0 (2.1.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           scummvm [20364]
User ID:               501

Date/Time:             2019-10-27 00:51:17.108 -0600
OS Version:            Mac OS X 10.11.6 (15G1611)
Report Version:        11
Anonymous UUID:        B4FB33DB-1031-74F6-4457-CC6898BEEF0E

Sleep/Wake UUID:       9EA186C9-CEB7-4596-895D-850EEEE76031

Time Awake Since Boot: 41000 seconds
Time Since Wake:       2300 seconds

System Integrity Protection: enabled

Crashed Thread:        4  Dispatch queue: com.apple.root.utility-qos.overcommit

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
objc[20364]: Hash table corrupted. This is probably a memory error somewhere. (table at 0x7fff7dc95e10, buckets at 0x7fe81b0cae00 (16384 bytes), 1024 buckets, 55 entries, 775 tombstones, data 0x0 0x0 0x0 0x0)

Thread 0:: Dispatch queue: com.apple.main-thread
0   org.scummvm.scummvm           	0x000000011081be45 0x10f9ad000 + 15134277
1   org.scummvm.scummvm           	0x000000011081bedc 0x10f9ad000 + 15134428
2   org.scummvm.scummvm           	0x00000001108229be 0x10f9ad000 + 15161790
3   org.scummvm.scummvm           	0x0000000110822781 0x10f9ad000 + 15161217
4   org.scummvm.scummvm           	0x0000000110821da6 0x10f9ad000 + 15158694
5   org.scummvm.scummvm           	0x000000011082a7f3 0x10f9ad000 + 15194099
6   org.scummvm.scummvm           	0x0000000110827ed2 0x10f9ad000 + 15183570
7   org.scummvm.scummvm           	0x0000000110827258 0x10f9ad000 + 15180376
8   org.scummvm.scummvm           	0x000000011081ed7a 0x10f9ad000 + 15146362
9   org.scummvm.scummvm           	0x00000001111e6c4e 0x10f9ad000 + 25402446
10  org.scummvm.scummvm           	0x000000010f9c23a3 0x10f9ad000 + 86947
11  org.scummvm.scummvm           	0x000000011111a5f3 0x10f9ad000 + 24565235
12  org.scummvm.scummvm           	0x000000011111a3b8 0x10f9ad000 + 24564664
13  org.scummvm.scummvm           	0x000000011111be61 0x10f9ad000 + 24571489
14  org.scummvm.scummvm           	0x000000011115e79f 0x10f9ad000 + 24844191
15  org.scummvm.scummvm           	0x000000011110b94e 0x10f9ad000 + 24504654
16  org.scummvm.scummvm           	0x00000001111172ab 0x10f9ad000 + 24552107
17  org.scummvm.scummvm           	0x0000000111116c2e 0x10f9ad000 + 24550446
18  org.scummvm.scummvm           	0x000000011110b375 0x10f9ad000 + 24503157
19  org.scummvm.scummvm           	0x000000010f9b5b9a 0x10f9ad000 + 35738
20  org.scummvm.scummvm           	0x000000010f9b2e98 0x10f9ad000 + 24216
21  org.scummvm.scummvm           	0x000000010f9ae4c4 0x10f9ad000 + 5316

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff956feefa kevent_qos + 10
1   libdispatch.dylib             	0x00007fff8a9a6165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff8a9a5dcd _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib        	0x00007fff956fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff97800578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff977fe341 start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff956fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff97800578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff977fe341 start_wqthread + 13

Thread 4 Crashed:: Dispatch queue: com.apple.root.utility-qos.overcommit
0   libobjc.A.dylib               	0x00007fff9f58f02f _objc_trap() + 4
1   libobjc.A.dylib               	0x00007fff9f58f17f _objc_fatal(char const*, ...) + 203
2   libobjc.A.dylib               	0x00007fff9f59a6be bool objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object>, unsigned long, true, objc::DenseMapInfo<DisguisedPtr<objc_object> > >, DisguisedPtr<objc_object>, unsigned long, objc::DenseMapInfo<DisguisedPtr<objc_object> >, true>::LookupBucketFor<DisguisedPtr<objc_object> >(DisguisedPtr<objc_object> const&, std::__1::pair<DisguisedPtr<objc_object>, unsigned long> const*&) const + 332
3   libobjc.A.dylib               	0x00007fff9f583e63 objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object>, unsigned long, true, objc::DenseMapInfo<DisguisedPtr<objc_object> > >, DisguisedPtr<objc_object>, unsigned long, objc::DenseMapInfo<DisguisedPtr<objc_object> >, true>::find(DisguisedPtr<objc_object> const&) + 35
4   libobjc.A.dylib               	0x00007fff9f583de4 objc_object::sidetable_clearDeallocating() + 94
5   libobjc.A.dylib               	0x00007fff9f583d5c objc_destructInstance + 124
6   libobjc.A.dylib               	0x00007fff9f583ccf object_dispose + 22
7   libdispatch.dylib             	0x00007fff8a9a239e _dispatch_dispose + 55
8   libdispatch.dylib             	0x00007fff8a9a1d67 _dispatch_queue_wakeup_with_qos_slow + 735
9   libdispatch.dylib             	0x00007fff8a9a3d53 _dispatch_root_queue_drain + 538
10  libdispatch.dylib             	0x00007fff8a9a3b00 _dispatch_worker_thread3 + 91
11  libsystem_pthread.dylib       	0x00007fff978004de _pthread_wqthread + 1129
12  libsystem_pthread.dylib       	0x00007fff977fe341 start_wqthread + 13
User avatar
envisaged0ne
Posts: 159
Joined: Mon Nov 01, 2010 9:17 am
Location: United States

Re: PQ 2 w Japanese Views (Crashes)

Post by envisaged0ne »

Kinda following up on this. When I try to run the game, it will play the intro, but when I hit Enter to go to the game, it gives me an error that ScummVM was unable to load the SJIS.FNT. I've googled & tried to figure out how to get this font file, but haven't had any luck. Can anyone direct me to where I can get this?
User avatar
envisaged0ne
Posts: 159
Joined: Mon Nov 01, 2010 9:17 am
Location: United States

Re: PQ 2 w Japanese Views (Crashes)

Post by envisaged0ne »

Thank you very much :D I placed the file in the ScummVM folder, and even in the game folder. But it still keeps coming up with the message "Unable to load SJIS.FNT"...is there something else I need to do? :?
OmerMor
Got a warning
Posts: 176
Joined: Thu Nov 17, 2005 9:29 pm
Location: Israel
Contact:

Re: PQ 2 w Japanese Views (Crashes)

Post by OmerMor »

On my Win10 machine, the file is in ScummVM's folder:

Code: Select all

C:\Program Files (x86)\ScummVM\SJIS.FNT
User avatar
envisaged0ne
Posts: 159
Joined: Mon Nov 01, 2010 9:17 am
Location: United States

Re: PQ 2 w Japanese Views (Crashes)

Post by envisaged0ne »

Yeah, that's exactly where it's saved in my Windows 10 system as well. Have you been able to successfully run the Japanese version of PQ2?
OmerMor
Got a warning
Posts: 176
Joined: Thu Nov 17, 2005 9:29 pm
Location: Israel
Contact:

Re: PQ 2 w Japanese Views (Crashes)

Post by OmerMor »

Yes:
Image
User avatar
envisaged0ne
Posts: 159
Joined: Mon Nov 01, 2010 9:17 am
Location: United States

Re: PQ 2 w Japanese Views (Crashes)

Post by envisaged0ne »

Thank you. The game used to play just fine for me. Could you post the files that are required for the game to run? I'll compare that to the files I have. :?
OmerMor
Got a warning
Posts: 176
Joined: Thu Nov 17, 2005 9:29 pm
Location: Israel
Contact:

Re: PQ 2 w Japanese Views (Crashes)

Post by OmerMor »

I sent you a PM.
8BitAirwaves
Posts: 22
Joined: Fri Oct 23, 2015 8:19 pm
Location: Boulder, Colorado
Contact:

Re: PQ 2 w Japanese Views (Crashes)

Post by 8BitAirwaves »

I put the SJIS font in my ScummVM Extra path (w Roland ROMs etc) and it works :)

My PC-98 version works great, before I purchased that (took forever to find!) I put the Japanese views in place of the US views via SCI Companion and it works in DosBox however per my op it doesn’t work in ScummVM- to be clear the actual Japanese (PC98) version works great in ScummVM, it’s my hybrid US version w JP views that won’t work. It doesn’t matter personally now that I have the PC98 version but I was just curious why it would cause a crash and perhaps could be useful info for anyone who can’t find a PC98 copy and want to insert the JP views as I had done. Even then since it works in DosBox my entire point is rather null
Post Reply