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 AlphaMale » Mon Feb 22, 2010 11:33 pm

I just tried to Scan Folders again but this time with setting MediaInfo=false in rendererfile PS3.conf (I'm streaming to a PS3) but alas, still gives an error.

I also see a "Value too long" error in my ssh session window:
Code: Select all
[Thread-12] TRACE 22:59:33.762 org.h2.jdbc.JdbcSQLException: Value too long for column LANG: 'en /  /' [90005-105]
[Thread-12] TRACE 22:59:33.763  at org.h2.message.Message.getSQLException(Message.java:103)
[Thread-12] TRACE 22:59:33.763  at org.h2.message.Message.getSQLException(Message.java:114)
[Thread-12] TRACE 22:59:33.763  at org.h2.table.Column.validateConvertUpdateSequence(Column.java:301)
[Thread-12] TRACE 22:59:33.763  at org.h2.table.Table.validateConvertUpdateSequence(Table.java:579)
[Thread-12] TRACE 22:59:33.763  at org.h2.command.dml.Insert.update(Insert.java:93)
[Thread-12] TRACE 22:59:33.763  at org.h2.command.CommandContainer.update(CommandContainer.java:71)
[Thread-12] TRACE 22:59:33.763  at org.h2.command.Command.executeUpdate(Command.java:207)
[Thread-12] TRACE 22:59:33.763  at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:137)
[Thread-12] TRACE 22:59:33.763  at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:126)
[Thread-12] TRACE 22:59:33.767  at net.pms.dlna.DLNAMediaDatabase.insertData(DLNAMediaDatabase.java:425)
[Thread-12] TRACE 22:59:33.767  at net.pms.dlna.RealFile.resolve(RealFile.java:363)
[Thread-12] TRACE 22:59:33.767  at net.pms.dlna.RealFile.isValid(RealFile.java:57)
[Thread-12] TRACE 22:59:33.768  at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:178)
[Thread-12] TRACE 22:59:33.768  at net.pms.dlna.RealFile.manageFile(RealFile.java:179)
[Thread-12] TRACE 22:59:33.768  at net.pms.dlna.RealFile.analyzeChildren(RealFile.java:119)
[Thread-12] TRACE 22:59:33.768  at net.pms.dlna.RootFolder.scan(RootFolder.java:107)
[Thread-12] TRACE 22:59:33.768  at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
[Thread-12] TRACE 22:59:33.768  at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
[Thread-12] TRACE 22:59:33.769  at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
[Thread-12] TRACE 22:59:33.769  at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
[Thread-12] TRACE 22:59:33.769  at net.pms.dlna.RootFolder.scan(RootFolder.java:84)
[Thread-12] TRACE 22:59:33.769  at net.pms.dlna.DLNAMediaDatabase.run(DLNAMediaDatabase.java:624)
[Thread-12] TRACE 22:59:33.769  at java.lang.Thread.run(Thread.java:619)


And this is the contents of the medias.trace.db file: (a table named FILES is missing?)
Code: Select all
02-22 22:59:06 jdbc[4]: SQLException
org.h2.jdbc.JdbcSQLException: Table FILES not found; SQL statement:
SELECT count(*) FROM FILES [42102-105]
   at org.h2.message.Message.getSQLException(Message.java:103)
   at org.h2.message.Message.getSQLException(Message.java:114)
   at org.h2.message.Message.getSQLException(Message.java:77)
   at org.h2.command.Parser.readTableOrView(Parser.java:4244)
   at org.h2.command.Parser.readTableFilter(Parser.java:973)
   at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1504)
   at org.h2.command.Parser.parseSelectSimple(Parser.java:1601)
   at org.h2.command.Parser.parseSelectSub(Parser.java:1498)
   at org.h2.command.Parser.parseSelectUnion(Parser.java:1343)
   at org.h2.command.Parser.parseSelect(Parser.java:1331)
   at org.h2.command.Parser.parsePrepared(Parser.java:392)
   at org.h2.command.Parser.parse(Parser.java:288)
   at org.h2.command.Parser.parse(Parser.java:260)
   at org.h2.command.Parser.prepareCommand(Parser.java:232)
   at org.h2.engine.Session.prepareLocal(Session.java:344)
   at org.h2.engine.Session.prepareCommand(Session.java:305)
   at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1043)
   at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
   at net.pms.dlna.DLNAMediaDatabase.init(DLNAMediaDatabase.java:107)
   at net.pms.PMS.getDatabase(PMS.java:265)
   at net.pms.PMS.init(PMS.java:426)
   at net.pms.PMS.get(PMS.java:1106)
   at net.pms.PMS.main(PMS.java:1170)
02-22 22:59:06 jdbc[5]: SQLException
org.h2.jdbc.JdbcSQLException: Table FILES not found [42102-105]
   at org.h2.message.Message.getSQLException(Message.java:103)
   at org.h2.message.Message.getSQLException(Message.java:114)
   at org.h2.message.Message.getSQLException(Message.java:77)
   at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
   at org.h2.command.ddl.DropTable.update(DropTable.java:93)
   at org.h2.command.CommandContainer.update(CommandContainer.java:71)
   at org.h2.command.Command.executeUpdate(Command.java:207)
   at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:117)
   at net.pms.dlna.DLNAMediaDatabase.executeUpdate(DLNAMediaDatabase.java:231)
   at net.pms.dlna.DLNAMediaDatabase.init(DLNAMediaDatabase.java:142)
   at net.pms.PMS.getDatabase(PMS.java:265)
   at net.pms.PMS.init(PMS.java:426)
   at net.pms.PMS.get(PMS.java:1106)
   at net.pms.PMS.main(PMS.java:1170)
02-22 22:59:33 jdbc[11]: SQLException
org.h2.jdbc.JdbcSQLException: Value too long for column LANG: 'en /  /' [90005-105]
   at org.h2.message.Message.getSQLException(Message.java:103)
   at org.h2.message.Message.getSQLException(Message.java:114)
   at org.h2.table.Column.validateConvertUpdateSequence(Column.java:301)
   at org.h2.table.Table.validateConvertUpdateSequence(Table.java:579)
   at org.h2.command.dml.Insert.update(Insert.java:93)
   at org.h2.command.CommandContainer.update(CommandContainer.java:71)
   at org.h2.command.Command.executeUpdate(Command.java:207)
   at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:137)
   at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:126)
   at net.pms.dlna.DLNAMediaDatabase.insertData(DLNAMediaDatabase.java:425)
   at net.pms.dlna.RealFile.resolve(RealFile.java:363)
   at net.pms.dlna.RealFile.isValid(RealFile.java:57)
   at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:178)
   at net.pms.dlna.RealFile.manageFile(RealFile.java:179)
   at net.pms.dlna.RealFile.analyzeChildren(RealFile.java:119)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:107)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:84)
   at net.pms.dlna.DLNAMediaDatabase.run(DLNAMediaDatabase.java:624)
   at java.lang.Thread.run(Thread.java:619)
Last edited by AlphaMale on Mon Feb 22, 2010 11:38 pm, edited 1 time in total.
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm

Re: Fatal error r400

Postby shagrath » Mon Feb 22, 2010 11:36 pm

ok, small test: in PMS.sh, could you add, next to the -Xmx768M switch, this one ? :

Code: Select all
-Xss1024k


and relaunch. thanks
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Fatal error r400

Postby AlphaMale » Mon Feb 22, 2010 11:50 pm

Okay done that, the Folder Scan is running again right now ... will report when its status changes...

The same error just occured:

[/opt/pms] # An irrecoverable stack overflow has occurred.
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x7fbc07ae, pid=21447, tid=2129656720
#
# Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# C [jna8872463338516536925.tmp+0x57ae] newJavaString+0x6e
#
# An error report file with more information is saved as:
# /share/MD0_DATA/.qpkg/Optware/pms/hs_err_pid21447.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
[1]+ Aborted ./pms.sh

And here are the contents of the file hs_err_pid21447.log:
Code: Select all
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x7fbc07ae, pid=21447, tid=2129656720
#
# Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# C  [jna8872463338516536925.tmp+0x57ae]  newJavaString+0x6e
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x7fe7e800):  JavaThread "Thread-12" [_thread_in_native, id=21774, stack(0x7ee00000,0x7ef00000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x7ee00000

Registers:
EAX=0x00000044, EBX=0x7fbcc114, ECX=0x7ed6aaf0, EDX=0x0004aa88
ESP=0x7ed6aaf0, EBP=0x7eefe8f8, ESI=0x000c9eef, EDI=0x7afb4014
EIP=0x7fbc07ae, CR2=0x7ee00000, EFLAGS=0x00010297

Top of Stack: (sp=0x7ed6aaf0)
0x7ed6aaf0:   00650047 0065006e 00610072 000a006c
0x7ed6ab00:   006f0043 006e0075 00200074 00200020
0x7ed6ab10:   00200020 00200020 00200020 00200020
0x7ed6ab20:   00200020 00200020 00200020 00200020
0x7ed6ab30:   00200020 00200020 00200020 00200020
0x7ed6ab40:   003a0020 00320020 00360036 0053000a
0x7ed6ab50:   00720074 00610065 0043006d 0075006f
0x7ed6ab60:   0074006e 00200020 00200020 00200020

Instructions: (pc=0x7fbc07ae)
0x7fbc079e:   83 e1 f0 31 d2 eb 0e 8d 76 00 8b 7d 0c 8b 04 97
0x7fbc07ae:   66 89 04 51 42 39 f2 7c f1 57 8b 55 08 8b 02 56

Stack: [0x7ee00000,0x7ef00000],  sp=0x7ed6aaf0,  free space=-598k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [jna8872463338516536925.tmp+0x57ae]  newJavaString+0x6e
C  [jna8872463338516536925.tmp+0x5bdb]  Java_com_sun_jna_Pointer__1getString+0x23
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.invokeString(I[Ljava/lang/Object;Z)Ljava/lang/String;+24
j  com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+557
j  com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
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

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.invokeString(I[Ljava/lang/Object;Z)Ljava/lang/String;+24
j  com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+557
j  com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
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

[error occurred during error reporting (printing Java stack), id 0xb]


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x7d2dac00 JavaThread "DestroyJavaVM" [_thread_blocked, id=21453, stack(0xb7c66000,0xb7d66000)]
=>0x7fe7e800 JavaThread "Thread-12" [_thread_in_native, id=21774, stack(0x7ee00000,0x7ef00000)]
  0x7fe91400 JavaThread "Thread-11" [_thread_in_native, id=21517, stack(0x7ef00000,0x7f000000)]
  0x7fe95c00 JavaThread "Thread-10" [_thread_blocked, id=21516, stack(0x7f000000,0x7f100000)]
  0x7fecf400 JavaThread "H2 Log Writer MEDIAS" daemon [_thread_blocked, id=21475, stack(0x7f2c8000,0x7f3c8000)]
  0x7fed7000 JavaThread "H2 File Lock Watchdog /share/MD0_DATA/.qpkg/Optware/pms/database/medias.lock.db" daemon [_thread_blocked, id=21474, stack(0x7f3c8000,0x7f4c8000)]
  0x7fe8c800 JavaThread "New I/O server boss #1 (channelId: 3902281, /192.168.0.192:5001)" [_thread_in_native, id=21471, stack(0x7f4eb000,0x7f5eb000)]
  0x7fe02c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=21462, stack(0x7fd00000,0x7fe00000)]
  0x7fe00800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=21461, stack(0x7ff80000,0x80000000)]
  0x080f3800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=21460, stack(0x80000000,0x80080000)]
  0x080f1c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=21459, stack(0x80080000,0x80180000)]
  0x080e1c00 JavaThread "Finalizer" daemon [_thread_blocked, id=21458, stack(0x802b4000,0x803b4000)]
  0x080dd000 JavaThread "Reference Handler" daemon [_thread_blocked, id=21457, stack(0x803b4000,0x804b4000)]

Other Threads:
  0x080d9800 VMThread [stack: 0x804b4000,0x80534000] [id=21456]
  0x7fe04c00 WatcherThread [stack: 0x7ff00000,0x7ff80000] [id=21463]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 7232K, used 6049K [0xaf5c0000, 0xafed0000, 0xb4b10000)
  eden space 6848K, 82% used [0xaf5c0000,0xafb4a468,0xafc70000)
  from space 384K, 98% used [0xafe70000,0xafece1f0,0xafed0000)
  to   space 1152K, 0% used [0xafc90000,0xafc90000,0xafdb0000)
 PSOldGen        total 9664K, used 7544K [0x84b10000, 0x85480000, 0xaf5c0000)
  object space 9664K, 78% used [0x84b10000,0x8526e2b0,0x85480000)
 PSPermGen       total 20224K, used 12155K [0x80b10000, 0x81ed0000, 0x84b10000)
  object space 20224K, 60% used [0x80b10000,0x816eeff8,0x81ed0000)

Dynamic libraries:
06000000-06676000 r-xp 00000000 09:00 4064372    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/server/libjvm.so
06676000-066bb000 rwxp 00675000 09:00 4064372    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/server/libjvm.so
066bb000-06add000 rwxp 00000000 00:00 0
08048000-08052000 r-xp 00000000 09:00 4064198    /share/MD0_DATA/.qpkg/JRE/jre/bin/java
08052000-08053000 rwxp 00009000 09:00 4064198    /share/MD0_DATA/.qpkg/JRE/jre/bin/java
08053000-09285000 rwxp 00000000 00:00 0          [heap]
7afb4000-7ba00000 rwxp 00000000 00:00 0
7ba00000-7bafe000 rwxp 00000000 00:00 0
7bafe000-7bb00000 ---p 00000000 00:00 0
7bbff000-7bc02000 rwxp 00000000 00:00 0
7bc02000-7bcff000 rwxp 00000000 00:00 0
7bcff000-7bd02000 rwxp 00000000 00:00 0
7bd02000-7bdff000 rwxp 00000000 00:00 0
7bf00000-7c003000 rwxp 00000000 00:00 0
7c003000-7c100000 rwxp 00000000 00:00 0
7c100000-7c103000 rwxp 00000000 00:00 0
7c103000-7c200000 rwxp 00000000 00:00 0
7c200000-7c203000 rwxp 00000000 00:00 0
7c203000-7c300000 rwxp 00000000 00:00 0
7c300000-7c303000 rwxp 00000000 00:00 0
7c303000-7c400000 rwxp 00000000 00:00 0
7c400000-7c600000 rwxp 00000000 00:00 0
7c600000-7c703000 rwxp 00000000 00:00 0
7c703000-7c800000 rwxp 00000000 00:00 0
7c800000-7c803000 rwxp 00000000 00:00 0
7c803000-7c900000 rwxp 00000000 00:00 0
7c900000-7c903000 rwxp 00000000 00:00 0
7c903000-7ca00000 rwxp 00000000 00:00 0
7ca00000-7cd03000 rwxp 00000000 00:00 0
7cd03000-7ce00000 rwxp 00000000 00:00 0
7ce00000-7ce03000 rwxp 00000000 00:00 0
7ce03000-7cf00000 rwxp 00000000 00:00 0
7cf00000-7cf03000 rwxp 00000000 00:00 0
7cf03000-7d000000 rwxp 00000000 00:00 0
7d000000-7d003000 rwxp 00000000 00:00 0
7d003000-7d100000 rwxp 00000000 00:00 0
7d100000-7d2f3000 rwxp 00000000 00:00 0
7d2f3000-7d300000 ---p 00000000 00:00 0
7d300000-7d500000 rwxp 00000000 00:00 0
7d500000-7d603000 rwxp 00000000 00:00 0
7d603000-7d700000 rwxp 00000000 00:00 0
7d700000-7d703000 rwxp 00000000 00:00 0
7d703000-7d800000 rwxp 00000000 00:00 0
7d800000-7d803000 rwxp 00000000 00:00 0
7d803000-7d900000 rwxp 00000000 00:00 0
7d900000-7d903000 rwxp 00000000 00:00 0
7d903000-7da00000 rwxp 00000000 00:00 0
7da00000-7da03000 rwxp 00000000 00:00 0
7da03000-7db00000 rwxp 00000000 00:00 0
7db00000-7db03000 rwxp 00000000 00:00 0
7db03000-7dc00000 rwxp 00000000 00:00 0
7dc00000-7dc03000 rwxp 00000000 00:00 0
7dc03000-7dd00000 rwxp 00000000 00:00 0
7dd00000-7dd03000 rwxp 00000000 00:00 0
7dd03000-7de00000 rwxp 00000000 00:00 0
7de00000-7de03000 rwxp 00000000 00:00 0
7de03000-7df00000 rwxp 00000000 00:00 0
7df00000-7df03000 rwxp 00000000 00:00 0
7df03000-7e000000 rwxp 00000000 00:00 0
7e000000-7e003000 rwxp 00000000 00:00 0
7e003000-7e100000 rwxp 00000000 00:00 0
7e100000-7e103000 rwxp 00000000 00:00 0
7e103000-7e200000 rwxp 00000000 00:00 0
7e200000-7e203000 rwxp 00000000 00:00 0
7e203000-7e300000 rwxp 00000000 00:00 0
7e300000-7e303000 rwxp 00000000 00:00 0
7e303000-7e400000 rwxp 00000000 00:00 0
7e400000-7e403000 rwxp 00000000 00:00 0
7e403000-7e500000 rwxp 00000000 00:00 0
7e500000-7e503000 rwxp 00000000 00:00 0
7e503000-7e600000 rwxp 00000000 00:00 0
7e600000-7e603000 rwxp 00000000 00:00 0
7e603000-7e700000 rwxp 00000000 00:00 0
7e700000-7e703000 rwxp 00000000 00:00 0
7e703000-7e800000 rwxp 00000000 00:00 0
7e800000-7e803000 rwxp 00000000 00:00 0
7e803000-7e900000 rwxp 00000000 00:00 0
7e900000-7ea03000 rwxp 00000000 00:00 0
7ea03000-7eb00000 rwxp 00000000 00:00 0
7eb00000-7eb03000 rwxp 00000000 00:00 0
7eb03000-7ec00000 rwxp 00000000 00:00 0
7ec00000-7ec03000 rwxp 00000000 00:00 0
7ec03000-7ed00000 rwxp 00000000 00:00 0
7ed00000-7ed03000 rwxp 00000000 00:00 0
7ed03000-7ee01000 rwxp 00000000 00:00 0
7ee01000-7ee03000 ---p 00000000 00:00 0
7ee03000-7ef00000 rwxp 00000000 00:00 0
7ef00000-7ef03000 ---p 00000000 00:00 0
7ef03000-7f000000 rwxp 00000000 00:00 0
7f000000-7f003000 ---p 00000000 00:00 0
7f003000-7f100000 rwxp 00000000 00:00 0
7f100000-7f200000 rwxp 00000000 00:00 0
7f2c8000-7f2cb000 ---p 00000000 00:00 0
7f2cb000-7f3c8000 rwxp 00000000 00:00 0
7f3c8000-7f3cb000 ---p 00000000 00:00 0
7f3cb000-7f4c8000 rwxp 00000000 00:00 0
7f4c8000-7f4cf000 r-xs 00110000 09:00 4064423    /share/MD0_DATA/.qpkg/JRE/jre/lib/resources.jar
7f4cf000-7f4d6000 r-xp 00000000 09:00 4064360    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libnio.so
7f4d6000-7f4d7000 rwxp 00006000 09:00 4064360    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libnio.so
7f4d7000-7f4ea000 r-xp 00000000 09:00 4064359    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libnet.so
7f4ea000-7f4eb000 rwxp 00013000 09:00 4064359    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libnet.so
7f4eb000-7f4ee000 ---p 00000000 00:00 0
7f4ee000-7f5eb000 rwxp 00000000 00:00 0
7f5eb000-7f5ee000 rwxp 00000000 00:00 0
7f5ee000-7f6eb000 rwxp 00000000 00:00 0
7f6eb000-7f6ff000 r-xp 00000000 01:00 24585      /lib/libz.so.1.2.3.3
7f6ff000-7f700000 rwxp 00013000 01:00 24585      /lib/libz.so.1.2.3.3
7f700000-7fa6d000 r-xp 00000000 09:00 789943     /share/MD0_DATA/.qpkg/Optware/pms/linux/lib/libmediainfo.so.0.0.0
7fa6d000-7fa76000 rwxp 0036d000 09:00 789943     /share/MD0_DATA/.qpkg/Optware/pms/linux/lib/libmediainfo.so.0.0.0
7fa76000-7fa80000 r-xp 00000000 01:00 24599      /lib/libgcc_s.so.1
7fa80000-7fa81000 rwxp 0000a000 01:00 24599      /lib/libgcc_s.so.1
7fa81000-7fb69000 r-xp 00000000 01:00 31260      /usr/lib/libstdc++.so.6.0.9
7fb69000-7fb6c000 r-xp 000e8000 01:00 31260      /usr/lib/libstdc++.so.6.0.9
7fb6c000-7fb6e000 rwxp 000eb000 01:00 31260      /usr/lib/libstdc++.so.6.0.9
7fb6e000-7fb74000 rwxp 00000000 00:00 0
7fb74000-7fbba000 r-xp 00000000 09:00 789944     /share/MD0_DATA/.qpkg/Optware/pms/linux/lib/libzen.so.0.0.0
7fbba000-7fbbb000 rwxp 00045000 09:00 789944     /share/MD0_DATA/.qpkg/Optware/pms/linux/lib/libzen.so.0.0.0
7fbbb000-7fbcc000 r-xp 00000000 00:0d 2050168    /tmp/jna8872463338516536925.tmp
7fbcc000-7fbcd000 rwxp 00011000 00:0d 2050168    /tmp/jna8872463338516536925.tmp
7fbcd000-7fbd4000 r-xs 00091000 09:00 4064392    /share/MD0_DATA/.qpkg/JRE/jre/lib/jsse.jar
7fbd4000-7fbd9000 r-xp 00000000 09:00 4064326    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/headless/libmawt.so
7fbd9000-7fbda000 rwxp 00004000 09:00 4064326    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/headless/libmawt.so
7fbda000-7fc5e000 r-xp 00000000 09:00 4064330    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libawt.so
7fc5e000-7fc65000 rwxp 00084000 09:00 4064330    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libawt.so
7fc65000-7fc89000 rwxp 00000000 00:00 0
7fc89000-7fd00000 r-xs 0141c000 09:00 789934     /share/MD0_DATA/.qpkg/Optware/pms/pms.jar
7fd00000-7fd03000 ---p 00000000 00:00 0
7fd03000-7fe00000 rwxp 00000000 00:00 0
7fe00000-7fef9000 rwxp 00000000 00:00 0
7fef9000-7ff00000 ---p 00000000 00:00 0
7ff00000-7ff01000 ---p 00000000 00:00 0
7ff01000-7ff80000 rwxp 00000000 00:00 0
7ff80000-7ff83000 ---p 00000000 00:00 0
7ff83000-80000000 rwxp 00000000 00:00 0
80000000-80003000 ---p 00000000 00:00 0
80003000-80080000 rwxp 00000000 00:00 0
80080000-80083000 ---p 00000000 00:00 0
80083000-80180000 rwxp 00000000 00:00 0
80180000-802b4000 r-xp 00000000 01:00 30734      /usr/lib/locale/locale-archive
802b4000-802b7000 ---p 00000000 00:00 0
802b7000-803b4000 rwxp 00000000 00:00 0
803b4000-803b7000 ---p 00000000 00:00 0
803b7000-804b4000 rwxp 00000000 00:00 0
804b4000-804b5000 ---p 00000000 00:00 0
804b5000-80567000 rwxp 00000000 00:00 0
80567000-806f9000 r-xs 02f34000 09:00 4064424    /share/MD0_DATA/.qpkg/JRE/jre/lib/rt.jar
806f9000-806fa000 ---p 00000000 00:00 0
806fa000-80779000 rwxp 00000000 00:00 0
80779000-8077a000 ---p 00000000 00:00 0
8077a000-80803000 rwxp 00000000 00:00 0
80803000-80819000 rwxp 00000000 00:00 0
80819000-8081e000 rwxp 00000000 00:00 0
8081e000-8096f000 rwxp 00000000 00:00 0
8096f000-80979000 rwxp 00000000 00:00 0
80979000-8098f000 rwxp 00000000 00:00 0
8098f000-80994000 rwxp 00000000 00:00 0
80994000-80ae4000 rwxp 00000000 00:00 0
80ae4000-80ae9000 rwxp 00000000 00:00 0
80ae9000-80b0f000 rwxp 00000000 00:00 0
80b0f000-81ed0000 rwxp 00000000 00:00 0
81ed0000-84b10000 rwxp 00000000 00:00 0
84b10000-85480000 rwxp 00000000 00:00 0
85480000-af5c0000 rwxp 00000000 00:00 0
af5c0000-afed0000 rwxp 00000000 00:00 0
afed0000-b4b10000 rwxp 00000000 00:00 0
b4b14000-b4b1d000 rwxp 00000000 00:00 0
b4b1d000-b4bd4000 rwxp 00000000 00:00 0
b4bd4000-b4e14000 rwxp 00000000 00:00 0
b4e14000-b7bd4000 rwxp 00000000 00:00 0
b7bd4000-b7be3000 r-xp 00000000 09:00 4064368    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libzip.so
b7be3000-b7be5000 rwxp 0000e000 09:00 4064368    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libzip.so
b7be5000-b7c08000 r-xp 00000000 09:00 4064343    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libjava.so
b7c08000-b7c0a000 rwxp 00023000 09:00 4064343    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libjava.so
b7c0a000-b7c15000 r-xp 00000000 09:00 4064367    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libverify.so
b7c15000-b7c16000 rwxp 0000b000 09:00 4064367    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/libverify.so
b7c16000-b7c1e000 rwxs 00000000 00:0d 2050167    /tmp/hsperfdata_admin/21447
b7c1e000-b7c26000 r-xp 00000000 01:00 20570      /lib/libnss_files-2.6.1.so
b7c26000-b7c28000 rwxp 00007000 01:00 20570      /lib/libnss_files-2.6.1.so
b7c28000-b7c30000 r-xp 00000000 01:00 20535      /lib/libnss_nis-2.6.1.so
b7c30000-b7c32000 rwxp 00007000 01:00 20535      /lib/libnss_nis-2.6.1.so
b7c32000-b7c38000 r-xp 00000000 01:00 20513      /lib/libnss_compat-2.6.1.so
b7c38000-b7c3a000 rwxp 00005000 01:00 20513      /lib/libnss_compat-2.6.1.so
b7c3a000-b7c4d000 r-xp 00000000 01:00 28675      /lib/libnsl-2.6.1.so
b7c4d000-b7c4f000 rwxp 00012000 01:00 28675      /lib/libnsl-2.6.1.so
b7c4f000-b7c51000 rwxp 00000000 00:00 0
b7c56000-b7c5c000 r-xp 00000000 09:00 4064370    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/native_threads/libhpi.so
b7c5c000-b7c5d000 rwxp 00006000 09:00 4064370    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/native_threads/libhpi.so
b7c5d000-b7c64000 r-xp 00000000 01:00 28676      /lib/librt-2.6.1.so
b7c64000-b7c66000 rwxp 00006000 01:00 28676      /lib/librt-2.6.1.so
b7c66000-b7c69000 ---p 00000000 00:00 0
b7c69000-b7d66000 rwxp 00000000 00:00 0
b7d66000-b7d89000 r-xp 00000000 01:00 28682      /lib/libm-2.6.1.so
b7d89000-b7d8b000 rwxp 00022000 01:00 28682      /lib/libm-2.6.1.so
b7d8b000-b7d8c000 rwxp 00000000 00:00 0
b7d8c000-b7eba000 r-xp 00000000 01:00 20568      /lib/libc-2.6.1.so
b7eba000-b7ebb000 r-xp 0012d000 01:00 20568      /lib/libc-2.6.1.so
b7ebb000-b7ebd000 rwxp 0012e000 01:00 20568      /lib/libc-2.6.1.so
b7ebd000-b7ec0000 rwxp 00000000 00:00 0
b7ec0000-b7ec2000 r-xp 00000000 01:00 20493      /lib/libdl-2.6.1.so
b7ec2000-b7ec4000 rwxp 00001000 01:00 20493      /lib/libdl-2.6.1.so
b7ec4000-b7ecb000 r-xp 00000000 09:00 4064327    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/jli/libjli.so
b7ecb000-b7ecd000 rwxp 00006000 09:00 4064327    /share/MD0_DATA/.qpkg/JRE/jre/lib/i386/jli/libjli.so
b7ecd000-b7ece000 rwxp 00000000 00:00 0
b7ece000-b7ee1000 r-xp 00000000 01:00 20500      /lib/libpthread-2.6.1.so
b7ee1000-b7ee3000 rwxp 00012000 01:00 20500      /lib/libpthread-2.6.1.so
b7ee3000-b7ee5000 rwxp 00000000 00:00 0
b7ee6000-b7ee7000 r-xs 00000000 01:00 28702      /usr/lib/gconv/gconv-modules.cache
b7ee7000-b7ee8000 r-xs 0000e000 09:00 789948     /share/MD0_DATA/.qpkg/Optware/pms/plugins/MovieInfo.jar
b7ee8000-b7ee9000 rwxp 00000000 00:00 0
b7ee9000-b7eea000 r-xp 00000000 00:00 0
b7eea000-b7eec000 rwxp 00000000 00:00 0
b7eec000-b7eed000 r-xp 00000000 00:00 0          [vdso]
b7eed000-b7f07000 r-xp 00000000 01:00 20552      /lib/ld-2.6.1.so
b7f07000-b7f09000 rwxp 00019000 01:00 20552      /lib/ld-2.6.1.so
bffc1000-bffd6000 rwxp 00000000 00:00 0          [stack]

VM Arguments:
jvm_args: -Xss1024k -Xmx768M -Djava.awt.headless=true -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true
java_command: net.pms.PMS
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/jre
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/usr/local/jre/bin:/opt/pms/linux
LD_LIBRARY_PATH=/share/MD0_DATA/.qpkg/JRE/jre/lib/i386/server:/share/MD0_DATA/.qpkg/JRE/jre/lib/i386:/share/MD0_DATA/.qpkg/JRE/jre/../lib/i386
SHELL=/bin/sh

Signal Handlers:
SIGSEGV: [libjvm.so+0x6071f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x6071f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x506d80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:Linux
uname:Linux 2.6.30.6 #1 SMP Tue Feb 9 02:03:14 CST 2010 i686
libc:glibc 2.6.1 NPTL 2.6.1
rlimit: STACK 8192k, CORE 0k, NPROC 28606, NOFILE 1024, AS infinity
load average:1.13 0.83 0.38

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 3625732k(100212k free), swap 530040k(467912k free)

vm_info: Java HotSpot(TM) Server VM (11.3-b02) for linux-x86 JRE (1.6.0_13-b03), built on Mar  9 2009 01:16:42 by "java_re" with gcc 3.2.1-7a (J2SE release)

time: Mon Feb 22 23:51:26 2010
elapsed time: 437 seconds


And still the same error in file /database/medias.trace.db about a missing FILES table:
Code: Select all
02-22 23:44:10 jdbc[4]: SQLException
org.h2.jdbc.JdbcSQLException: Table FILES not found; SQL statement:
SELECT count(*) FROM FILES [42102-105]
   at org.h2.message.Message.getSQLException(Message.java:103)
   at org.h2.message.Message.getSQLException(Message.java:114)
   at org.h2.message.Message.getSQLException(Message.java:77)
   at org.h2.command.Parser.readTableOrView(Parser.java:4244)
   at org.h2.command.Parser.readTableFilter(Parser.java:973)
   at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1504)
   at org.h2.command.Parser.parseSelectSimple(Parser.java:1601)
   at org.h2.command.Parser.parseSelectSub(Parser.java:1498)
   at org.h2.command.Parser.parseSelectUnion(Parser.java:1343)
   at org.h2.command.Parser.parseSelect(Parser.java:1331)
   at org.h2.command.Parser.parsePrepared(Parser.java:392)
   at org.h2.command.Parser.parse(Parser.java:288)
   at org.h2.command.Parser.parse(Parser.java:260)
   at org.h2.command.Parser.prepareCommand(Parser.java:232)
   at org.h2.engine.Session.prepareLocal(Session.java:344)
   at org.h2.engine.Session.prepareCommand(Session.java:305)
   at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1043)
   at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
   at net.pms.dlna.DLNAMediaDatabase.init(DLNAMediaDatabase.java:107)
   at net.pms.PMS.getDatabase(PMS.java:265)
   at net.pms.PMS.init(PMS.java:426)
   at net.pms.PMS.get(PMS.java:1106)
   at net.pms.PMS.main(PMS.java:1170)
02-22 23:44:10 jdbc[5]: SQLException
org.h2.jdbc.JdbcSQLException: Table FILES not found [42102-105]
   at org.h2.message.Message.getSQLException(Message.java:103)
   at org.h2.message.Message.getSQLException(Message.java:114)
   at org.h2.message.Message.getSQLException(Message.java:77)
   at org.h2.command.ddl.DropTable.prepareDrop(DropTable.java:63)
   at org.h2.command.ddl.DropTable.update(DropTable.java:93)
   at org.h2.command.CommandContainer.update(CommandContainer.java:71)
   at org.h2.command.Command.executeUpdate(Command.java:207)
   at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:117)
   at net.pms.dlna.DLNAMediaDatabase.executeUpdate(DLNAMediaDatabase.java:231)
   at net.pms.dlna.DLNAMediaDatabase.init(DLNAMediaDatabase.java:142)
   at net.pms.PMS.getDatabase(PMS.java:265)
   at net.pms.PMS.init(PMS.java:426)
   at net.pms.PMS.get(PMS.java:1106)
   at net.pms.PMS.main(PMS.java:1170)
02-22 23:44:48 jdbc[11]: SQLException
org.h2.jdbc.JdbcSQLException: Value too long for column LANG: 'en /  /' [90005-105]
   at org.h2.message.Message.getSQLException(Message.java:103)
   at org.h2.message.Message.getSQLException(Message.java:114)
   at org.h2.table.Column.validateConvertUpdateSequence(Column.java:301)
   at org.h2.table.Table.validateConvertUpdateSequence(Table.java:579)
   at org.h2.command.dml.Insert.update(Insert.java:93)
   at org.h2.command.CommandContainer.update(CommandContainer.java:71)
   at org.h2.command.Command.executeUpdate(Command.java:207)
   at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:137)
   at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:126)
   at net.pms.dlna.DLNAMediaDatabase.insertData(DLNAMediaDatabase.java:425)
   at net.pms.dlna.RealFile.resolve(RealFile.java:363)
   at net.pms.dlna.RealFile.isValid(RealFile.java:57)
   at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:178)
   at net.pms.dlna.RealFile.manageFile(RealFile.java:179)
   at net.pms.dlna.RealFile.analyzeChildren(RealFile.java:119)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:107)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:135)
   at net.pms.dlna.RootFolder.scan(RootFolder.java:84)
   at net.pms.dlna.DLNAMediaDatabase.run(DLNAMediaDatabase.java:624)
   at java.lang.Thread.run(Thread.java:619)
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm

Re: Fatal error r400

Postby shagrath » Tue Feb 23, 2010 12:51 am

1- delete the "database "folder created by the server, I think the previous crashes were not helpful regarding this.
2- make sure to have MediaInfo=true in the conf file.
3- retry, and increase to -Xss2048k if this is the same.
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Fatal error r400

Postby AlphaMale » Tue Feb 23, 2010 1:01 am

Okay done that, the Scan folders command is running again ... will report back when its status changes ...
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm

Re: Fatal error r400

Postby shagrath » Tue Feb 23, 2010 1:05 am

btw I insist on the -Xss because this has solved the case for me.
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Fatal error r400

Postby AlphaMale » Tue Feb 23, 2010 1:12 am

Status just changed, I got the error again:

Code: Select all
An irrecoverable stack overflow has occurred.
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x8071c7ae, pid=31292, tid=2118122384
#
# Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# C  [jna6713254345034839748.tmp+0x57ae]  newJavaString+0x6e
#
# An error report file with more information is saved as:
# /share/MD0_DATA/.qpkg/Optware/pms/hs_err_pid31292.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
[1]+  Aborted                 ./pms.sh
[/opt/pms] #



I changed the commandline like you asked to:
exec "$JAVA" $JAVA_OPTS -Xss2048k -Xmx768M -Djava.awt.headless=true -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -classpath "$PMS_JAR" net.pms.PMS "$@"
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm

Re: Fatal error r400

Postby shagrath » Tue Feb 23, 2010 1:17 am

well I'm afraid it's out of my league. I don't know if the issue is related to the stack size (Xss parameter). It helps on my system and as the scan is a recursive process, I thought this was a good lead
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Fatal error r400

Postby shagrath » Tue Feb 23, 2010 1:20 am

errr "An irrecoverable stack overflow has occurred." in your last crash log. Guess we're close :p
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Fatal error r400

Postby AlphaMale » Tue Feb 23, 2010 1:23 am

No worries, I can live without the "Scan folders" feature, everything else works fine! :-)

Thanks for your all your help and this terrific programme!

btw, if you don't mind me asking: can you recommend a good Java book or course? because PMS has inspired me to start learning Java, I'm not kidding.

update: oh well, if you think we're close ... :-)
AlphaMale
 
Posts: 55
Joined: Sun Jan 24, 2010 2:43 pm

PreviousNext

Return to Linux/Unix Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests