DVDpedia closes or freezes when I try to add the movie "Prin

Report your bugs here - if someone else has already mentioned the same bug, just add on to their post with as much info as possible to make the hunting easier.
Post Reply
riconster
Contributor
Contributor
Posts: 9
Joined: Sat Apr 16, 2011 11:37 am

DVDpedia closes or freezes when I try to add the movie "Prin

Post by riconster »

When I try to add the movie "Prins" and get the data from TheMovieDataBase, the DVDpedia closes or freezes.

***Crash if I try to add using only the title "Prins":

Process: DVDpedia [16994]
Identifier: com.bruji.dvdpedia
Version: 5.4.2 (70)
Code Type: X86-64 (Native)
Parent Process: ??? [1]

OS Version: Mac OS X 10.11.6 (15G31)

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff920194f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff95a8073c objc_exception_throw + 48
2 CoreFoundation 0x00007fff91f2fae0 checkForCloseTag + 0
3 TMDb 0x000000010d86cf2a -[TMDb resultNumber:] + 3751
4 Pediabase 0x000000010751199c -[MyPluginManager searchReturnedNumberOfResults:sender:] + 54
5 CFNetwork 0x00007fff923da4a5 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 69
6 CFNetwork 0x00007fff923da3ba -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 233
7 CFNetwork 0x00007fff923da2bf -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
8 CFNetwork 0x00007fff923df05e ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 104
9 CFNetwork 0x00007fff9257406d ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
10 libdispatch.dylib 0x00007fff88f2d40b _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff88f3b039 _dispatch_block_invoke + 474
12 CFNetwork 0x00007fff923da17c _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
13 CoreFoundation 0x00007fff91f50d74 CFArrayApplyFunction + 68
14 CFNetwork 0x00007fff923da075 _ZN19RunloopBlockContext7performEv + 137
15 CFNetwork 0x00007fff923d9f16 _ZN17MultiplexerSource7performEv + 282
16 CFNetwork 0x00007fff923d9d38 _ZN17MultiplexerSource8_performEPv + 72
17 CoreFoundation 0x00007fff91fae881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18 CoreFoundation 0x00007fff91f8dfbc __CFRunLoopDoSources0 + 556
19 CoreFoundation 0x00007fff91f8d4df __CFRunLoopRun + 927
20 CoreFoundation 0x00007fff91f8ced8 CFRunLoopRunSpecific + 296
21 HIToolbox 0x00007fff953b3935 RunCurrentEventLoopInMode + 235
22 HIToolbox 0x00007fff953b376f ReceiveNextEventCommon + 432
23 HIToolbox 0x00007fff953b35af _BlockUntilNextEventMatchingListInModeWithFilter + 71
24 AppKit 0x00007fff8ee42df6 _DPSNextEvent + 1067
25 AppKit 0x00007fff8ee42226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
26 AppKit 0x00007fff8ee36d80 -[NSApplication run] + 682
27 AppKit 0x00007fff8ee00368 NSApplicationMain + 1176
28 libdyld.dylib 0x00007fff8e0855ad start + 1
29 ??? 0x0000000000000001 0x0 + 1

***Freezes if I try to add using only the URL: https://www.themoviedb.org/movie/324259

Aug 5 20:04:27 Capitan DVDpedia[17037]: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
Aug 5 20:04:27 Capitan DVDpedia[17037]: (
0 CoreFoundation 0x00007fff920194f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff95a8073c objc_exception_throw + 48
2 CoreFoundation 0x00007fff91f2fae0 checkForCloseTag + 0
3 TMDb 0x0000000113d1af2a -[TMDb resultNumber:] + 3751
4 Pediabase 0x000000010d9cc99c -[MyPluginManager searchReturnedNumberOfResults:sender:] + 54
5 Foundation 0x00007fff89c2bfde __NSThreadPerformPerform + 279
6 CoreFoundation 0x00007fff91fae881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
7 CoreFoundation 0x00007fff91f8dfbc __CFRunLoopDoSources0 + 556
8 CoreFoundation 0x00007fff91f8d4df __CFRunLoopRun + 927
9 CoreFoundation 0x00007fff91f8ced8 CFRunLoopRunSpecific + 296
10 HIToolbox 0x00007fff953b3935 RunCurrentEventLoopInMode + 235
11 HIToolbox 0x00007fff953b3677 ReceiveNextEventCommon + 184
12 HIToolbox 0x00007fff953b35af _BlockUntilNextEventMatchingListInModeWithFilter + 71
13 AppKit 0x00007fff8ee42df6 _DPSNextEvent + 1067
14 AppKit 0x00007fff8ee42226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
15 AppKit 0x00007fff8ee36d80 -[NSApplication run] + 682
16 AppKit 0x00007fff8ee00368 NSApplicationMain + 1176
17 libdyld.dylib 0x00007fff8e0855ad start + 1
18 ??? 0x0000000000000001 0x0 + 1

Using IMDB the film can be added without problem, the error is only when data is requested to TMDB.

The error occurs only with this film.

https://www.themoviedb.org/movie/324259

Thanks!
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: DVDpedia closes or freezes when I try to add the movie "

Post by Conor »

Thank you so much, for the bug report and the info. The studio info from TMDB is supposed to come encoded with percentage signs, but in this case it's not. And hence it's getting confused about why "100% Halal" is not properly encoded the percentage sign. I have added a [urlhttp://beta.bruji.com/dvdpedia.zip]quick fix[/url], that will ignore badly encoded items. I shall investigate further and see if there is a way to pick up 100% Halal, but for now it will ignore it.
Post Reply