Archiv > Development
[3.0.2] Updateproblem
Christian:
habe mal das gdb addon gebaut ... kannst jetzt bitte einmal versuchen auf der mld zu debuggen
es sollte automatisch beim rechnerstart ulimit gesetzt und bei einem segfault kann auf der konsole mit "gdbmld" der debugger gestartet werden (gdb /usr/bin/vdr /root/core)
falls die vdr libs nicht automatisch gefunden werden sagt bescheid, dann ändere ich die startparameter
Christian:
--- Quote --- habe mal das gdb addon gebaut ... kannst jetzt bitte einmal versuchen auf der mld zu debuggen
es sollte automatisch beim rechnerstart ulimit gesetzt und bei einem segfault kann auf der konsole mit "gdbmld" der debugger gestartet werden (gdb /usr/bin/vdr /root/core)
falls die vdr libs nicht automatisch gefunden werden sagt bescheid, dann ändere ich die startparameter
--- End quote ---
ich wollte selber einmal ein dump anlegen nur leider kommt der nicht ?!?! grrrr
der müsste doch im /root landen oder?
skippy:
Hi Christian,
das ging ja schnell. Habe es gleich mal getestet. Das Setzen von ulimit -c unlimited scheint noch nicht zu funktionieren. Jedenfalls wurde kein core erzeugt, obwohl der Segfault aufgetreten ist. Ich habe dann den vdr gestoppt, ulimit -c unlimited eingegeben und den vdr gestartet. Core wurde erzeugt. Hier die Ausgabe von gdb:
--- Code: ---MLD> gdbmld
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/vdr...(no debugging symbols found)...done.
[New LWP 24340]
[New LWP 24300]
[New LWP 24294]
[New LWP 24313]
[New LWP 24301]
[New LWP 24325]
[New LWP 24310]
[New LWP 24330]
[New LWP 24311]
[New LWP 24314]
[New LWP 24334]
[New LWP 24322]
[New LWP 24335]
[New LWP 24323]
[New LWP 24336]
[New LWP 24326]
[New LWP 24328]
[New LWP 24329]
[New LWP 24331]
[New LWP 24332]
[New LWP 24333]
[New LWP 24337]
[New LWP 24339]
[New LWP 24343]
[New LWP 24341]
warning: Can't read pathname for load map: Input/output error.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Failed to read a valid object file image from memory.
Core was generated by `/usr/bin/vdr -s /etc/vdr/shutdown.d/rc.action -r /etc/vdr/recording.d/rc.action'.
Program terminated with signal 11, Segmentation fault.
#0 0x080df988 in cEvent::ChannelID() const ()
(gdb) Killed
--- End code ---
Leider wird der Prozess sehr schnell gekillt. Bestimmt hast du noch ein paar Ideen.
Viele Grüße skippy
Christian:
--- Quote --- Hi Christian,
das ging ja schnell. Habe es gleich mal getestet. Das Setzen von ulimit -c unlimited scheint noch nicht zu funktionieren. Jedenfalls wurde kein core erzeugt, obwohl der Segfault aufgetreten ist. Ich habe dann den vdr gestoppt, ulimit -c unlimited eingegeben und den vdr gestartet. Core wurde erzeugt. Hier die Ausgabe von gdb:
--- Code: ---MLD> gdbmld
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/vdr...(no debugging symbols found)...done.
[New LWP 24340]
[New LWP 24300]
[New LWP 24294]
[New LWP 24313]
[New LWP 24301]
[New LWP 24325]
[New LWP 24310]
[New LWP 24330]
[New LWP 24311]
[New LWP 24314]
[New LWP 24334]
[New LWP 24322]
[New LWP 24335]
[New LWP 24323]
[New LWP 24336]
[New LWP 24326]
[New LWP 24328]
[New LWP 24329]
[New LWP 24331]
[New LWP 24332]
[New LWP 24333]
[New LWP 24337]
[New LWP 24339]
[New LWP 24343]
[New LWP 24341]
warning: Can't read pathname for load map: Input/output error.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Failed to read a valid object file image from memory.
Core was generated by `/usr/bin/vdr -s /etc/vdr/shutdown.d/rc.action -r /etc/vdr/recording.d/rc.action'.
Program terminated with signal 11, Segmentation fault.
#0 0x080df988 in cEvent::ChannelID() const ()
(gdb) Killed
--- End code ---
Leider wird der Prozess sehr schnell gekillt. Bestimmt hast du noch ein paar Ideen.
Viele Grüße skippy
--- End quote ---
dein vdr hat keine debug symbnole ?!?!
Christian:
der gdb debuggt 1a :)
skippy ich hab mal schnell :)
--- Code: ---
(gdb) backtrace
#0 cEvent::ChannelID (this=0x0) at epg.c:149
#1 0xb102f544 in upnp::VdrProvider::Action() () from /usr/lib/vdr/libupnp-vdr-provider.so.1.0.0-2.0.0
#2 0x0815e1f4 in cThread::StartThread (Thread=0x8643d80) at thread.c:262
#3 0xb774bd4c in ?? () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7476d3e in clone () from /lib/i386-linux-gnu/libc.so.6
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version