Fatal error r400

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Fatal error r400

Postby floor19 » Thu Mar 04, 2010 11:11 pm

Well some are correct and some albums are not. I will look into it some more.

Thanks!

Floris
floor19
 
Posts: 9
Joined: Sun Feb 21, 2010 9:48 am

Re: Fatal error r400

Postby argentcorvid » Sun Mar 28, 2010 8:04 pm

I get this too. For me, the crash always happens on the same file(s). If I delete or move the file out of the scanned folders, it doesn't happen. Mediainfo and other players don't seem to have an issue with the file, maybe it is an issue with the information being passed to the database?

I can provide at least one file that will cause the crash, I won't post it here (copyrighted), but I'll send it if anybody wants to try to tackle this.
argentcorvid
 
Posts: 1
Joined: Wed Dec 09, 2009 12:19 am

Re: Fatal error r400

Postby shagrath » Sun Mar 28, 2010 9:10 pm

This should be fixed in the latest build (r409)
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Fatal error r400

Postby AlphaMale » Mon Mar 29, 2010 2:29 am

shagrath wrote:This should be fixed in the latest build (r409)


Hi Shagrath, you've worked wonders, it looks like you've fixed the fatal error!

I stopped PMS, installed r409, removed all files from the database folder, started PMS and ran the Scan Folders command again, and lo and behold this time I could successfully run a complete scan of all my multi mediafiles again! Thank you, r409 looks like a great release thusfar!
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm

Re: Fatal error r400

Postby bektorkhan » Tue Jul 06, 2010 12:33 am

Looks like it's still an issue... i have an old FC 10, can't upgrade thanks to Highpoint RAD controller.
And a large number of mediafiles, Before PMS crashed due to lack off memory, and now for stack overflow!
Will try with -Xss16384k next.. but it's leaking stack somewhere, JVM or PMS?, could be in getString()
Part of Trace log:
[Thread-18] TRACE 00:56:26.350 The file /storage/music/Pierre_bak030223/Ducati/Ducati_com-filer/racing_main_spot.jpg was badly parsed. It will be hidden
[Thread-18] TRACE 00:56:26.350 Error during the parsing of image with Sanselan... switching to Ffmpeg: Invalid Image Resource Block Signature
[Thread-18] TRACE 00:56:30.018 The file /storage/music/Pierre_bak030223/Winamp3/Wacs/data/avs/fyrewurx.ape was badly parsed. It will be hidden
An irrecoverable stack overflow has occurred.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5d64f18bd6, pid=19640, tid=140039092472144
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Distribution: Custom build (Thu Nov 12 09:38:35 EST 2009)
# Problematic frame:
# C [jna7588000971427468893.tmp+0x6bd6] newJavaString+0x1b6
#
# An error report file with more information is saved as:
# /usr/local/ps3mediaserver/hs_err_pid19640.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Part of Error log

Stack: [0x00007f5d643c8000,0x00007f5d645c9000], sp=0x00007f5d642dd8b0, free sp
ace=-938k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [jna7588000971427468893.tmp+0x6bd6] newJavaString+0x1b6
j com.sun.jna.Pointer._getString(JZ)Ljava/lang/String;+0
j com.sun.jna.Pointer.getString(JZ)Ljava/lang/String;+7

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Pointer._getString(JZ)Ljava/lang/String;+0
j com.sun.jna.Pointer.getString(JZ)Ljava/lang/String;+7
J com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/
Object;
J com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Ma
p;)Ljava/lang/Object;
J com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Metho
d;[Ljava/lang/Object;)Ljava/lang/Object;
j net.pms.dlna.$Proxy0.Inform(Lcom/sun/jna/Pointer;)Lcom/sun/jna/WString;+16
j net.pms.dlna.MediaInfo.Inform()Ljava/lang/String;+7
J net.pms.dlna.MediaInfoParser.parse(Lnet/pms/dlna/DLNAMediaInfo;Lnet/pms/dlna/
InputFile;I)V
J net.pms.configuration.FormatConfiguration.parse(Lnet/pms/dlna/DLNAMediaInfo;L
net/pms/dlna/InputFile;Lnet/pms/formats/Format;I)V
j net.pms.formats.Format.parse(Lnet/pms/dlna/DLNAMediaInfo;Lnet/pms/dlna/InputF
ile;ILnet/pms/configuration/RendererConfiguration;)V+22
j net.pms.dlna.RealFile.resolve()V+241
j net.pms.dlna.DLNAResource.run()V+8
j net.pms.dlna.RealFile.isValid()Z+118
J net.pms.dlna.DLNAResource.addChild(Lnet/pms/dlna/DLNAResource;)V
j net.pms.dlna.RealFile.manageFile(Ljava/io/File;)V+349
J net.pms.dlna.RootFolder.scan(Lnet/pms/dlna/DLNAResource;)V
j net.pms.dlna.RootFolder.scan(Lnet/pms/dlna/DLNAResource;)V+175
j net.pms.dlna.RootFolder.scan()V+19
j net.pms.dlna.DLNAMediaDatabase.run()V+7
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

---------------- snip ------------------------

VM Arguments:
jvm_args: -Xmx1234M -Xss2048k -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=t
rue
java_command: net.pms.PMS noconsole
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin:/usr/lib64/qt-3.3/bi
n:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/lo
cal/bin:/sbin:/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/ser
ver:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/ja
va-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64
SHELL=/bin/sh
DISPLAY=:5
bektorkhan
 
Posts: 4
Joined: Mon Feb 15, 2010 11:11 pm

Re: Fatal error r400

Postby WorldOfHurt » Tue Jul 06, 2010 8:50 am

bektorkhan wrote:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

J com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Metho
d;[Ljava/lang/Object;)Ljava/lang/Object;
j net.pms.dlna.$Proxy0.Inform(Lcom/sun/jna/Pointer;)Lcom/sun/jna/WString;+16
j net.pms.dlna.MediaInfo.Inform()Ljava/lang/String;+7



That looks to me like it's saying it crashed in the mediainfo library, outside of PMS. Not much PMS can do about that...
User avatar
WorldOfHurt
 
Posts: 252
Joined: Thu Mar 19, 2009 10:49 pm
Location: Winchester, UK

Re: Fatal error r400

Postby bektorkhan » Sat Jul 10, 2010 12:17 am

Thanks WorldOfHurt.. java is jibrish to me.. !!
bektorkhan
 
Posts: 4
Joined: Mon Feb 15, 2010 11:11 pm

Re: Fatal error r400

Postby FFIXCollector » Sat Jan 07, 2012 5:25 am

So, is there a solution?
FFIXCollector
 
Posts: 12
Joined: Fri Nov 25, 2011 4:07 am

Re: Fatal error r400

Postby Raptor399 » Sat Jan 07, 2012 9:30 am

We keep a close eye on the MediaInfo updates to keep PMS in sync with the latest versions of it.
I'm afraid there's not much more we can do.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Previous

Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 4 guests