Mailing List Archive

mythfilldatabase segfaulting
Anyone else having issues with mythfilldatabase segfaulting on Ubuntu
20.04?

I noticed this morning that my boot drive was full due to /tmp having TONS
of mythXXXX temp files (xml outputs from mythfilldatabase). When I looked
into it, I saw that mythfilldatase was segfaulting (see log below).

The only thing I've changed recently was to change the mythbackend
password. Possibly I missed a config file somewhere?

mythfilldatabase --verbose --loglevel debug

2022-01-14 08:06:17.784674 C mythfilldatabase version: master
[v32.0~master.202201122333.d392ac9f16~ubuntu20.04.1] www.mythtv.org

2022-01-14 08:06:17.784679 C Qt version: compile: 5.12.8, runtime: 5.12.8

2022-01-14 08:06:17.784696 I Ubuntu 20.04.3 LTS (x86_64)

2022-01-14 08:06:17.784697 N Enabled verbose msgs: general

2022-01-14 08:06:17.784702 N Setting Log Level to LOG_DEBUG

2022-01-14 08:06:17.795009 I Added logging to the console

2022-01-14 08:06:17.795235 I Setup Interrupt handler

2022-01-14 08:06:17.795238 I Setup Terminated handler

2022-01-14 08:06:17.795240 I Setup Segmentation fault handler

2022-01-14 08:06:17.795242 I Setup Aborted handler

2022-01-14 08:06:17.795244 I Setup Bus error handler

2022-01-14 08:06:17.795247 I Setup Floating point exception handler

2022-01-14 08:06:17.795249 I Setup Illegal instruction handler

2022-01-14 08:06:17.795271 I Setup Real-time signal 0 handler

2022-01-14 08:06:17.795273 I Setup Hangup handler

2022-01-14 08:06:17.795412 N Using runtime prefix = /usr

2022-01-14 08:06:17.795413 N Using configuration directory =
/home/mythtv/.mythtv

2022-01-14 08:06:17.795414 D appbindir = /usr/bin/

2022-01-14 08:06:17.795414 D sharedir = /usr/share/mythtv/

2022-01-14 08:06:17.795415 D libdir = /usr/lib/mythtv/

2022-01-14 08:06:17.795415 D themedir = /usr/share/mythtv/themes/

2022-01-14 08:06:17.795415 D pluginsdir = /usr/lib/mythtv/plugins/

2022-01-14 08:06:17.795416 D translationsdir = /usr/share/mythtv/i18n/

2022-01-14 08:06:17.795416 D filtersdir = /usr/lib/mythtv/filters/

2022-01-14 08:06:17.795417 D cachedir = /home/mythtv/.mythtv/cache

2022-01-14 08:06:17.795417 D remotecachedir =
/home/mythtv/.mythtv/cache/remotecache

2022-01-14 08:06:17.795433 D themebasecachedir =
/home/mythtv/.mythtv/cache/themecache

2022-01-14 08:06:17.795433 D thumbnaildir =
/home/mythtv/.mythtv/cache/thumbnails

2022-01-14 08:06:17.795489 I Assumed character encoding: en_US.UTF-8

2022-01-14 08:06:17.795755 I Empty LocalHostName. This is typical.

2022-01-14 08:06:17.795757 I Using a profile name of: 'mythtv' (Usually
the same as this host's name.)

2022-01-14 08:06:17.795778 I Start up testing connections. DB 192.168.0.9,
BE , attempt 0, status dbAwake, Delay: 2000

2022-01-14 08:06:17.795782 D PortChecker::checkPort(): host 192.168.0.9
port 3306 timeLimit 1000 linkLocalOnly 0

2022-01-14 08:06:18.296214 D PortChecker::checkPort(): socket state 3

2022-01-14 08:06:18.302987 D PortChecker::checkPort(): host 192.168.0.9
port 3306 timeLimit 30000 linkLocalOnly 1

2022-01-14 08:06:18.307529 D FindDatabase() - Success!

2022-01-14 08:06:18.307561 D PortChecker::checkPort(): host 192.168.0.9
port 3306 timeLimit 30000 linkLocalOnly 1

2022-01-14 08:06:18.311049 N Setting QT default locale to en_US

2022-01-14 08:06:18.311054 I Current locale en_US

2022-01-14 08:06:18.311076 N Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml

2022-01-14 08:06:18.324620 I PowerDBus: Failed to delay sleep,shutdown:
Permission denied

2022-01-14 08:06:18.329086 I PowerDBus: Added UPower.Device
'/org/freedesktop/UPower/devices/ups_hiddev0'

2022-01-14 08:06:18.329484 I Power: On AC power

2022-01-14 08:06:18.369400 D PowerDBus: Max inhibit delay: 30seconds

2022-01-14 08:06:18.370177 I Power: Supported actions: None

2022-01-14 08:06:18.371877 I Loading en_us translation for module
mythfrontend

2022-01-14 08:06:18.376408 I Current MythTV Schema Version (DBSchemaVer):
1372

2022-01-14 08:06:18.383492 I MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 192.168.0.9:6543 (try 1 of 1)

2022-01-14 08:06:18.385108 I MythCoreContext::CheckProtoVersion(): Using
protocol version 91 BuzzOff

2022-01-14 08:06:18.385782 I Opening blocking connection to master backend

2022-01-14 08:06:18.698595 I Updating source #2 (FiOS) with grabber
tv_grab_zz_sdjson_sqlite

2022-01-14 08:06:18.699603 I Found 168 channels for source 2 which use
grabber

2022-01-14 08:06:18.699766 I Starting process manager

2022-01-14 08:06:18.699781 I Starting process signal handler

2022-01-14 08:06:18.699798 I Starting IO manager (read)

2022-01-14 08:06:18.700584 I Starting IO manager (write)

2022-01-14 08:06:19.100617 I Grabber has capabilities: baseline
manualconfig preferredmethod lineups apiconfig

2022-01-14 08:06:19.501455 I Grabber prefers method: allatonce

2022-01-14 08:06:19.502213 I XMLTV config file is:
/home/mythtv/.mythtv/FiOS.xmltv

Handling Segmentation fault

Segmentation fault (core dumped)
Re: mythfilldatabase segfaulting [ In reply to ]
On 14/01/2022 13:29, John Hoyt wrote:
> Anyone else having issues with mythfilldatabase segfaulting on Ubuntu
> 20.04?
>
> I noticed this morning that my boot drive was full due to /tmp having
> TONS of mythXXXX temp files (xml outputs from mythfilldatabase).  When I
> looked into it, I saw that mythfilldatase was segfaulting (see log below).
>
> The only thing I've changed recently was to change the mythbackend
> password.  Possibly I missed a config file somewhere?
>
> mythfilldatabase --verbose --loglevel debug
>
> 2022-01-14 08:06:17.784674 Cmythfilldatabase version: master
> [v32.0~master.202201122333.d392ac9f16~ubuntu20.04.1] www.mythtv.org
> <http://www.mythtv.org>
>
> 2022-01-14 08:06:17.784679 CQt version: compile: 5.12.8, runtime: 5.12.8
>
> 2022-01-14 08:06:17.784696 IUbuntu 20.04.3 LTS (x86_64)
>
> 2022-01-14 08:06:17.784697 NEnabled verbose msgs:general
>
> 2022-01-14 08:06:17.784702 NSetting Log Level to LOG_DEBUG
>
> 2022-01-14 08:06:17.795009 IAdded logging to the console
>
> 2022-01-14 08:06:17.795235 ISetup Interrupt handler
>
> 2022-01-14 08:06:17.795238 ISetup Terminated handler
>
> 2022-01-14 08:06:17.795240 ISetup Segmentation fault handler
>
> 2022-01-14 08:06:17.795242 ISetup Aborted handler
>
> 2022-01-14 08:06:17.795244 ISetup Bus error handler
>
> 2022-01-14 08:06:17.795247 ISetup Floating point exception handler
>
> 2022-01-14 08:06:17.795249 ISetup Illegal instruction handler
>
> 2022-01-14 08:06:17.795271 ISetup Real-time signal 0 handler
>
> 2022-01-14 08:06:17.795273 ISetup Hangup handler
>
> 2022-01-14 08:06:17.795412 NUsing runtime prefix = /usr
>
> 2022-01-14 08:06:17.795413 NUsing configuration directory =
> /home/mythtv/.mythtv
>
> 2022-01-14 08:06:17.795414 Dappbindir = /usr/bin/
>
> 2022-01-14 08:06:17.795414 Dsharedir= /usr/share/mythtv/
>
> 2022-01-14 08:06:17.795415 Dlibdir= /usr/lib/mythtv/
>
> 2022-01-14 08:06:17.795415 Dthemedir= /usr/share/mythtv/themes/
>
> 2022-01-14 08:06:17.795415 Dpluginsdir= /usr/lib/mythtv/plugins/
>
> 2022-01-14 08:06:17.795416 Dtranslationsdir = /usr/share/mythtv/i18n/
>
> 2022-01-14 08:06:17.795416 Dfiltersdir= /usr/lib/mythtv/filters/
>
> 2022-01-14 08:06:17.795417 Dcachedir= /home/mythtv/.mythtv/cache
>
> 2022-01-14 08:06:17.795417 Dremotecachedir=
> /home/mythtv/.mythtv/cache/remotecache
>
> 2022-01-14 08:06:17.795433 Dthemebasecachedir =
> /home/mythtv/.mythtv/cache/themecache
>
> 2022-01-14 08:06:17.795433 Dthumbnaildir=
> /home/mythtv/.mythtv/cache/thumbnails
>
> 2022-01-14 08:06:17.795489 IAssumed character encoding: en_US.UTF-8
>
> 2022-01-14 08:06:17.795755 IEmpty LocalHostName. This is typical.
>
> 2022-01-14 08:06:17.795757 IUsing a profile name of: 'mythtv' (Usually
> the same as this host's name.)
>
> 2022-01-14 08:06:17.795778 IStart up testing connections. DB
> 192.168.0.9, BE , attempt 0, status dbAwake, Delay: 2000
>
> 2022-01-14 08:06:17.795782 DPortChecker::checkPort(): host 192.168.0.9
> port 3306 timeLimit 1000 linkLocalOnly 0
>
> 2022-01-14 08:06:18.296214 DPortChecker::checkPort(): socket state 3
>
> 2022-01-14 08:06:18.302987 DPortChecker::checkPort(): host 192.168.0.9
> port 3306 timeLimit 30000 linkLocalOnly 1
>
> 2022-01-14 08:06:18.307529 DFindDatabase() - Success!
>
> 2022-01-14 08:06:18.307561 DPortChecker::checkPort(): host 192.168.0.9
> port 3306 timeLimit 30000 linkLocalOnly 1
>
> 2022-01-14 08:06:18.311049 NSetting QT default locale to en_US
>
> 2022-01-14 08:06:18.311054 ICurrent locale en_US
>
> 2022-01-14 08:06:18.311076 NReading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
>
> 2022-01-14 08:06:18.324620 IPowerDBus: Failed to delay sleep,shutdown:
> Permission denied
>
> 2022-01-14 08:06:18.329086 IPowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/ups_hiddev0'
>
> 2022-01-14 08:06:18.329484 IPower: On AC power
>
> 2022-01-14 08:06:18.369400 DPowerDBus: Max inhibit delay: 30seconds
>
> 2022-01-14 08:06:18.370177 IPower: Supported actions: None
>
> 2022-01-14 08:06:18.371877 ILoading en_us translation for module
> mythfrontend
>
> 2022-01-14 08:06:18.376408 ICurrent MythTV Schema Version (DBSchemaVer):
> 1372
>
> 2022-01-14 08:06:18.383492 IMythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 192.168.0.9:6543 <http://192.168.0.9:6543>
> (try 1 of 1)
>
> 2022-01-14 08:06:18.385108 IMythCoreContext::CheckProtoVersion(): Using
> protocol version 91 BuzzOff
>
> 2022-01-14 08:06:18.385782 IOpening blocking connection to master backend
>
> 2022-01-14 08:06:18.698595 IUpdating source #2 (FiOS) with grabber
> tv_grab_zz_sdjson_sqlite
>
> 2022-01-14 08:06:18.699603 IFound 168 channels for source 2 which use
> grabber
>
> 2022-01-14 08:06:18.699766 IStarting process manager
>
> 2022-01-14 08:06:18.699781 IStarting process signal handler
>
> 2022-01-14 08:06:18.699798 IStarting IO manager (read)
>
> 2022-01-14 08:06:18.700584 IStarting IO manager (write)
>
> 2022-01-14 08:06:19.100617 IGrabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
>
> 2022-01-14 08:06:19.501455 IGrabber prefers method: allatonce
>
> 2022-01-14 08:06:19.502213 IXMLTV config file is:
> /home/mythtv/.mythtv/FiOS.xmltv
>
> Handling Segmentation fault
>
> Segmentation fault (core dumped)
>
>

Are you able to get a backtrace so we can narrow this down?

Regards
Stuart

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfilldatabase segfaulting [ In reply to ]
>
> Are you able to get a backtrace so we can narrow this down?
>

I have one now - but it's a large file (9.3mb). Is there a suggested place
to upload it to (possibly github with a ticket)?

Here's a truncated version

(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run -v
Starting program: /usr/bin/mythfilldatabase -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe8b1a700 (LWP 3358)]
[New Thread 0x7fffe3fff700 (LWP 3359)]
2022-01-14 10:53:23.670263 C mythfilldatabase version: master
[v32.0~master.202201122333.d392ac9f16~ubuntu20.04.1] www.mythtv.org
2022-01-14 10:53:23.670269 C Qt version: compile: 5.12.8, runtime: 5.12.8
2022-01-14 10:53:23.670286 I Ubuntu 20.04.3 LTS (x86_64)
2022-01-14 10:53:23.670287 N Enabled verbose msgs: general
2022-01-14 10:53:23.670291 N Setting Log Level to LOG_INFO
2022-01-14 10:53:23.681551 I Added logging to the console
2022-01-14 10:53:23.681869 I Setup Interrupt handler
2022-01-14 10:53:23.681887 I Setup Terminated handler
2022-01-14 10:53:23.681889 I Setup Segmentation fault handler
2022-01-14 10:53:23.681892 I Setup Aborted handler
2022-01-14 10:53:23.681894 I Setup Bus error handler
2022-01-14 10:53:23.681896 I Setup Floating point exception handler
2022-01-14 10:53:23.681898 I Setup Illegal instruction handler
2022-01-14 10:53:23.681906 I Setup Real-time signal 0 handler
2022-01-14 10:53:23.681909 I Setup Hangup handler
2022-01-14 10:53:23.681986 N Using runtime prefix = /usr
2022-01-14 10:53:23.681987 N Using configuration directory =
/home/mythtv/.mythtv
2022-01-14 10:53:23.682001 I Assumed character encoding: en_US.UTF-8
2022-01-14 10:53:23.682223 I Empty LocalHostName. This is typical.
2022-01-14 10:53:23.682224 I Using a profile name of: 'mythtv' (Usually
the same as this host's name.)
2022-01-14 10:53:23.682243 I Start up testing connections. DB 192.168.0.9,
BE , attempt 0, status dbAwake, Delay: 2000
[New Thread 0x7fffe30ca700 (LWP 3360)]
2022-01-14 10:53:24.207615 N Setting QT default locale to en_US
2022-01-14 10:53:24.207620 I Current locale en_US
2022-01-14 10:53:24.207641 N Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2022-01-14 10:53:24.221214 I PowerDBus: Failed to delay sleep,shutdown:
Permission denied
2022-01-14 10:53:24.224530 I PowerDBus: Added UPower.Device
'/org/freedesktop/UPower/devices/ups_hiddev0'
2022-01-14 10:53:24.224825 I Power: On AC power
2022-01-14 10:53:24.267038 I Power: Supported actions: None
2022-01-14 10:53:24.269350 I Loading en_us translation for module
mythfrontend
2022-01-14 10:53:24.276352 I Current MythTV Schema Version (DBSchemaVer):
1372
[New Thread 0x7fffe28c9700 (LWP 3361)]
2022-01-14 10:53:24.287768 I MythCoreContext::ConnectCommandSocket():
Connecting to backend server: 192.168.0.9:6543 (try 1 of 1)
2022-01-14 10:53:24.290275 I MythCoreContext::CheckProtoVersion(): Using
protocol version 91 BuzzOff
2022-01-14 10:53:24.291271 I Opening blocking connection to master backend
[New Thread 0x7fffe20c8700 (LWP 3364)]
[New Thread 0x7fffe18c7700 (LWP 3365)]
[New Thread 0x7fffe10c6700 (LWP 3366)]
[New Thread 0x7fffe08c5700 (LWP 3367)]
[Detaching after fork from child process 3368]
2022-01-14 10:53:24.595447 I Updating source #2 (FiOS) with grabber
tv_grab_zz_sdjson_sqlite
2022-01-14 10:53:24.596500 I Found 168 channels for source 2 which use
grabber
2022-01-14 10:53:24.596934 I Starting process manager
2022-01-14 10:53:24.597095 I Starting process signal handler
2022-01-14 10:53:24.597284 I Starting IO manager (read)
2022-01-14 10:53:24.597508 I Starting IO manager (write)
[Detaching after fork from child process 3371]
2022-01-14 10:53:24.997939 I Grabber has capabilities: baseline
manualconfig preferredmethod lineups apiconfig
[Detaching after fork from child process 3373]
2022-01-14 10:53:25.398697 I Grabber prefers method: allatonce
2022-01-14 10:53:25.399494 I XMLTV config file is:
/home/mythtv/.mythtv/FiOS.xmltv
[Detaching after fork from child process 3376]
[Detaching after fork from child process 3379]

Thread 1 "mythfilldatabas" received signal SIGSEGV, Segmentation fault.
0x00007ffff63f0fce in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) backtrace full
#0 0x00007ffff63f0fce in () at /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff63f3419 in malloc () at /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff680f241 in QArrayData::allocate(unsigned long, unsigned
long, unsigned long, QFlags<QArrayData::AllocationOption>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007ffff6884fb8 in QString::reallocData(unsigned int, bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff7b0bd41 in QString::squeeze() (this=0x7fffff7ff198) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1151
#5 DBEvent::Squeeze() (this=this@entry=0x7fffff7ff190) at
programdata.cpp:291
#6 0x00007ffff7b10d47 in DBEvent::DBEvent(DBEvent const&)
(this=0x7fffff7ff190, other=...) at programdata.cpp:286
#7 0x00007ffff7b10df4 in DBEvent::operator=(DBEvent const&)
(this=0x555555738630, other=...) at programdata.cpp:235
...
snip
...
#37427 0x00007ffff7b10dff in DBEvent::operator=(DBEvent const&)
(this=0x555555738630, other=...) at programdata.cpp:235
#37428 0x00007ffff7b10e76 in ProgInfo::operator=(ProgInfo const&)
(other=..., this=0x555555738630) at programdata.cpp:1264
#37429 ProgInfo::operator=(ProgInfo const&) (this=0x555555738630,
other=...) at programdata.cpp:1259
#37430 0x00007ffff7b11305 in ProgInfo::ProgInfo(ProgInfo const&)
(this=0x555555738630, other=...) at programdata.cpp:1256
#37431 0x0000555555582c08 in
QList<ProgInfo>::node_construct(QList<ProgInfo>::Node*, ProgInfo const&)
(this=0x5555557b6a80, n=0x5555557b6f90, t=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:436
#37432 QList<ProgInfo>::append(ProgInfo const&)
(this=this@entry=0x5555557b6a80,
t=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:587
#37433 0x0000555555580223 in QList<ProgInfo>::push_back(ProgInfo const&)
(t=..., this=0x5555557b6a80) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:363
#37434 XMLTVParser::parseFile(QString const&, std::vector<ChannelInfo,
std::allocator<ChannelInfo> >*, QMap<QString, QList<ProgInfo> >*)
(this=this@entry=0x7fffffffe450, filename=...,
chanlist=chanlist@entry=0x7fffffffdd60,
proglist=proglist@entry=0x7fffffffdd50) at xmltvparser.cpp:810
#37435 0x0000555555566c7b in FillData::GrabDataFromFile(int, QString
const&) (this=0x7fffffffe440, id=2, filename=...) at filldata.cpp:94
#37436 0x000055555556a363 in FillData::GrabData(Source const&, int)
(this=0x7fffffffe440, source=..., offset=<optimized out>) at
filldata.cpp:234
#37437 0x000055555556dd5b in FillData::Run(std::vector<Source,
std::allocator<Source> >&) (this=0x7fffffffe440, sourcelist=std::vector of
length 1, capacity 1 = {...}) at filldata.cpp:444
#37438 0x0000555555564b2e in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at main.cpp:406
Re: mythfilldatabase segfaulting [ In reply to ]
I got a backtrace last night. At dentist right now if you want to wait.
Happens after the grabber has run successfully.

On Fri, Jan 14, 2022, 10:24 John Hoyt <john.hoyt@gmail.com> wrote:

> Are you able to get a backtrace so we can narrow this down?
>>
>
> I have one now - but it's a large file (9.3mb). Is there a suggested
> place to upload it to (possibly github with a ticket)?
>
> Here's a truncated version
>
> (gdb) handle SIG33 pass nostop noprint
> Signal Stop Print Pass to program Description
> SIG33 No No Yes Real-time event 33
> (gdb) set pagination 0
> (gdb) run -v
> Starting program: /usr/bin/mythfilldatabase -v
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [New Thread 0x7fffe8b1a700 (LWP 3358)]
> [New Thread 0x7fffe3fff700 (LWP 3359)]
> 2022-01-14 10:53:23.670263 C mythfilldatabase version: master
> [v32.0~master.202201122333.d392ac9f16~ubuntu20.04.1] www.mythtv.org
> 2022-01-14 10:53:23.670269 C Qt version: compile: 5.12.8, runtime: 5.12.8
> 2022-01-14 10:53:23.670286 I Ubuntu 20.04.3 LTS (x86_64)
> 2022-01-14 10:53:23.670287 N Enabled verbose msgs: general
> 2022-01-14 10:53:23.670291 N Setting Log Level to LOG_INFO
> 2022-01-14 10:53:23.681551 I Added logging to the console
> 2022-01-14 10:53:23.681869 I Setup Interrupt handler
> 2022-01-14 10:53:23.681887 I Setup Terminated handler
> 2022-01-14 10:53:23.681889 I Setup Segmentation fault handler
> 2022-01-14 10:53:23.681892 I Setup Aborted handler
> 2022-01-14 10:53:23.681894 I Setup Bus error handler
> 2022-01-14 10:53:23.681896 I Setup Floating point exception handler
> 2022-01-14 10:53:23.681898 I Setup Illegal instruction handler
> 2022-01-14 10:53:23.681906 I Setup Real-time signal 0 handler
> 2022-01-14 10:53:23.681909 I Setup Hangup handler
> 2022-01-14 10:53:23.681986 N Using runtime prefix = /usr
> 2022-01-14 10:53:23.681987 N Using configuration directory =
> /home/mythtv/.mythtv
> 2022-01-14 10:53:23.682001 I Assumed character encoding: en_US.UTF-8
> 2022-01-14 10:53:23.682223 I Empty LocalHostName. This is typical.
> 2022-01-14 10:53:23.682224 I Using a profile name of: 'mythtv' (Usually
> the same as this host's name.)
> 2022-01-14 10:53:23.682243 I Start up testing connections. DB
> 192.168.0.9, BE , attempt 0, status dbAwake, Delay: 2000
> [New Thread 0x7fffe30ca700 (LWP 3360)]
> 2022-01-14 10:53:24.207615 N Setting QT default locale to en_US
> 2022-01-14 10:53:24.207620 I Current locale en_US
> 2022-01-14 10:53:24.207641 N Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2022-01-14 10:53:24.221214 I PowerDBus: Failed to delay sleep,shutdown:
> Permission denied
> 2022-01-14 10:53:24.224530 I PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/ups_hiddev0'
> 2022-01-14 10:53:24.224825 I Power: On AC power
> 2022-01-14 10:53:24.267038 I Power: Supported actions: None
> 2022-01-14 10:53:24.269350 I Loading en_us translation for module
> mythfrontend
> 2022-01-14 10:53:24.276352 I Current MythTV Schema Version (DBSchemaVer):
> 1372
> [New Thread 0x7fffe28c9700 (LWP 3361)]
> 2022-01-14 10:53:24.287768 I MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 192.168.0.9:6543 (try 1 of 1)
> 2022-01-14 10:53:24.290275 I MythCoreContext::CheckProtoVersion(): Using
> protocol version 91 BuzzOff
> 2022-01-14 10:53:24.291271 I Opening blocking connection to master backend
> [New Thread 0x7fffe20c8700 (LWP 3364)]
> [New Thread 0x7fffe18c7700 (LWP 3365)]
> [New Thread 0x7fffe10c6700 (LWP 3366)]
> [New Thread 0x7fffe08c5700 (LWP 3367)]
> [Detaching after fork from child process 3368]
> 2022-01-14 10:53:24.595447 I Updating source #2 (FiOS) with grabber
> tv_grab_zz_sdjson_sqlite
> 2022-01-14 10:53:24.596500 I Found 168 channels for source 2 which use
> grabber
> 2022-01-14 10:53:24.596934 I Starting process manager
> 2022-01-14 10:53:24.597095 I Starting process signal handler
> 2022-01-14 10:53:24.597284 I Starting IO manager (read)
> 2022-01-14 10:53:24.597508 I Starting IO manager (write)
> [Detaching after fork from child process 3371]
> 2022-01-14 10:53:24.997939 I Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> [Detaching after fork from child process 3373]
> 2022-01-14 10:53:25.398697 I Grabber prefers method: allatonce
> 2022-01-14 10:53:25.399494 I XMLTV config file is:
> /home/mythtv/.mythtv/FiOS.xmltv
> [Detaching after fork from child process 3376]
> [Detaching after fork from child process 3379]
>
> Thread 1 "mythfilldatabas" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff63f0fce in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) backtrace full
> #0 0x00007ffff63f0fce in () at /lib/x86_64-linux-gnu/libc.so.6
> #1 0x00007ffff63f3419 in malloc () at /lib/x86_64-linux-gnu/libc.so.6
> #2 0x00007ffff680f241 in QArrayData::allocate(unsigned long, unsigned
> long, unsigned long, QFlags<QArrayData::AllocationOption>) () at
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #3 0x00007ffff6884fb8 in QString::reallocData(unsigned int, bool) () at
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #4 0x00007ffff7b0bd41 in QString::squeeze() (this=0x7fffff7ff198) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1151
> #5 DBEvent::Squeeze() (this=this@entry=0x7fffff7ff190) at
> programdata.cpp:291
> #6 0x00007ffff7b10d47 in DBEvent::DBEvent(DBEvent const&)
> (this=0x7fffff7ff190, other=...) at programdata.cpp:286
> #7 0x00007ffff7b10df4 in DBEvent::operator=(DBEvent const&)
> (this=0x555555738630, other=...) at programdata.cpp:235
> ...
> snip
> ...
> #37427 0x00007ffff7b10dff in DBEvent::operator=(DBEvent const&)
> (this=0x555555738630, other=...) at programdata.cpp:235
> #37428 0x00007ffff7b10e76 in ProgInfo::operator=(ProgInfo const&)
> (other=..., this=0x555555738630) at programdata.cpp:1264
> #37429 ProgInfo::operator=(ProgInfo const&) (this=0x555555738630,
> other=...) at programdata.cpp:1259
> #37430 0x00007ffff7b11305 in ProgInfo::ProgInfo(ProgInfo const&)
> (this=0x555555738630, other=...) at programdata.cpp:1256
> #37431 0x0000555555582c08 in
> QList<ProgInfo>::node_construct(QList<ProgInfo>::Node*, ProgInfo const&)
> (this=0x5555557b6a80, n=0x5555557b6f90, t=...) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:436
> #37432 QList<ProgInfo>::append(ProgInfo const&) (this=this@entry=0x5555557b6a80,
> t=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:587
> #37433 0x0000555555580223 in QList<ProgInfo>::push_back(ProgInfo const&)
> (t=..., this=0x5555557b6a80) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:363
> #37434 XMLTVParser::parseFile(QString const&, std::vector<ChannelInfo,
> std::allocator<ChannelInfo> >*, QMap<QString, QList<ProgInfo> >*)
> (this=this@entry=0x7fffffffe450, filename=..., chanlist=chanlist@entry=0x7fffffffdd60,
> proglist=proglist@entry=0x7fffffffdd50) at xmltvparser.cpp:810
> #37435 0x0000555555566c7b in FillData::GrabDataFromFile(int, QString
> const&) (this=0x7fffffffe440, id=2, filename=...) at filldata.cpp:94
> #37436 0x000055555556a363 in FillData::GrabData(Source const&, int)
> (this=0x7fffffffe440, source=..., offset=<optimized out>) at
> filldata.cpp:234
> #37437 0x000055555556dd5b in FillData::Run(std::vector<Source,
> std::allocator<Source> >&) (this=0x7fffffffe440, sourcelist=std::vector of
> length 1, capacity 1 = {...}) at filldata.cpp:444
> #37438 0x0000555555564b2e in main(int, char**) (argc=<optimized out>,
> argv=<optimized out>) at main.cpp:406
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: mythfilldatabase segfaulting [ In reply to ]
On 14/01/2022 16:22, John Hoyt wrote:
> Are you able to get a backtrace so we can narrow this down?
>
>
> I have one now - but it's a large file (9.3mb).  Is there a suggested
> place to upload it to (possibly github with a ticket)?
>
> Here's a truncated version
>
> (gdb) handle SIG33 pass nostop noprint
> Signal        Stop Print Pass to program Description
> SIG33         No No Yes Real-time event 33
> (gdb) set pagination 0
> (gdb) run -v
> Starting program: /usr/bin/mythfilldatabase -v
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [New Thread 0x7fffe8b1a700 (LWP 3358)]
> [New Thread 0x7fffe3fff700 (LWP 3359)]
> 2022-01-14 10:53:23.670263 C  mythfilldatabase version: master
> [v32.0~master.202201122333.d392ac9f16~ubuntu20.04.1] www.mythtv.org
> <http://www.mythtv.org>
> 2022-01-14 10:53:23.670269 C  Qt version: compile: 5.12.8, runtime:
> 5.12.8
> 2022-01-14 10:53:23.670286 I  Ubuntu 20.04.3 LTS (x86_64)
> 2022-01-14 10:53:23.670287 N  Enabled verbose msgs:  general
> 2022-01-14 10:53:23.670291 N  Setting Log Level to LOG_INFO
> 2022-01-14 10:53:23.681551 I  Added logging to the console
> 2022-01-14 10:53:23.681869 I  Setup Interrupt handler
> 2022-01-14 10:53:23.681887 I  Setup Terminated handler
> 2022-01-14 10:53:23.681889 I  Setup Segmentation fault handler
> 2022-01-14 10:53:23.681892 I  Setup Aborted handler
> 2022-01-14 10:53:23.681894 I  Setup Bus error handler
> 2022-01-14 10:53:23.681896 I  Setup Floating point exception handler
> 2022-01-14 10:53:23.681898 I  Setup Illegal instruction handler
> 2022-01-14 10:53:23.681906 I  Setup Real-time signal 0 handler
> 2022-01-14 10:53:23.681909 I  Setup Hangup handler
> 2022-01-14 10:53:23.681986 N  Using runtime prefix = /usr
> 2022-01-14 10:53:23.681987 N  Using configuration directory =
> /home/mythtv/.mythtv
> 2022-01-14 10:53:23.682001 I  Assumed character encoding: en_US.UTF-8
> 2022-01-14 10:53:23.682223 I  Empty LocalHostName. This is typical.
> 2022-01-14 10:53:23.682224 I  Using a profile name of: 'mythtv'
> (Usually the same as this host's name.)
> 2022-01-14 10:53:23.682243 I  Start up testing connections. DB
> 192.168.0.9, BE , attempt 0, status dbAwake, Delay: 2000
> [New Thread 0x7fffe30ca700 (LWP 3360)]
> 2022-01-14 10:53:24.207615 N  Setting QT default locale to en_US
> 2022-01-14 10:53:24.207620 I  Current locale en_US
> 2022-01-14 10:53:24.207641 N  Reading locale defaults from
> /usr/share/mythtv//locales/en_us.xml
> 2022-01-14 10:53:24.221214 I  PowerDBus: Failed to delay
> sleep,shutdown: Permission denied
> 2022-01-14 10:53:24.224530 I  PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/ups_hiddev0'
> 2022-01-14 10:53:24.224825 I  Power: On AC power
> 2022-01-14 10:53:24.267038 I  Power: Supported actions: None
> 2022-01-14 10:53:24.269350 I  Loading en_us translation for module
> mythfrontend
> 2022-01-14 10:53:24.276352 I  Current MythTV Schema Version
> (DBSchemaVer): 1372
> [New Thread 0x7fffe28c9700 (LWP 3361)]
> 2022-01-14 10:53:24.287768 I
>  MythCoreContext::ConnectCommandSocket(): Connecting to backend
> server: 192.168.0.9:6543 <http://192.168.0.9:6543> (try 1 of 1)
> 2022-01-14 10:53:24.290275 I  MythCoreContext::CheckProtoVersion():
> Using protocol version 91 BuzzOff
> 2022-01-14 10:53:24.291271 I  Opening blocking connection to master
> backend
> [New Thread 0x7fffe20c8700 (LWP 3364)]
> [New Thread 0x7fffe18c7700 (LWP 3365)]
> [New Thread 0x7fffe10c6700 (LWP 3366)]
> [New Thread 0x7fffe08c5700 (LWP 3367)]
> [Detaching after fork from child process 3368]
> 2022-01-14 10:53:24.595447 I  Updating source #2 (FiOS) with grabber
> tv_grab_zz_sdjson_sqlite
> 2022-01-14 10:53:24.596500 I  Found 168 channels for source 2 which
> use grabber
> 2022-01-14 10:53:24.596934 I  Starting process manager
> 2022-01-14 10:53:24.597095 I  Starting process signal handler
> 2022-01-14 10:53:24.597284 I  Starting IO manager (read)
> 2022-01-14 10:53:24.597508 I  Starting IO manager (write)
> [Detaching after fork from child process 3371]
> 2022-01-14 10:53:24.997939 I  Grabber has capabilities: baseline
> manualconfig preferredmethod lineups apiconfig
> [Detaching after fork from child process 3373]
> 2022-01-14 10:53:25.398697 I  Grabber prefers method: allatonce
> 2022-01-14 10:53:25.399494 I  XMLTV config file is:
> /home/mythtv/.mythtv/FiOS.xmltv
> [Detaching after fork from child process 3376]
> [Detaching after fork from child process 3379]
>
> Thread 1 "mythfilldatabas" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff63f0fce in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) backtrace full
> #0  0x00007ffff63f0fce in  () at /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007ffff63f3419 in malloc () at /lib/x86_64-linux-gnu/libc.so.6
> #2  0x00007ffff680f241 in QArrayData::allocate(unsigned long,
> unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>)
> () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #3  0x00007ffff6884fb8 in QString::reallocData(unsigned int, bool)
> () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #4  0x00007ffff7b0bd41 in QString::squeeze() (this=0x7fffff7ff198)
> at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1151
> #5  DBEvent::Squeeze() (this=this@entry=0x7fffff7ff190) at
> programdata.cpp:291
> #6  0x00007ffff7b10d47 in DBEvent::DBEvent(DBEvent const&)
> (this=0x7fffff7ff190, other=...) at programdata.cpp:286
> #7  0x00007ffff7b10df4 in DBEvent::operator=(DBEvent const&)
> (this=0x555555738630, other=...) at programdata.cpp:235
>     ...
>     snip
>     ...
> #37427 0x00007ffff7b10dff in DBEvent::operator=(DBEvent const&)
> (this=0x555555738630, other=...) at programdata.cpp:235
> #37428 0x00007ffff7b10e76 in ProgInfo::operator=(ProgInfo const&)
> (other=..., this=0x555555738630) at programdata.cpp:1264
> #37429 ProgInfo::operator=(ProgInfo const&) (this=0x555555738630,
> other=...) at programdata.cpp:1259
> #37430 0x00007ffff7b11305 in ProgInfo::ProgInfo(ProgInfo const&)
> (this=0x555555738630, other=...) at programdata.cpp:1256
> #37431 0x0000555555582c08 in
> QList<ProgInfo>::node_construct(QList<ProgInfo>::Node*, ProgInfo
> const&) (this=0x5555557b6a80, n=0x5555557b6f90, t=...) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:436
> #37432 QList<ProgInfo>::append(ProgInfo const&)
> (this=this@entry=0x5555557b6a80, t=...) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:587
> #37433 0x0000555555580223 in QList<ProgInfo>::push_back(ProgInfo
> const&) (t=..., this=0x5555557b6a80) at
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:363
> #37434 XMLTVParser::parseFile(QString const&,
> std::vector<ChannelInfo, std::allocator<ChannelInfo> >*,
> QMap<QString, QList<ProgInfo> >*) (this=this@entry=0x7fffffffe450,
> filename=..., chanlist=chanlist@entry=0x7fffffffdd60,
> proglist=proglist@entry=0x7fffffffdd50) at xmltvparser.cpp:810
> #37435 0x0000555555566c7b in FillData::GrabDataFromFile(int, QString
> const&) (this=0x7fffffffe440, id=2, filename=...) at filldata.cpp:94
> #37436 0x000055555556a363 in FillData::GrabData(Source const&, int)
> (this=0x7fffffffe440, source=..., offset=<optimized out>) at
> filldata.cpp:234
> #37437 0x000055555556dd5b in FillData::Run(std::vector<Source,
> std::allocator<Source> >&) (this=0x7fffffffe440,
> sourcelist=std::vector of length 1, capacity 1 = {...}) at
> filldata.cpp:444
> #37438 0x0000555555564b2e in main(int, char**) (argc=<optimized
> out>, argv=<optimized out>) at main.cpp:406
>

Can you do `thread apply all bt full` in gdb and share the output please

Regards
Stuart


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfilldatabase segfaulting [ In reply to ]
On 1/14/22 10:50 AM, Stuart Auchterlonie wrote:
> On 14/01/2022 16:22, John Hoyt wrote:
>>     Are you able to get a backtrace so we can narrow this down?
>>
>>
>> I have one now - but it's a large file (9.3mb).  Is there a suggested place to upload it to (possibly github with a ticket)?
>>
>> Here's a truncated version
>>
>>     (gdb) handle SIG33 pass nostop noprint
>>     Signal        Stop Print Pass to program Description
>>     SIG33         No No Yes Real-time event 33
>>     (gdb) set pagination 0
>>     (gdb) run -v
>>     Starting program: /usr/bin/mythfilldatabase -v
>>     [Thread debugging using libthread_db enabled]
>>     Using host libthread_db library
>>     "/lib/x86_64-linux-gnu/libthread_db.so.1".
>>     [New Thread 0x7fffe8b1a700 (LWP 3358)]
>>     [New Thread 0x7fffe3fff700 (LWP 3359)]
>>     2022-01-14 10:53:23.670263 C  mythfilldatabase version: master
>>     [v32.0~master.202201122333.d392ac9f16~ubuntu20.04.1] www.mythtv.org
>>     <http://www.mythtv.org>
>>     2022-01-14 10:53:23.670269 C  Qt version: compile: 5.12.8, runtime:
>>     5.12.8
>>     2022-01-14 10:53:23.670286 I  Ubuntu 20.04.3 LTS (x86_64)
>>     2022-01-14 10:53:23.670287 N  Enabled verbose msgs:  general
>>     2022-01-14 10:53:23.670291 N  Setting Log Level to LOG_INFO
>>     2022-01-14 10:53:23.681551 I  Added logging to the console
>>     2022-01-14 10:53:23.681869 I  Setup Interrupt handler
>>     2022-01-14 10:53:23.681887 I  Setup Terminated handler
>>     2022-01-14 10:53:23.681889 I  Setup Segmentation fault handler
>>     2022-01-14 10:53:23.681892 I  Setup Aborted handler
>>     2022-01-14 10:53:23.681894 I  Setup Bus error handler
>>     2022-01-14 10:53:23.681896 I  Setup Floating point exception handler
>>     2022-01-14 10:53:23.681898 I  Setup Illegal instruction handler
>>     2022-01-14 10:53:23.681906 I  Setup Real-time signal 0 handler
>>     2022-01-14 10:53:23.681909 I  Setup Hangup handler
>>     2022-01-14 10:53:23.681986 N  Using runtime prefix = /usr
>>     2022-01-14 10:53:23.681987 N  Using configuration directory =
>>     /home/mythtv/.mythtv
>>     2022-01-14 10:53:23.682001 I  Assumed character encoding: en_US.UTF-8
>>     2022-01-14 10:53:23.682223 I  Empty LocalHostName. This is typical.
>>     2022-01-14 10:53:23.682224 I  Using a profile name of: 'mythtv'
>>     (Usually the same as this host's name.)
>>     2022-01-14 10:53:23.682243 I  Start up testing connections. DB
>>     192.168.0.9, BE , attempt 0, status dbAwake, Delay: 2000
>>     [New Thread 0x7fffe30ca700 (LWP 3360)]
>>     2022-01-14 10:53:24.207615 N  Setting QT default locale to en_US
>>     2022-01-14 10:53:24.207620 I  Current locale en_US
>>     2022-01-14 10:53:24.207641 N  Reading locale defaults from
>>     /usr/share/mythtv//locales/en_us.xml
>>     2022-01-14 10:53:24.221214 I  PowerDBus: Failed to delay
>>     sleep,shutdown: Permission denied
>>     2022-01-14 10:53:24.224530 I  PowerDBus: Added UPower.Device
>>     '/org/freedesktop/UPower/devices/ups_hiddev0'
>>     2022-01-14 10:53:24.224825 I  Power: On AC power
>>     2022-01-14 10:53:24.267038 I  Power: Supported actions: None
>>     2022-01-14 10:53:24.269350 I  Loading en_us translation for module
>>     mythfrontend
>>     2022-01-14 10:53:24.276352 I  Current MythTV Schema Version
>>     (DBSchemaVer): 1372
>>     [New Thread 0x7fffe28c9700 (LWP 3361)]
>>     2022-01-14 10:53:24.287768 I
>>       MythCoreContext::ConnectCommandSocket(): Connecting to backend
>>     server: 192.168.0.9:6543 <http://192.168.0.9:6543> (try 1 of 1)
>>     2022-01-14 10:53:24.290275 I  MythCoreContext::CheckProtoVersion():
>>     Using protocol version 91 BuzzOff
>>     2022-01-14 10:53:24.291271 I  Opening blocking connection to master
>>     backend
>>     [New Thread 0x7fffe20c8700 (LWP 3364)]
>>     [New Thread 0x7fffe18c7700 (LWP 3365)]
>>     [New Thread 0x7fffe10c6700 (LWP 3366)]
>>     [New Thread 0x7fffe08c5700 (LWP 3367)]
>>     [Detaching after fork from child process 3368]
>>     2022-01-14 10:53:24.595447 I  Updating source #2 (FiOS) with grabber
>>     tv_grab_zz_sdjson_sqlite
>>     2022-01-14 10:53:24.596500 I  Found 168 channels for source 2 which
>>     use grabber
>>     2022-01-14 10:53:24.596934 I  Starting process manager
>>     2022-01-14 10:53:24.597095 I  Starting process signal handler
>>     2022-01-14 10:53:24.597284 I  Starting IO manager (read)
>>     2022-01-14 10:53:24.597508 I  Starting IO manager (write)
>>     [Detaching after fork from child process 3371]
>>     2022-01-14 10:53:24.997939 I  Grabber has capabilities: baseline
>>     manualconfig preferredmethod lineups apiconfig
>>     [Detaching after fork from child process 3373]
>>     2022-01-14 10:53:25.398697 I  Grabber prefers method: allatonce
>>     2022-01-14 10:53:25.399494 I  XMLTV config file is:
>>     /home/mythtv/.mythtv/FiOS.xmltv
>>     [Detaching after fork from child process 3376]
>>     [Detaching after fork from child process 3379]
>>
>>     Thread 1 "mythfilldatabas" received signal SIGSEGV, Segmentation fault.
>>     0x00007ffff63f0fce in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>>     (gdb) backtrace full
>>     #0  0x00007ffff63f0fce in  () at /lib/x86_64-linux-gnu/libc.so.6
>>     #1  0x00007ffff63f3419 in malloc () at /lib/x86_64-linux-gnu/libc.so.6
>>     #2  0x00007ffff680f241 in QArrayData::allocate(unsigned long,
>>     unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>)
>>     () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>>     #3  0x00007ffff6884fb8 in QString::reallocData(unsigned int, bool)
>>     () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>>     #4  0x00007ffff7b0bd41 in QString::squeeze() (this=0x7fffff7ff198)
>>     at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1151
>>     #5  DBEvent::Squeeze() (this=this@entry=0x7fffff7ff190) at
>>     programdata.cpp:291
>>     #6  0x00007ffff7b10d47 in DBEvent::DBEvent(DBEvent const&)
>>     (this=0x7fffff7ff190, other=...) at programdata.cpp:286
>>     #7  0x00007ffff7b10df4 in DBEvent::operator=(DBEvent const&)
>>     (this=0x555555738630, other=...) at programdata.cpp:235
>>          ...
>>          snip
>>          ...
>>     #37427 0x00007ffff7b10dff in DBEvent::operator=(DBEvent const&)
>>     (this=0x555555738630, other=...) at programdata.cpp:235
>>     #37428 0x00007ffff7b10e76 in ProgInfo::operator=(ProgInfo const&)
>>     (other=..., this=0x555555738630) at programdata.cpp:1264
>>     #37429 ProgInfo::operator=(ProgInfo const&) (this=0x555555738630,
>>     other=...) at programdata.cpp:1259
>>     #37430 0x00007ffff7b11305 in ProgInfo::ProgInfo(ProgInfo const&)
>>     (this=0x555555738630, other=...) at programdata.cpp:1256
>>     #37431 0x0000555555582c08 in
>>     QList<ProgInfo>::node_construct(QList<ProgInfo>::Node*, ProgInfo
>>     const&) (this=0x5555557b6a80, n=0x5555557b6f90, t=...) at
>>     /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:436
>>     #37432 QList<ProgInfo>::append(ProgInfo const&)
>>     (this=this@entry=0x5555557b6a80, t=...) at
>>     /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:587
>>     #37433 0x0000555555580223 in QList<ProgInfo>::push_back(ProgInfo
>>     const&) (t=..., this=0x5555557b6a80) at
>>     /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:363
>>     #37434 XMLTVParser::parseFile(QString const&,
>>     std::vector<ChannelInfo, std::allocator<ChannelInfo> >*,
>>     QMap<QString, QList<ProgInfo> >*) (this=this@entry=0x7fffffffe450,
>>     filename=..., chanlist=chanlist@entry=0x7fffffffdd60,
>>     proglist=proglist@entry=0x7fffffffdd50) at xmltvparser.cpp:810
>>     #37435 0x0000555555566c7b in FillData::GrabDataFromFile(int, QString
>>     const&) (this=0x7fffffffe440, id=2, filename=...) at filldata.cpp:94
>>     #37436 0x000055555556a363 in FillData::GrabData(Source const&, int)
>>     (this=0x7fffffffe440, source=..., offset=<optimized out>) at
>>     filldata.cpp:234
>>     #37437 0x000055555556dd5b in FillData::Run(std::vector<Source,
>>     std::allocator<Source> >&) (this=0x7fffffffe440,
>>     sourcelist=std::vector of length 1, capacity 1 = {...}) at
>>     filldata.cpp:444
>>     #37438 0x0000555555564b2e in main(int, char**) (argc=<optimized
>>     out>, argv=<optimized out>) at main.cpp:406
>>
>
> Can you do `thread apply all bt full` in gdb and share the output please
>
> Regards
> Stuart

One from last night for me:

https://pastebin.com/mS9jm4db

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfilldatabase segfaulting [ In reply to ]
On Fri, 2022-01-14 at 11:53 -0600, Bill Meek wrote:
> On 1/14/22 10:50 AM, Stuart Auchterlonie wrote:
> >
> > Can you do `thread apply all bt full` in gdb and share the output
> > please
> >
> > Regards
> > Stuart
>
> One from last night for me:
>
>   https://pastebin.com/mS9jm4db
>

All the threads other than thread #1 are in normal suspend locations.

David

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfilldatabase segfaulting [ In reply to ]
Looks like a regression from my
commit 41df371fdc1a29340ff7cb94bbff46a811363e1e
Will revert it asap.

Klaas.

On Fri, 14 Jan 2022 at 19:29, David Hampton via mythtv-users <
mythtv-users@mythtv.org> wrote:

> On Fri, 2022-01-14 at 11:53 -0600, Bill Meek wrote:
> > On 1/14/22 10:50 AM, Stuart Auchterlonie wrote:
> > >
> > > Can you do `thread apply all bt full` in gdb and share the output
> > > please
> > >
> > > Regards
> > > Stuart
> >
> > One from last night for me:
> >
> > https://pastebin.com/mS9jm4db
> >
>
> All the threads other than thread #1 are in normal suspend locations.
>
> David
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: mythfilldatabase segfaulting [ In reply to ]
On 1/14/22 1:14 PM, Klaas de Waal wrote:
> Looks like a regression from my
> commit 41df371fdc1a29340ff7cb94bbff46a811363e1e
> Will revert it asap.
>
> Klaas.

That fixed it, thanks.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythfilldatabase segfaulting [ In reply to ]
On Fri, Jan 14, 2022 at 3:07 PM Bill Meek <keemllib@gmail.com> wrote:

> On 1/14/22 1:14 PM, Klaas de Waal wrote:
> > Looks like a regression from my
> > commit 41df371fdc1a29340ff7cb94bbff46a811363e1e
> > Will revert it asap.
> >
> > Klaas.
>
> That fixed it, thanks.
>

Sorry for the delay, been waiting on the mythbuntu ppa autobuild to post.
It fixed it for me too, many thanks!