zrevai / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
2 stars 0 forks source link

PMS crashes when scanning shared folders #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable the media library
2. Add shared folders
3. Scan shared folders

What is the expected output? What do you see instead?
After one/two seconds of scanning, PMS crashes.

What version of the product are you using? On what operating system?
PMS 1.02, Vista 32bit

If you are transcoding a media file, which engine are you using (mencoder,
avisynth/mencoder, tsmuxer?)

If the media file is in error (or does not play flawlessly), what are the
codec informations of this file (you can use following program:
mediainfo.sourceforge.net) ? 

Please provide any additional information below and PLEASE JOIN debug.log
file !!

Original issue reported on code.google.com by ingo.lie...@gmail.com on 5 Jan 2009 at 12:20

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ps3mediaserver@gmail.com on 5 Jan 2009 at 12:32

GoogleCodeExporter commented 9 years ago
Just for all to know, Version 1.02.1 doesn't fix this specific problem.

Original comment by ingo.lie...@gmail.com on 6 Jan 2009 at 7:01

GoogleCodeExporter commented 9 years ago
Problem reproduced, it's the use of the getShortPathNameW method who seems buggy

Another similar crash while browsing

[Thread-58] INFO  22:41:38.731 Adding 01 约定.wav / class: 
net.pms.dlna.RealFile 
[Thread-58] INFO  22:41:38.741 Forcing short path name on 
D:\Download\Audio\btvoice\02 暖味.wav 
[Thread-58] DEBUG 22:41:38.741 Search extension for 
D:\Download\Audio\btvoice\02暖味
~1.WAV 
[Thread-58] DEBUG 22:41:38.741 Found 1! net.pms.formats.MP3 
[Thread-58] INFO  22:41:38.741 Adding 02 暖味.wav / class: 
net.pms.dlna.RealFile 
[Thread-58] INFO  22:41:38.741 Forcing short path name on 
D:\Download\Audio\btvoice\03 暗涌.wav 
[Thread-58] DEBUG 22:41:38.741 Search extension for 
D:\Download\Audio\btvoice\03暗涌
~1.WAV 
[Thread-58] DEBUG 22:41:38.741 Found 1! net.pms.formats.MP3 
[Thread-58] INFO  22:41:38.741 Adding 03 暗涌.wav / class: 
net.pms.dlna.RealFile

native traces:

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code) 
C  [ntdll.dll+0x11f52] 
C  [msvcrt.dll+0x1c3c9] 
C  [msvcrt.dll+0x1c3e7] 
C  [msvcrt.dll+0x1c42e] 
C  [jna35564.tmp+0x5fe8] 
j  com.sun.jna.Memory.malloc(J)J+0 
j  com.sun.jna.Memory.<init>(J)V+27 
j  
net.pms.io.WinUtils.getShortPathNameW(Ljava/lang/String;)Ljava/lang/String;+83 
j  
net.pms.util.ProcessUtil.getShortFileNameIfWideChars(Ljava/lang/String;)Ljava/la
ng/St
ring;+13 
j  net.pms.dlna.RealFile.getSystemName()Ljava/lang/String;+7 
j  net.pms.dlna.DLNAResource.checktype()V+12 
j  net.pms.dlna.RealFile.isValid()Z+1 
j  net.pms.dlna.DLNAResource.addChild(Lnet/pms/dlna/DLNAResource;)V+1 
j  net.pms.dlna.RealFile.manageFile(Ljava/io/File;)V+250 
j  net.pms.dlna.RealFile.discoverChildren()V+84 
j  net.pms.dlna.DLNAResource.getDLNAResources(Ljava/lang/String;ZII) 
Ljava/util/ArrayList;+123 
j  net.pms.network.Request.answer(Ljava/io/OutputStream;)V+1730 
j  net.pms.network.RequestHandler.run()V+646 
j  java.lang.Thread.run()V+11 
v  ~StubRoutines::call_stub 

Original comment by ps3mediaserver@gmail.com on 11 Jan 2009 at 5:41

GoogleCodeExporter commented 9 years ago

Original comment by ps3mediaserver@gmail.com on 11 Jan 2009 at 6:05