[mythtv-users] latest 0.26: segfault in BE

Steven Adeff adeffs.mythtv at gmail.com
Tue Oct 2 16:45:18 UTC 2012


On Tue, Oct 2, 2012 at 4:27 AM, warpme <warpme at o2.pl> wrote:
> Hi,
>
> I get this segfault during LiveTV channel change.
> Unfortunately I don't have trace.
> Generally, getting trace will be quite difficult as my sys is very stable
> (24/7 operation with 50-70 recordings per day; last segfault in BE was 5-6
> month ago), so I don't want to run BE under gdb for another half of year.
>
> Taking into account info available in below dump, should I:
>
> -hope devs will find time and look on below info
> -create ticket for it
> -forget about it as below info is not sufficient to attack problem
>
> -br
>
>
> 2012-10-02 07:33:40.337745 I TVRec(17): Changing from WatchingLiveTV to None
> 2012-10-02 07:33:40.364897 I DVBSM(/dev/dvb/adapter8/frontend0): Signal
> Locked *** glibc detected *** /usr/bin/mythbackend: double free or
> corruption (out): 0x00007fa5f8d35400 *** ======= Backtrace: =========
> /lib/libc.so.6(+0x78a56)[0x7fa689fc9a56]
> /usr/lib/libmythtv-0.26.so.0(_ZN11LiveTVChainD1Ev+0x31)[0x7fa68dec2157]
> 2012-10-02 07:33:40.626595 I TVRec(17):
> FinishedRecording(8035_2012-10-02T05:33:33Z) damaged recq:<RecordingQuality
> overall_score="0" key="23809_2012-10-02T05:33:17Z"
> countinuity_error_count="0" packet_count="131257"> <Gap
> start="2012-10-02T05:25:00Z" end="2012-10-02T05:33:17Z" duration="497" />
> <Gap start="2012-10-02T05:33:30Z" end="2012-10-02T06:00:00Z" duration="1589"
> /> </RecordingQuality> /usr/bin/mythbackend[0x494158]
> /usr/bin/mythbackend[0x492e1a]
> /usr/lib/libmythbase-0.26.so.0(_ZN10MythSocket5closeEv+0x205)[0x7fa68d609a6b]
> /usr/lib/libmythbase-0.26.so.0(_ZN13MSocketDevice9writeDataEPKcx+0x4a6)[0x7fa68d70cec2]
> /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4)[0x7fa68ac0a114]
> /usr/lib/libmythbase-0.26.so.0(+0x59121)[0x7fa68d614121]
> /usr/lib/libmythbase-0.26.so.0(_ZN10MythSocket10writeBlockEPKcy+0x4c6)[0x7fa68d60a754]
> /usr/lib/libmythbase-0.26.so.0(_ZN10MythSocket15writeStringListER11QStringList+0xf5a)[0x7fa68d60b9a4]
> /usr/bin/mythbackend[0x46c62c] /usr/bin/mythbackend[0x482356]
> /usr/bin/mythbackend[0x461c42] /usr/bin/mythbackend[0x460854]
> /usr/bin/mythbackend[0x4991fd]
> /usr/lib/libmythbase-0.26.so.0(+0x490ba)[0x7fa68d6040ba]
> /usr/lib/libmythbase-0.26.so.0(+0x4623f)[0x7fa68d60123f]
> /usr/lib/libQtCore.so.4(+0x7b68b)[0x7fa68ab7b68b]
> /lib/libpthread.so.0(+0x7e0e)[0x7fa68c8cde0e]
> /lib/libc.so.6(clone+0x6d)[0x7fa68a0351ed] ======= Memory map: ========
> 00400000-005cc000 r-xp 00000000 08:01 169117 /usr/bin/mythbackend
> 007cc000-007d0000 r--p 001cc000 08:01 169117 /usr/bin/mythbackend
> 007d0000-007d2000 rw-p 001d0000 08:01 169117 /usr/bin/mythbackend
> 01eff000-0570e000 rw-p 00000000 00:00 0 [heap] 7fa5f0000000-7fa5f0953000
> rw-p 00000000 00:00 0 7fa5f0953000-7fa5f4000000 ---p 00000000 00:00 0
> 7fa5f8000000-7fa5fbff2000 rw-p 00000000 00:00 0 7fa5fbff2000-7fa5fc000000
> ---p 00000000 00:00 0 7fa60bcec000-7fa60bced000 ---p 00000000 00:00 0
> 7fa60bced000-7fa60c4ed000 rw-p 00000000 00:00 0 7fa61254b000-7fa61254c000
> ---p 00000000 00:00 0 7fa61254c000-7fa612d4c000 rw-p 00000000 00:00 0
> 7fa612d4c000-7fa612d4d000 ---p 00000000 00:00 0 7fa612d4d000-7fa61354d000
> rw-p 00000000 00:00 0 7fa61354d000-7fa61354e000 ---p 00000000 00:00 0
> 7fa61354e000-7fa613d4e000 rw-p 00000000 00:00 0 7fa613d4e000-7fa613d4f000
> ---p 00000000 00:00 0 7fa613d4f000-7fa61454f000 rw-p 00000000 00:00 0
> 7fa61454f000-7fa614550000 ---p 00000000 00:00 0 7fa614550000-7fa614d50000
> rw-p 00000000 00:00 0 7fa614d50000-7fa614d51000 ---p 00000000 00:00 0
> 7fa614d51000-7fa615551000 rw-p 00000000 00:00 0 7fa615551000-7fa615552000
> ---p 00000000 00:00 0 7fa615552000-7fa615d52000 rw-p 00000000 00:00 0
> 7fa615d52000-7fa615d53000 ---p 00000000 00:00 0 7fa615d53000-7fa616553000
> rw-p 00000000 00:00 0 7fa616553000-7fa616554000 ---p 00000000 00:00 0
> 7fa616554000-7fa616d54000 rw-p 00000000 00:00 0 7fa616d54000-7fa616d55000
> ---p 00000000 00:00 0 7fa616d55000-7fa617555000 rw-p 00000000 00:00 0
> 7fa617555000-7fa617556000 ---p 00000000 00:00 0 7fa617556000-7fa617d56000
> rw-p 00000000 00:00 0 7fa617d56000-7fa617d57000 ---p 00000000 00:00 0
> 7fa617d57000-7fa618557000 rw-p 00000000 00:00 0 7fa618557000-7fa618558000
> ---p 00000000 00:00 0 7fa618558000-7fa618d58000 rw-p 00000000 00:00 0
> 7fa618d58000-7fa618d59000 ---p 00000000 00:00 0 7fa618d59000-7fa619559000
> rw-p 00000000 00:00 0 7fa619559000-7fa619580000 r-xp 00000000 08:01 211523
> /usr/lib/qt/plugins/codecs/libqtwcodecs.so 7fa619580000-7fa61977f000 ---p
> 00027000 08:01 211523 /usr/lib/qt/plugins/codecs/libqtwcodecs.so
> 7fa61977f000-7fa619780000 r--p 00026000 08:01 211523
> /usr/lib/qt/plugins/codecs/libqtwcodecs.so 7fa619780000-7fa619781000 rw-p
> 00027000 08:01 211523 /usr/lib/qt/plugins/codecs/libqtwcodecs.so
> 7fa6197a4000-7fa6197a5000 ---p 00000000 00:00 0 7fa6197a5000-7fa619fa5000
> rw-p 00000000 00:00 0 7fa619fa5000-7fa619fa6000 ---p 00000000 00:00 0
> 7fa619fa6000-7fa61a7a6000 rw-p 00000000 00:00 0 7fa61a7a6000-7fa61a7a7000
> ---p 00000000 00:00 0 7fa61a7a7000-7fa61afa7000 rw-p 00000000 00:00 0
> 7fa61afa7000-7fa61afa8000 ---p 00000000 00:00 0 7fa61afa8000-7fa61b7a8000
> rw-p 00000000 00:00 0 7fa61dfd6000-7fa61dfd7000 ---p 00000000 00:00 0
> 7fa61dfd7000-7fa61e7d7000 rw-p 00000000 00:00 0 7fa61e7d7000-7fa61e7d8000
> ---p 00000000 00:00 0 7fa61e7d8000-7fa61efd8000 rw-p 00000000 00:00 0
> 7fa61efd8000-7fa621005000 rw-p 00000000 00:00 0 7fa621005000-7fa621018000
> r-xp 00000000 08:01 211522 /usr/lib/qt/plugins/codecs/libqkrcodecs.so
> 7fa621018000-7fa621217000 ---p 00013000 08:01 211522
> /usr/lib/qt/plugins/codecs/libqkrcodecs.so 7fa621217000-7fa621218000 r--p
> 00012000 08:01 211522 /usr/lib/qt/plugins/codecs/libqkrcodecs.so
> 7fa621218000-7fa621219000 rw-p 00013000 08:01 211522
> /usr/lib/qt/plugins/codecs/libqkrcodecs.so 7fa621219000-7fa621244000 r-xp
> 00000000 08:01 211521 /usr/lib/qt/plugins/codecs/libqjpcodecs.so
> 7fa621244000-7fa621444000 ---p 0002b000 08:01 211521
> /usr/lib/qt/plugins/codecs/libqjpcodecs.so 7fa621444000-7fa621446000 r--p
> 0002b000 08:01 211521 /usr/lib/qt/plugins/codecs/libqjpcodecs.so
> 7fa621446000-7fa621447000 rw-p 0002d000 08:01 211521
> /usr/lib/qt/plugins/codecs/libqjpcodecs.so 7fa621447000-7fa62146a000 r-xp
> 00000000 08:01 211505 /usr/lib/qt/plugins/codecs/libqcncodecs.so
> 7fa62146a000-7fa62166a000 ---p 00023000 08:01 211505
> /usr/lib/qt/plugins/codecs/libqcncodecs.so 7fa62166a000-7fa62166b000 r--p
> 00023000 08:01 211505 /usr/lib/qt/plugins/codecs/libqcncodecs.so
> 7fa62166b000-7fa62166c000 rw-p 00024000 08:01 211505
> /usr/lib/qt/plugins/codecs/libqcncodecs.so 7fa62166c000-7fa62168d000 r-xp
> 00000000 08:01 170821 /usr/lib/liblzma.so.5.0.3 7fa62168d000-7fa62188d000
> ---p 00021000 08:01 170821 /usr/lib/liblzma.so.5.0.3
> 7fa62188d000-7fa62188e000 r--p 00021000 08:01 170821
> /usr/lib/liblzma.so.5.0.3 7fa62188e000-7fa62188f000 rw-p 00022000 08:01
> 170821 /usr/lib/liblzma.so.5.0.3 7fa62188f000-7fa6218fd000 r-xp 00000000
> 08:01 171300 /usr/lib/libtiff.so.5.0.6 7fa6218fd000-7fa621afd000 ---p
> 0006e000 08:01 171300 /usr/lib/libtiff.so.5.0.6 7fa621afd000-7fa621afe000
> r--p 0006e000 08:01 171300 /usr/lib/libtiff.so.5.0.6
> 7fa621afe000-7fa621b01000 rw-p 0006f000 08:01 171300
> /usr/lib/libtiff.so.5.0.6 7fa621b01000-7fa621b08000 r-xp 00000000 08:01
> 211543 /usr/lib/qt/plugins/imageformats/libqtiff.so
> 7fa621b08000-7fa621d07000 ---p 00007000 08:01 211543
> /usr/lib/qt/plugins/imageformats/libqtiff.so 7fa621d07000-7fa621d08000 r--p
> 00006000 08:01 211543 /usr/lib/qt/plugins/imageformats/libqtiff.so
> 7fa621d08000-7fa621d09000 rw-p 00007000 08:01 211543
> /usr/lib/qt/plugins/imageformats/libqtiff.so 7fa621d09000-7fa621d0e000 r-xp
> 00000000 08:01 211536 /usr/lib/qt/plugins/imageformats/libqtga.so
> 7fa621d0e000-7fa621f0d000 ---p 00005000 08:01 211536
> /usr/lib/qt/plugins/imageformats/libqtga.so 7fa621f0d000-7fa621f0e000 r--p
> 00004000 08:01 211536 /usr/lib/qt/plugins/imageformats/libqtga.so
> 7fa621f0e000-7fa621f0f000 rw-p 00005000 08:01 211536
> /usr/lib/qt/plugins/imageformats/libqtga.so 7fa621f0f000-7fa621f63000 r-xp
> 00000000 08:01 170256 /usr/lib/libQtSvg.so.4.8.1 7fa621f63000-7fa622162000
> ---p 00054000 08:01 170256 /usr/lib/libQtSvg.so.4.8.1
> 7fa622162000-7fa622164000 r--p 00053000 08:01 170256
> /usr/lib/libQtSvg.so.4.8.1 7fa622164000-7fa622165000 rw-p 00055000 08:01
> 170256 /usr/lib/libQtSvg.so.4.8.1 7fa622165000-7fa62216a000 r-xp 00000000
> 08:01 211535 /usr/lib/qt/plugins/imageformats/libqsvg.so
> 7fa62216a000-7fa622369000 ---p 00005000 08:01 211535
> /usr/lib/qt/plugins/imageformats/libqsvg.so 7fa622369000-7fa62236a000 r--p
> 00004000 08:01 211535 /usr/lib/qt/plugins/imageformats/libqsvg.so
> 7fa62236a000-7fa62236b000 rw-p 00005000 08:01 211535
> /usr/lib/qt/plugins/imageformats/libqsvg.so 7fa62236b000-7fa6223d9000 r-xp
> 00000000 08:01 170602 /usr/lib/libmng.so.1.0.0 7fa6223d9000-7fa6225d9000
> ---p 0006e000 08:01 170602 /usr/lib/libmng.so.1.0.0
> 7fa6225d9000-7fa6225dc000 r--p 0006e000 08:01 170602
> /usr/lib/libmng.so.1.0.0 7fa6225dc000-7fa6225de000 rw-p 00071000 08:01
> 170602 /usr/lib/libmng.so.1.0.0 7fa6225de000-7fa6225e3000 r-xp 00000000
> 08:01 211533 /usr/lib/qt/plugins/imageformats/libqmng.so
> 7fa6225e3000-7fa6227e3000 ---p 00005000 08:01 211533
> /usr/lib/qt/plugins/imageformats/libqmng.so 7fa6227e3000-7fa6227e4000 r--p
> 00005000 08:01 211533 /usr/lib/qt/plugins/imageformats/libqmng.so
> 7fa6227e4000-7fa6227e5000 rw-p 00006000 08:01 211533
> /usr/lib/qt/plugins/imageformats/libqmng.so 7fa6227e5000-7fa6227e6000 ---p
> 00000000 00:00 0 7fa6227e6000-7fa622fe6000 rw-p 00000000 00:00 0
> 7fa622fe6000-7fa622fe7000 ---p 00000000 00:00 0 7fa622fe7000-7fa6237e7000
> rw-p 00000000 00:00 0 7fa6237e7000-7fa6237e8000 ---p 00000000 00:00 0
> 7fa6237e8000-7fa623fe8000 rw-p 00000000 00:00 0 7fa623fe8000-7fa623fe9000
> ---p 00000000 00:00 0 7fa623fe9000-7fa6247e9000 rw-p 00000000 00:00 0
> 7fa6247e9000-7fa6247ea000 ---p 00000000 00:00 0 7fa6247ea000-7fa624fea000
> rw-p 00000000 00:00 0 7fa624fea000-7fa624feb000 ---p 00000000 00:00 0
> 7fa624feb000-7fa6257eb000 rw-p 00000000 00:00 0 7fa6257eb000-7fa6257ec000
> ---p 00000000 00:00 0 7fa6257ec000-7fa625fec000 rw-p 00000000 00:00 0
> 7fa625fec000-7fa625fed000 ---p 00000000 00:00 0 7fa625fed000-7fa6267ed000
> rw-p 00000000 00:00 0 7fa6267ed000-7fa6267ee000 ---p 00000000 00:00 0
> 7fa6267ee000-7fa626fee000 rw-p 00000000 00:00 0 7fa626fee000-7fa626fef000
> ---p 00000000 00:00 0 7fa626fef000-7fa6277ef000 rw-p 00000000 00:00 0
> 7fa6277ef000-7fa6277f0000 ---p 00000000 00:00 0 7fa6277f0000-7fa627ff0000
> rw-p 00000000 00:00 0 7fa627ff0000-7fa627ff1000 ---p 00000000 00:00 0
> 7fa627ff1000-7fa6287f1000 rw-p 00000000 00:00 0 7fa6287f1000-7fa6287f2000
> ---p 00000000 00:00 0 7fa6287f2000-7fa628ff2000 rw-p 00000000 00:00 0
> 7fa628ff2000-7fa628ff3000 ---p 00000000 00:00 0 7fa628ff3000-7fa6297f3000
> rw-p 00000000 00:00 0 7fa6297f3000-7fa6297f4000 ---p 00000000 00:00 0
> 7fa6297f4000-7fa629ff4000 rw-p 00000000 00:00 0 7fa629ff4000-7fa629ff5000
> ---p 00000000 00:00 0 7fa629ff5000-7fa62a7f5000 rw-p 00000000 00:00 0
> 7fa62a7f5000-7fa62a7f6000 ---p 00000000 00:00 0 7fa62a7f6000-7fa62aff6000
> rw-p 00000000 00:00 0 7fa62aff6000-7fa62aff7000 ---p 00000000 00:00 0
> 7fa62aff7000-7fa62b7f7000 rw-p 00000000 00:00 0 7fa62b7f7000-7fa62b7f8000
> ---p 00000000 00:00 0 7fa62b7f8000-7fa62bff8000 rw-p 00000000 00:00 0
> 7fa62bff8000-7fa62bff9000 ---p 00000000 00:00 0 7fa62bff9000-7fa62c7f9000
> rw-p 00000000 00:00 0 7fa62c7f9000-7fa62c7fa000 ---p 00000000 00:00 0
> 7fa62c7fa000-7fa62cffa000 rw-p 00000000 00:00 0 7fa62cffa000-7fa62cffb000
> ---p 00000000 00:00 0 7fa62cffb000-7fa62d7fb000 rw-p 00000000 00:00 0
> 7fa62d7fb000-7fa62d7fc000 ---p 00000000 00:00 0 7fa62d7fc000-7fa62dffc000
> rw-p 00000000 00:00 0 7fa62dffc000-7fa62dffd000 ---p 00000000 00:00 0
> 7fa62dffd000-7fa62e7fd000 rw-p 00000000 00:00 0 7fa62e7fd000-7fa62e7fe000
> ---p 00000000 00:00 0 7fa62e7fe000-7fa62effe000 rw-p 00000000 00:00 0
> 7fa62effe000-7fa62efff000 ---p 00000000 00:00 0 7fa62efff000-7fa62f7ff000
> rw-p 00000000 00:00 0 7fa62f7ff000-7fa62f800000 ---p 00000000 00:00 0
> 7fa62f800000-7fa630000000 rw-p 00000000 00:00 0 7fa630000000-7fa630424000
> rw-p 00000000 00:00 0 7fa630424000-7fa634000000 ---p 00000000 00:00 0
> 7fa634000000-7fa6340a1000 rw-p 00000000 00:00 0 7fa6340a1000-7fa638000000
> ---p 00000000 00:00 0 7fa638199000-7fa6381d8000 r-xp 00000000 08:01 171050
> /usr/lib/libjpeg.so.8.0.2 7fa6381d8000-7fa6383d7000 ---p 0003f000 08:01
> 171050 /usr/lib/libjpeg.so.8.0.2 7fa6383d7000-7fa6383d8000 r--p 0003e000
> 08:01 171050 /usr/lib/libjpeg.so.8.0.2 7fa6383d8000-7fa6383d9000 rw-p
> 0003f000 08:01 171050 /usr/lib/libjpeg.so.8.0.2 7fa6383d9000-7fa6383e9000
> rw-p 00000000 00:00 0 7fa6383e9000-7fa6383f0000 r-xp 00000000 08:01 211526
> /usr/lib/qt/plugins/imageformats/libqjpeg.so 7fa6383f0000-7fa6385ef000 ---p
> 00007000 08:01 211526 /usr/lib/qt/plugins/imageformats/libqjpeg.so
> 7fa6385ef000-7fa6385f0000 r--p 00006000 08:01 211526
> /usr/lib/qt/plugins/imageformats/libqjpeg.so mythbackend.service: main
> process exited, code=killed, status=6 mythbackend.service stopping timed
> out. Killing. Unit mythbackend.service entered failed state.
> mythbackend.service holdoff time over, scheduling restart.  2012-10-02
> 07:34:16.419623 C mythbackend version: master
> [v0.26-beta-117-g358af8a-dirty-20120928] www.mythtv.org
>

you can attach to an existing session,
http://www.mythtv.org/wiki/Debugging#Attaching_gdb_to_a_running_process


-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-users mailing list