SegFault bei 1.5 Start

  • Hallo,


    Habe ein System mit Suse 9.3, worauf ich schon frueher immer die neueste 1.3.x und Plugins gepatcht und kompiliert habe. Zur Zeit laeuft 1.4.7 mit Ext32. Nun moechte ich mich auch gerne am Testen der 1.5.x beteiligen, womit ich auch gleich zum Problem komme. (Leider habe ich die ersten 1.5-er Versionen nicht versucht, ein Ueberfliegen der entspr. Threads inkl. Suche hat nicht viel gebracht.)


    VDR-1.5.11 (keine Patches, ohne Plugins) beendet sich schon beim Start mit einem Speicherzugriffsfehler.


    linux:~ # locale
    LANG=
    LC_CTYPE=de_DE@euro
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=


    In der runvdr setze ich (lt. vdr-1.5.8-Thread)
    export LANG=de_DE.utf8
    export LANGUAGE=de_DE.utf8
    export LC_ALL=de_DE.utf8


    messages
    Nov 13 22:55:35 linux vdr: [8458] VDR version 1.5.11 started
    Nov 13 22:55:35 linux vdr: [8458] codeset is 'UTF-8' - known
    Nov 13 22:55:35 linux vdr: [8458] found 22 locales in ./locale
    Nov 13 22:55:35 linux vdr: [8458] loading /usr/local/src/VDR_config/setup.conf
    Nov 13 22:55:35 linux vdr: [8458] unknown locale: '1'


    Die letzte Fehlermeldung konnte ich eliminieren, indem ich in setup.conf "OSDLanguage = 1" entfernt habe, aber kein Unterschied.
    Bin nun ratlos. Habe die setup.conf geloescht, in der runvdr versch. Sprachen eingestellt, ...
    SegFault/Speicherzugriffsfehler!
    Installierte Versionen sind fontconfig 2.2.99 und freetype 2.1.9-4.1.


    Was fehlt, bzw. was ist der Fehler ?

  • Hi,


    Fonts sind auch installiert? Auch ein fc-cache aufgerufen?


    Ansonsten ich hab FreeType 2.3.4 und FontConfig 2.4.2 am laufen... Und wie ich so gesehen habe, soll es mit älteren Versionen (vor allem fontconfig) Probleme geben.
    Versuch mal upzudaten und Fonts installieren.


    Gruß Doc_Hollywood

    Current:

    Hardware_: Gigabyte B360M D3H, Silverstone Milo ML03, DD Cine S2 V7A, 256GB Samsung EVO 970, 4GB RAM, ASUS GT1030 passive

    Software_: ArchLinux, VDR4Arch, VDR 2.4.0, softhdcuvid, nordlichtsepg, skinenigmang


  • Schau Dir mal den letzten Beitrag zu vdr Segmentation fault (fontconfig?)
    an. Das erspart eventuell das Einspielen neuerer fonfconfig etc. Pakete.
    Falls es nicht hilft: Versuche mal, ein corefile zu erzeugen (evtl.

    Code
    limit core 10000000

    noetig), dann ein Backtrace mit gdb machen:

    Code
    gdb vdr core


    und im gdb den Befehl bt eingeben. Damit solltest Du rauskriegen, wo vdr stirbt.

  • Hallo,


    im Kontrollzentrum werden unter installierte Schriften 182 Stück gelistet. fc-list zeigt 185 an (?)


    fc-cache -f -v habe ich auch gemacht, ohne genau zu wissen wofür.


    Den Backttrace werde ich noch mal versuchen.


    Danke.

  • Hallo, habe endlich den BT erstellen können:


    gdb /usr/local/src/vdr-1.5.11_EX-37/vdr /usr/local/src/vdr-1.5.11_EX-37/core.4220
    GNU gdb 6.3
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".


    Core was generated by `/usr/local/src/VDR/vdr -D0 -D1 -D2 -L /usr/local/src/VDR/PLUGINS/lib -v /video0'.
    Program terminated with signal 11, Segmentation fault.


    warning: current_sos: Can't read pathname for load map: Input/output error


    Reading symbols from /usr/lib/libjpeg.so.62...done.
    Loaded symbols for /usr/lib/libjpeg.so.62
    Reading symbols from /lib/tls/libpthread.so.0...done.
    Loaded symbols for /lib/tls/libpthread.so.0
    Reading symbols from /lib/libdl.so.2...done.
    Loaded symbols for /lib/libdl.so.2
    Reading symbols from /lib/libcap.so.1...done.
    Loaded symbols for /lib/libcap.so.1
    Reading symbols from /usr/lib/libfreetype.so.6...done.
    Loaded symbols for /usr/lib/libfreetype.so.6
    Reading symbols from /usr/lib/libfontconfig.so.1...done.
    Loaded symbols for /usr/lib/libfontconfig.so.1
    Reading symbols from /usr/lib/libstdc++.so.5...done.
    Loaded symbols for /usr/lib/libstdc++.so.5
    Reading symbols from /lib/tls/libm.so.6...done.
    Loaded symbols for /lib/tls/libm.so.6
    Reading symbols from /lib/libgcc_s.so.1...done.
    Loaded symbols for /lib/libgcc_s.so.1
    Reading symbols from /lib/tls/libc.so.6...done.
    Loaded symbols for /lib/tls/libc.so.6
    Reading symbols from /lib/ld-linux.so.2...done.
    Loaded symbols for /lib/ld-linux.so.2
    Reading symbols from /usr/lib/libexpat.so.0...done.
    Loaded symbols for /usr/lib/libexpat.so.0
    Reading symbols from /usr/lib/gconv/ISO8859-15.so...done.
    Loaded symbols for /usr/lib/gconv/ISO8859-15.so
    #0 0x400e7f89 in FcCharSetDestroy () from /usr/lib/libfontconfig.so.1
    (gdb) bt
    #0 0x400e7f89 in FcCharSetDestroy () from /usr/lib/libfontconfig.so.1
    #1 0x400e86f6 in FcNameParseCharSet () from /usr/lib/libfontconfig.so.1
    #2 0x400f182d in FcNameParse () from /usr/lib/libfontconfig.so.1
    #3 0x400e31ee in FcDirCacheWriteDir () from /usr/lib/libfontconfig.so.1
    #4 0x400e34dc in FcDirCacheReadDir () from /usr/lib/libfontconfig.so.1
    #5 0x400ea128 in FcDirScanConfig () from /usr/lib/libfontconfig.so.1
    #6 0x400e6da7 in FcConfigBuildFonts () from /usr/lib/libfontconfig.so.1
    #7 0x400ed80c in FcInitLoadConfigAndFonts () from /usr/lib/libfontconfig.so.1
    #8 0x400ed90c in FcInit () from /usr/lib/libfontconfig.so.1
    #9 0x080ca899 in cFont::GetFontFileName (FontName=0x818c29c "Sans Serif") at font.c:392
    #10 0x080ca552 in cFont::CreateFont (Name=0x818c29c "Sans Serif", CharHeight=18, CharWidth=0)
    at font.c:337
    #11 0x080ca3fd in cFont::SetFont (Font=fontSml, Name=0x818c29c "Sans Serif", CharHeight=18)
    at font.c:312
    #12 0x080ca512 in cFont::GetFont (Font=fontSml) at font.c:328
    #13 0x0811b385 in cSkinSTTNGDisplayChannel (this=0xee0db30, WithInfo=true) at skinsttng.c:177
    #14 0x081250d9 in cSkinSTTNG::DisplayChannel (this=0xee0d8a8, WithInfo=true)
    at skinsttng.c:1141
    #15 0x080e3b7d in cDisplayChannel (this=0xee0daf8, Number=1, Switched=true) at menu.c:3201
    #16 0x0813bdaf in main (argc=19, argv=0xbffff004) at vdr.c:773
    (gdb)



    Habe dann den Patch von Wof06, (der in font.c die FcFini() auskommentiert) angewendet.
    Und siehe da: Damit läuft's !!!


    (Weitere Probs werden folgen)


    MfG

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!