Ticket #1089: bt1089.txt

File bt1089.txt, 14.4 KB (added by bjm, 20 years ago)

Seg fault when AddRecording() is called on a slave host.

Line 
1: bjm@sleepy ; gdb mythbackend
2GNU gdb 6.4-debian
3Copyright 2005 Free Software Foundation, Inc.
4GDB is free software, covered by the GNU General Public License, and you are
5welcome to change it and/or distribute copies of it under certain conditions.
6Type "show copying" to see the conditions.
7There is absolutely no warranty for GDB. Type "show warranty" for details.
8This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
9
10(gdb) run
11Starting program: /usr/local/bin/mythbackend
12[Thread debugging using libthread_db enabled]
13[New Thread -1248508192 (LWP 3531)]
14Qt: gdb: -nograb added to command-line options.
15 Use the -dograb option to enforce grabbing.
162006-01-20 21:42:32.389 Using runtime prefix = /usr/local
172006-01-20 21:42:32.936 New DB connection, total: 1
182006-01-20 21:42:33.056 Enabling Settings Cache.
192006-01-20 21:42:33.056 Clearing Settings Cache.
202006-01-20 21:42:33.056 Disabling Settings Cache.
212006-01-20 21:42:33.056 Clearing Settings Cache.
222006-01-20 21:42:33.063 Current Schema Version: 1122
232006-01-20 21:42:33.064 Enabling Settings Cache.
242006-01-20 21:42:33.064 Clearing Settings Cache.
25Running as a slave backend.
262006-01-20 21:42:33.090 New DB connection, total: 2
272006-01-20 21:42:33.100 mythbackend: MythBackend started as a slave backend
28[New Thread -1250481232 (LWP 3548)]
292006-01-20 21:42:33.165 New DB connection, total: 3
30[New Thread -1258869840 (LWP 3549)]
31[New Thread -1267258448 (LWP 3550)]
32[New Thread -1275647056 (LWP 3551)]
332006-01-20 21:42:33.237 mythbackend version: 0.19.20060115-1 www.mythtv.org
342006-01-20 21:42:33.237 Enabled verbose msgs: important general
352006-01-20 21:42:33.238 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
362006-01-20 21:42:33.244 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
37[New Thread -1284035664 (LWP 3552)]
38[New Thread -1292424272 (LWP 3553)]
39[New Thread -1300812880 (LWP 3554)]
40[New Thread -1309201488 (LWP 3555)]
41[New Thread -1317590096 (LWP 3556)]
422006-01-20 21:42:34.274 Connecting to master server: 192.168.0.35:6543
432006-01-20 21:42:34.525 Connected successfully
44[New Thread -1325978704 (LWP 3559)]
452006-01-20 21:42:39.550 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
462006-01-20 21:42:39.550 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
47[Thread -1325978704 (LWP 3559) exited]
482006-01-20 21:42:43.110 Running HouseKeeping
492006-01-20 21:42:43.121 mythbackend: Running housekeeping thread
502006-01-20 21:42:59.216 MainServer::HandleAnnounce Playback
512006-01-20 21:42:59.216 adding: nordtv as a client (events: 0)
522006-01-20 21:42:59.230 TVRec(1): Changing from None to WatchingLiveTV
53[New Thread -1325978704 (LWP 3560)]
54[New Thread -1336468560 (LWP 3561)]
55[New Thread -1366410320 (LWP 3562)]
56[New Thread -1375335504 (LWP 3563)]
57[New Thread -1383724112 (LWP 3564)]
58[New Thread -1392112720 (LWP 3565)]
592006-01-20 21:43:00.244 MainServer::HandleAnnounce Playback
602006-01-20 21:43:00.245 adding: nordtv as a client (events: 0)
612006-01-20 21:43:00.258 MainServer::HandleAnnounce FileTransfer
622006-01-20 21:43:00.258 adding: nordtv as a remote file transfer
63strange error flushing buffer ...
642006-01-20 21:43:23.338 TVRec(1): SetLiveRecording(0)
652006-01-20 21:43:23.353 TVRec(1): SetLiveRecording() -- record
662006-01-20 21:43:23.779 SCHEDULER_ADD_RECORDING message
67
68Program received signal SIGSEGV, Segmentation fault.
69[Switching to Thread -1317590096 (LWP 3556)]
700x080ae7af in Scheduler::AddRecording (this=0x0, pi=@0xb1771768)
71 at scheduler.cpp:1044
721044 QMutexLocker lockit(reclist_lock);
73(gdb) bt
74#0 0x080ae7af in Scheduler::AddRecording (this=0x0, pi=@0xb1771768)
75 at scheduler.cpp:1044
76#1 0x0808e2bb in MainServer::customEvent (this=0x8113ce0, e=0xab601a48)
77 at mainserver.cpp:649
78#2 0xb6868cbb in QObject::event () from /usr/lib/libqt-mt.so.3
79#3 0xb6801698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
80#4 0xb68018b6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
81#5 0xb7283937 in QApplication::sendEvent (receiver=0x8113ce0,
82 event=0xab601a48) at qapplication.h:496
83#6 0xb72dae95 in MythObservable::dispatchNow (this=0x80ffad0,
84 event=@0xb1771c1c) at mythobservable.cpp:55
85#7 0xb7c702f2 in TVRec::NotifySchedulerOfRecording (this=0x810f898,
86 rec=0x810f1d8) at tv_rec.cpp:2739
87#8 0xb7c70e5f in TVRec::SetLiveRecording (this=0x810f898, recording=0)
88 at tv_rec.cpp:2790
89#9 0x08069d83 in EncoderLink::SetLiveRecording (this=0x8112b40, recording=0)
90 at encoderlink.cpp:652
91#10 0x0808a4ca in MainServer::HandleRecorderQuery (this=0x8113ce0,
92 slist=@0xb1772320, commands=@0xb1772318, pbs=0x810cb88)
93 at mainserver.cpp:2480
94#11 0x08096518 in MainServer::ProcessRequestWork (this=0x8113ce0,
95 sock=0x8115c70) at mainserver.cpp:411
96---Type <return> to continue, or q <return> to quit---
97#12 0x08098901 in MainServer::ProcessRequest (this=0x8113ce0, sock=0x8115c70)
98 at mainserver.cpp:256
99#13 0x080a4940 in ProcessRequestThread::run (this=0x8113970)
100 at mainserver.cpp:91
101#14 0xb67f7278 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
102#15 0xb6480cfd in start_thread () from /lib/tls/libpthread.so.0
103#16 0xb630813e in clone () from /lib/tls/libc.so.6
104(gdb) bt full
105#0 0x080ae7af in Scheduler::AddRecording (this=0x0, pi=@0xb1771768)
106 at scheduler.cpp:1044
107 lockit = {mtx = 0x0}
108#1 0x0808e2bb in MainServer::customEvent (this=0x8113ce0, e=0xab601a48)
109 at mainserver.cpp:649
110 pi = {title = {static null = {
111 static null = <same as static member of an already seen type>,
112 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a528,
113 static shared_null = 0x80e5388}, subtitle = {static null = {
114 static null = <same as static member of an already seen type>,
115 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a900,
116 static shared_null = 0x80e5388}, description = {static null = {
117 static null = <same as static member of an already seen type>,
118 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a540,
119 static shared_null = 0x80e5388}, category = {static null = {
120 static null = <same as static member of an already seen type>,
121 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x811b340,
122 static shared_null = 0x80e5388}, chanid = {static null = {
123 static null = <same as static member of an already seen type>,
124 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a8c0,
125 static shared_null = 0x80e5388}, chanstr = {static null = {
126 static null = <same as static member of an already seen type>,
127---Type <return> to continue, or q <return> to quit---
128 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a330,
129 static shared_null = 0x80e5388}, chansign = {static null = {
130 static null = <same as static member of an already seen type>,
131 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x811b310,
132 static shared_null = 0x80e5388}, channame = {static null = {
133 static null = <same as static member of an already seen type>,
134 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a408,
135 static shared_null = 0x80e5388}, recpriority = 0, recgroup = {
136 static null = {
137 static null = <same as static member of an already seen type>,
138 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x8139a28,
139 static shared_null = 0x80e5388}, playgroup = {static null = {
140 static null = <same as static member of an already seen type>,
141 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x811a900,
142 static shared_null = 0x80e5388}, chancommfree = 0, pathname = {
143 static null = {
144 static null = <same as static member of an already seen type>,
145 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x8121900,
146 static shared_null = 0x80e5388}, filesize = 0, hostname = {static null = {
147 static null = <same as static member of an already seen type>,
148 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x81010d8,
149 static shared_null = 0x80e5388}, startts = {d = {jd = 2453756}, t = {
150---Type <return> to continue, or q <return> to quit---
151 ds = 75600000}}, endts = {d = {jd = 2453756}, t = {ds = 79200000}},
152 recstartts = {d = {jd = 2453756}, t = {ds = 78179000}}, recendts = {d = {
153 jd = 2453756}, t = {ds = 79200000}}, availableStatus = asAvailable,
154 isVideo = false, lenMins = 0, year = {static null = {
155 static null = <same as static member of an already seen type>,
156 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab600c58,
157 static shared_null = 0x80e5388}, stars = 0, originalAirDate = {
158 jd = 2451545}, lastmodified = {d = {jd = 2453756}, t = {ds = 75600000}},
159 lastInUseTime = {d = {jd = 2453756}, t = {ds = 63803000}},
160 hasAirDate = true, repeat = true, spread = -1, startCol = -1,
161 recstatus = rsRecording, oldrecstatus = rsUnknown,
162 savedrecstatus = rsUnknown, recpriority2 = 0, reactivate = 0,
163 recordid = 7251, parentid = 0, rectype = kSingleRecord, dupin = kDupsInAll,
164 dupmethod = kDupCheckSubDesc, sourceid = 0, inputid = 1, cardid = 1,
165 shareable = false, duplicate = false, schedulerid = {static null = {
166 static null = <same as static member of an already seen type>,
167 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab600d58,
168 static shared_null = 0x80e5388}, findid = 0, programflags = 0,
169 transcoder = 0, chanOutputFilters = {static null = {
170 static null = <same as static member of an already seen type>,
171 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a8e8,
172 static shared_null = 0x80e5388}, seriesid = {static null = {
173---Type <return> to continue, or q <return> to quit---
174 static null = <same as static member of an already seen type>,
175 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x810f320,
176 static shared_null = 0x80e5388}, programid = {static null = {
177 static null = <same as static member of an already seen type>,
178 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x810f2f0,
179 static shared_null = 0x80e5388}, catType = {static null = {
180 static null = <same as static member of an already seen type>,
181 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab601038,
182 static shared_null = 0x80e5388}, sortTitle = {static null = {
183 static null = <same as static member of an already seen type>,
184 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab601060,
185 static shared_null = 0x80e5388}, ignoreBookmark = false, record = 0x0,
186 inUseForWhat = {static null = {
187 static null = <same as static member of an already seen type>,
188 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab601088,
189 static shared_null = 0x80e5388}}
190 list = {<QValueList<QString>> = {sh = 0xab6010a0}, <No data fields>}
191 me = (MythEvent *) 0xab601a48
192 broadcast = {<QValueList<QString>> = {
193 sh = 0xab600b80}, <No data fields>}
194 sendstuff = false
195#2 0xb6868cbb in QObject::event () from /usr/lib/libqt-mt.so.3
196---Type <return> to continue, or q <return> to quit---
197No symbol table info available.
198#3 0xb6801698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
199No symbol table info available.
200#4 0xb68018b6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
201No symbol table info available.
202#5 0xb7283937 in QApplication::sendEvent (receiver=0x8113ce0,
203 event=0xab601a48) at qapplication.h:496
204No locals.
205#6 0xb72dae95 in MythObservable::dispatchNow (this=0x80ffad0,
206 event=@0xb1771c1c) at mythobservable.cpp:55
207 listener = (struct QObject *) 0x8113ce0
208#7 0xb7c702f2 in TVRec::NotifySchedulerOfRecording (this=0x810f898,
209 rec=0x810f1d8) at tv_rec.cpp:2739
210 prog = {<QValueList<QString>> = {sh = 0xab600508}, <No data fields>}
211 me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0}, message = {
212 static null = {
213 static null = <same as static member of an already seen type>,
214 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab6020a0,
215 static shared_null = 0x80e5388}, extradata = {<QValueList<QString>> = {
216 sh = 0xab600508}, <No data fields>}}
217#8 0xb7c70e5f in TVRec::SetLiveRecording (this=0x810f898, recording=0)
218 at tv_rec.cpp:2790
219---Type <return> to continue, or q <return> to quit---
220 locker = {mtx = 0x810f950}
221 recstat = rsCancelled
222 was_rec = false
223 me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0xb1771d08},
224 message = {static null = {
225 static null = <same as static member of an already seen type>,
226 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xb629f8bc,
227 static shared_null = 0x80e5388}, extradata = {<QValueList<QString>> = {
228 sh = 0xab600010}, <No data fields>}}
229#9 0x08069d83 in EncoderLink::SetLiveRecording (this=0x8112b40, recording=0)
230 at encoderlink.cpp:652
231No locals.
232#10 0x0808a4ca in MainServer::HandleRecorderQuery (this=0x8113ce0,
233 slist=@0xb1772320, commands=@0xb1772318, pbs=0x810cb88)
234 at mainserver.cpp:2480
235 recording = 0
236 pbssock = (struct QSocket *) 0x8115c70
237 recnum = 1
238 iter = {node = 0x8112870}
239 command = {static null = {
240 static null = <same as static member of an already seen type>,
241 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab6006f8,
242---Type <return> to continue, or q <return> to quit---
243 static shared_null = 0x80e5388}
244 retlist = {<QValueList<QString>> = {
245 sh = 0xab600688}, <No data fields>}
246 enc = (EncoderLink *) 0x8112b40
247#11 0x08096518 in MainServer::ProcessRequestWork (this=0x8113ce0,
248 sock=0x8115c70) at mainserver.cpp:411
249 listline = {<QValueList<QString>> = {
250 sh = 0xab600698}, <No data fields>}
251 line = {static null = {
252 static null = <same as static member of an already seen type>,
253 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab600498,
254 static shared_null = 0x80e5388}
255 tokens = {<QValueList<QString>> = {sh = 0xab600560}, <No data fields>}
256 command = {static null = {
257 static null = <same as static member of an already seen type>,
258 d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab6005d0,
259 static shared_null = 0x80e5388}
260 pbs = (class PlaybackSock *) 0x810cb88
261#12 0x08098901 in MainServer::ProcessRequest (this=0x8113ce0, sock=0x8115c70)
262 at mainserver.cpp:256
263No locals.
264#13 0x080a4940 in ProcessRequestThread::run (this=0x8113970)
265---Type <return> to continue, or q <return> to quit---
266 at mainserver.cpp:91
267No locals.
268#14 0xb67f7278 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
269No symbol table info available.
270#15 0xb6480cfd in start_thread () from /lib/tls/libpthread.so.0
271No symbol table info available.
272#16 0xb630813e in clone () from /lib/tls/libc.so.6
273No symbol table info available.
274(gdb)
275(gdb)
276(gdb)