I like the new goom (at least I think its different from before?). However, it seems to be segfaulting on me after a few mins of listening.
Backtrace is mostly useless (because it's compiled without debugging info), but shown below for reference. Recompiling with debug info and of course the darn thing is stable... Any pointers to compile this up with the MMX stuff under the debugger?
Just out of interest, is anyone NOT having problems with goom? (Just to get a handle on whether it's specific to my setup in some way)
Thanks for any pointers on tracking this one down
Ed W
I've seen this one for quite a while too - it makes goom pretty useless. but I can get it to segfault with debug symbols. It seems to segfault quicker for me if goom is in full screen mode. I have MMX disabled across the board in MythMusic since it doesn't like to compile on AMD64s. If it matters, I see this when I am playing flac files from a R/O SMB mount. backtrace from 2/19 CVS build below message body.
On a related note, I am somewhat concerned about these warnings in mythgoom.cpp. Pointers and ints need not be the same size. I have a small patch that fixes this attached. (I use char * pointers rather than ints since they are one byte aligned and arithmitic will work the way it did with the ints). sadly, this doesn't fix the crash.
--- Carl
g++ -c -pipe -Wall -W -O3 -march=athlon64 -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local/MythTV-dev\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I../../../../include -I/usr/include/cdda -I/usr/qt/3/include -I../../../../../../X11R6/include -o mythgoom.o goom/mythgoom.cpp
goom/mythgoom.cpp: In member function `virtual bool Goom::draw(QPainter*, const QColor&)':
goom/mythgoom.cpp:132: warning: cast from pointer to integer of different size
goom/mythgoom.cpp:133: warning: cast from pointer to integer of different size
goom/mythgoom.cpp:135: warning: cast from pointer to integer of different size
goom/mythgoom.cpp:139: warning: cast from pointer to integer of different size
goom/mythgoom.cpp:146: warning: cast from pointer to integer of different size
(gdb) thread apply all bt full
Thread 6 (process 22461): #0 0x0000002a9834b806 in poll () from /lib/libc.so.6 No symbol table info available. #1 0x0000002a97d221a4 in __pthread_manager () from /lib/libpthread.so.0 No symbol table info available. #2 0x0000002a98353563 in clone () from /lib/libc.so.6 No symbol table info available.
Thread 5 (process 22462):
#0 0x0000002a97d2469e in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000002a97d23eb0 in __pthread_wait_for_restart_signal ()
from /lib/libpthread.so.0
No symbol table info available.
#2 0x0000002a97d20f1a in [EMAIL PROTECTED] ()
from /lib/libpthread.so.0
No symbol table info available.
#3 0x0000002a979878b2 in QWaitCondition::wait(unsigned long) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4 0x0000002a964e755b in MythContext::waitPrivRequest() const (this=0x741790)
at mythcontext.cpp:2139
No locals.
#5 0x000000000042bf48 in run_priv_thread (data=0x0) at main.cpp:663
No locals.
#6 0x0000002a97d21bc2 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x0000002a98353563 in clone () from /lib/libc.so.6
No symbol table info available.
Thread 4 (process 22465):
#0 0x0000002a97d273bf in read () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000002a985c5fb9 in lirc_nextcode () from /usr/lib/liblirc_client.so.0
No symbol table info available.
#2 0x0000002a965d0ee3 in LircClient::Process() (this=0x7750a0) at lirc.cpp:67
code = 0x0
ir = 0x0
ret = 0
#3 0x0000002a96577496 in SpawnLirc (param=0x76c6e0) at mythdialogs.cpp:52
main_window = (MythMainWindow *) 0x76c6e0
cl = (class LircClient *) 0x7750a0
program = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x78b4a0,
static shared_null = 0x62ff30}
config_file = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x78c550,
static shared_null = 0x62ff30}
#4 0x0000002a97d21bc2 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x0000002a98353563 in clone () from /lib/libc.so.6
No symbol table info available.
Thread 3 (process 22914):
#0 0x0000002a98328fc5 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x0000002a9834da88 in usleep () from /lib/libc.so.6
No symbol table info available.
#2 0x0000002a965b6f12 in AudioOutputBase::OutputAudioLoop() (
this=0x2a9ff9c010) at audiooutputbase.cpp:770
space_on_soundcard = 1008
last_space_on_soundcard = 1008
zeros = "\000"
fragment = "\uffff\uffff"
e = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0},
error_msg = 0x0, elasped_seconds = 0, written_bytes = 0, brate = 0,
freq = 0, prec = 0, chan = 0}
#3 0x0000002a965b7729 in AudioOutputBase::kickoffOutputAudioLoop(void*) (
player=0x2a9ff9c010) at audiooutputbase.cpp:870
No locals.
#4 0x0000002a97d21bc2 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x0000002a98353563 in clone () from /lib/libc.so.6
No symbol table info available.Thread 2 (process 22915):
#0 0x0000002a97d27dc5 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000002a97d24614 in __pthread_timedsuspend_new ()
from /lib/libpthread.so.0
No symbol table info available.
#2 0x0000002a97d21162 in [EMAIL PROTECTED] ()
from /lib/libpthread.so.0
No symbol table info available.
#3 0x0000002a976d2845 in QThread::exit() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4 0x0000002a976d29e0 in QThread::usleep(unsigned long) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#5 0x0000002a9d28cd4e in FlacDecoder::flush(bool) (this=0x21ff3f0,
final=false) at flacdecoder.cpp:217
sz = 2048
samples = 512
min = 2048
#6 0x0000002a9d28d4ce in FlacDecoder::run() (this=0x21ff3f0)
at flacdecoder.cpp:342
flacok = true
decoderstate = FLAC__SEEKABLE_STREAM_DECODER_OK
#7 0x0000002a976d24fd in QThreadInstance::start(void*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#8 0x0000002a97d21bc2 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9 0x0000002a98353563 in clone () from /lib/libc.so.6
No symbol table info available.
Thread 1 (process 22460):
#0 0x0000002a9d30068e in getPixelRGB_ (buffer=0x227da00, x=4294967192,
c=0x7fbfffc2b0) at goom/filters.c:391
tmp8 = (
unsigned char *) 0x40227d860 <Address 0x40227d860 out of bounds>
#1 0x0000002a9d3008c1 in c_zoom (expix1=0x227da00, expix2=0x2273400,
prevX=108, prevY=98, brutS=0x2288000, brutD=0x229cc80)
at goom/filters.c:434
col1 = {r = 169, v = 169, b = 43}
col4 = {r = 174, v = 173, b = 41}
c3 = 0
pos = -104
brutSmypos = 120
col2 = {r = 171, v = 171, b = 38}
c1 = 255
c4 = 0
px = 79
col3 = {r = 172, v = 171, b = 45}
c2 = 0
py = -1
coeffs = -535949824
myPos = 4
myPos2 = 5
couleur = {r = 168, v = 168, b = 42}
ax = 1712
ay = 1552
bufsize = 21168
bufwidth = 108
#2 0x0000002a9d301598 in zoomFilterFastRGB (pix1=0x227da00, pix2=0x2273400,
zf=0x0, resx=108, resy=98, switchIncr=0, switchMult=0.966666639)
at goom/filters.c:712
x = 1174163456
y = 2683611791
reverse = 0 '\0'
pertedec = 8 '\b'
firstTime = 0 '\0'
interlace_start = -2
#3 0x0000002a9d303aa6 in goom_update (data=0x7fbfffc550, forceMode=0)
at goom/goom_core.c:645
lockvar = 29
goomvar = 11
totalgoom = 5
agoom = 17
abiggoom = 0
loopvar = 7074
speedvar = 17
lineMode = 0
nombreCDDC = 71
return_val = (unsigned int *) 0x2273400
pointWidth = 43
pointHeight = 39
incvar = 12147
accelvar = 10
i = 3
largfactor = 0.445293337
stop_lines = 0
ifs_incr = 0
decay_ifs = -829
recay_ifs = 0
switchMult = 0.966666639
switchIncr = 0
goomlimit = 19 '\023'
zfd = {vitesse = 124, pertedec = 8 '\b', sqrtperte = 16 '\020',
middleX = 54, middleY = 49, reverse = 0 '\0', mode = 7 '\a',
hPlaneEffect = -4, vPlaneEffect = -4, waveEffect = 0, hypercosEffect = 0,
noisify = 0 '\0'}
pzfd = (ZoomFilterData *) 0x0
#4 0x0000002a9d30b070 in Goom::process(VisualNode*) (this=0x21fe990,
node=0x22e1010) at goom/mythgoom.cpp:102
numSamps = 512
data = {{-3200, -2833, -2470, -2053, -1526, -920, -331, 210, 699,
1155, 1637, 2134, 2608, 3008, 3390, 3753, 4153, 4559, 4838, 4987, 5111,
5235, 5276, 5280, 5295, 5239, 5116, 4974, 4875, 4805, 4804, 4863, 4952,
4993, 4912, 4678, 4276, 3814, 3373, 2958, 2495, 1909, 1193, 315, -637,
-1691, -2858, -4063, -5256, -6371, -7332, -8231, -9102, -9869, -10578,
-11226, -11705, -12053, -12281, -12422, -12471, -12517, -12635, -12780,
-12982, -13108, -13065, -12867, -12422, -11745, -10927, -10057, -9258,
-8509, -7833, -7144, -6402, -5614, -4893, -4353, -4008, -3723, -3447,
-3229, -3040, -2832, -2604, -2337, -1978, -1551, -1084, -581, -60, 403,
817, 1223, 1642, 2099, 2466, 2720, 2837, 2823, 2751, 2709, 2803, 3054,
3501, 4050, 4537, 4921, 5229, 5493, 5759, 5959, 6021, 5892, 5514, 4931,
4164, 3304, 2346, 1270, 53, -1165, -2205, -2985, -3571, -4019, -4502,
-5080, -5602, -6040, -6323, -6349, -6269, -6151, -6029, -5783, -5469,
-5183, -4918, -4644, -4259, -3695, -2932, -1972, -831, 528, 2052, 3566,
4922, 6054, 6969, 7737, 8410, 9046, 9675, 10329, 10942, 11432, 11819,
12057, 12147, 12059, 11795, 11374, 10901, 10445, 10012, 9581, 9237, 8963,
8658, 8276, 7903, 7634, 7372, 6979, 6443, 5847, 5271, 4736, 4287, 3999,
3789, 3651, 3553, 3398, 3132, 2752, 2312, 1833, 1290, 713, 85, -544,
-1133, -1667, -2076, -2231...}, {-3802, -3450, -3110, -2717, -2182, -1570,
-965, -398, 138, 622, 1143, 1690, 2231, 2704, 3150, 3594, 4064, 4554,
4912, 5123, 5307, 5473, 5547, 5592, 5633, 5592, 5483, 5364, 5279, 5214,
5225, 5300, 5400, 5468, 5385, 5173, 4784, 4329, 3906, 3492, 3017, 2410,
1651, 718, -315, -1451, -2723, -4038, -5360, -6612, -7705, -8745, -9763,
-10679, -11558, -12368, -13017, -13518, -13921, -14213, -14401, -14568,
-14805, -15069, -15379, -15600, -15647, -15523, -15141, -14506, -13722,
-12877, -12080, -11318, -10618, -9899, -9091, -8222, -7421, -6784, -6338,
-5951, -5574, -5262, -4984, -4691, -4387, -4048, -3618, -3131, -2603,
-2031, -1443, -902, -406, 81, 598, 1160, 1631, 2007, 2230, 2321, 2360,
2395, 2585, 2921, 3462, 4100, 4681, 5165, 5567, 5935, 6310, 6613, 6780,
6739, 6443, 5922, 5188, 4348, 3394, 2286, 1026, -269, -1409, -2301, -2987,
-3544, -4134, -4823, -5436, -5966, -6334, -6443, -6424, -6378, -6298,
-6099, -5822, -5568, -5314, -5051, -4680, -4119, -3334, -2346, -1168, 246,
1848, 3445, 4904, 6151, 7191, 8068, 8864, 9615, 10376, 11160, 11910,
12544, 13071, 13457, 13679, 13714, 13575, 13261, 12858, 12477, 12089,
11681, 11357, 11089, 10782, 10381, 10022, 9750, 9486, 9088, 8546, 7938,
7337, 6777, 6292, 5956, 5707, 5508, 5359, 5120, 4779, 4323, 3794, 3235,
2589, 1917, 1194, 460, -239, -875, -1389, -1644...}}
i = 512
#5 0x0000002a9d29a778 in MainVisual::timeout() (this=0x1d52710)
at mainvisual.cpp:256
process = true
node = (VisualNode *) 0x22e1010
stop = true
#6 0x0000002a9d329946 in MainVisual::qt_invoke(int, QUObject*) (
this=0x1d52710, _id=45, _o=0x7fbfffd040) at moc_mainvisual.cpp:94
No locals.
#7 0x0000002a97732b78 in QObject::activate_signal(QConnectionList*, QUObject*)
() from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#8 0x0000002a977332e2 in QObject::activate_signal(int) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#9 0x0000002a9774f9e5 in QTimer::event(QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x0000002a976da07d in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x0000002a976da400 in QApplication::notify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x0000002a976cf133 in QEventLoop::activateTimers() ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#13 0x0000002a9769044d in QEventLoop::processEvents(unsigned) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#14 0x0000002a976ee165 in QEventLoop::enterLoop() ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#15 0x0000002a96580039 in MythDialog::exec() (this=0x1d42bc0)
at mythdialogs.cpp:954
res = 127
#16 0x0000002a9d2933a8 in startPlayback(PlaylistsContainer*, AllMusic*) (
all_playlists=0x8d52f0, all_music=0x8c3ea0) at main.cpp:248
pbb = (class PlaybackBoxMusic *) 0x1d42bc0
#17 0x0000002a9d293738 in MusicCallback(void*, QString&) (data=0x7fbfffe4b0,
[EMAIL PROTECTED]) at main.cpp:299
mdata = (MusicData *) 0x7fbfffe4b0
sel = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x1d42960,
static shared_null = 0x62ff30}
#18 0x0000002a9651e23c in ThemedMenuPrivate::handleAction(QString const&) (
this=0x7b2db0, [EMAIL PROTECTED]) at themedmenu.cpp:2467
No locals.
#19 0x0000002a9651c94d in ThemedMenuPrivate::keyPressHandler(QKeyEvent*) (
this=0x7b2db0, e=0x7fbfffdf40) at themedmenu.cpp:2296
it = {node = 0x7e8dd0}
action = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x78ac20,
static shared_null = 0x62ff30}
i = 0
lastbutton = (ThemedButton *) 0x8d6dc0
oldrow = 0
handled = true
actions = {<QValueList<QString>> = {sh = 0x1d42990}, <No data fields>}
#20 0x0000002a9651f78e in ThemedMenu::keyPressEvent(QKeyEvent*) (
this=0x7ad860, e=0x7fbfffdf40) at themedmenu.cpp:2662
No locals.
#21 0x0000002a97764a3c in QWidget::event(QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#22 0x0000002a976da07d in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#23 0x0000002a976da691 in QApplication::notify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#24 0x0000002a976786ad in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#25 0x0000002a9767e878 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#26 0x0000002a9768fd0b in QEventLoop::processEvents(unsigned) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#27 0x0000002a976ee165 in QEventLoop::enterLoop() ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#28 0x0000002a96580039 in MythDialog::exec() (this=0x7ad860)
at mythdialogs.cpp:954
res = 42
#29 0x0000002a9d293b67 in runMenu(MusicData*, QString) (mdata=0x7fbfffe4b0,
which_menu=
{static null = {static null = <same as static member of an already seen type>, d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x89d760, static shared_null = 0x62ff30}) at main.cpp:352
themedir = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x7811b0,
static shared_null = 0x62ff30}
diag = (ThemedMenu *) 0x7ad860
#30 0x0000002a9d295cf6 in mythplugin_run () at main.cpp:506
mdata = {paths = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x7f93e0,
static shared_null = 0x62ff30}, startdir = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x7eb350,
static shared_null = 0x62ff30}, all_playlists = 0x8d52f0,
all_music = 0x8c3ea0}
#31 0x0000002a96574ffb in MythPlugin::run() (this=0x775c90)
at mythplugin.cpp:42
rfunc = 0x2a9d295cbe <mythplugin_run>
#32 0x0000002a96575c36 in MythPluginManager::run_plugin(QString const&) (
this=0x783760, [EMAIL PROTECTED]) at mythplugin.cpp:169
newname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x8e1dc0,
static shared_null = 0x62ff30}
#33 0x0000002a9651dff1 in ThemedMenuPrivate::handleAction(QString const&) (
this=0x849100, [EMAIL PROTECTED]) at themedmenu.cpp:2450
rest = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x7a1b70,
static shared_null = 0x62ff30}
pmanager = (MythPluginManager *) 0x783760
#34 0x0000002a9651c94d in ThemedMenuPrivate::keyPressHandler(QKeyEvent*) (
this=0x849100, e=0x7fbfffed90) at themedmenu.cpp:2296
it = {node = 0x8af320}
action = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x78ac20,
static shared_null = 0x62ff30}
i = 0
lastbutton = (ThemedButton *) 0x8c9050
oldrow = 0
handled = true
actions = {<QValueList<QString>> = {sh = 0x820a70}, <No data fields>}
#35 0x0000002a9651f78e in ThemedMenu::keyPressEvent(QKeyEvent*) (
this=0x7a2350, e=0x7fbfffed90) at themedmenu.cpp:2662
No locals.
#36 0x0000002a97764a3c in QWidget::event(QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#37 0x0000002a976da07d in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#38 0x0000002a976da691 in QApplication::notify(QObject*, QEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#39 0x0000002a976786ad in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#40 0x0000002a9767e878 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#41 0x0000002a9768fd0b in QEventLoop::processEvents(unsigned) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#42 0x0000002a976ee165 in QEventLoop::enterLoop() ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#43 0x0000002a96580039 in MythDialog::exec() (this=0x7a2350)
at mythdialogs.cpp:954
res = 0
#44 0x000000000042a8a6 in RunMenu(QString) (themedir=
{static null = {static null = <same as static member of an already seen type>, d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x7812e0, static shared_null = 0x62ff30}) at main.cpp:510
exitstatus = 0
#45 0x000000000042eada in main (argc=1, argv=0x7fbffff6d8) at main.cpp:1036
a = <incomplete type>
logfile = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x741020,
static shared_null = 0x62ff30}
finfo = {fn = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x741420,
static shared_null = 0x62ff30}, fic = 0x0, cache = true, symLink = false}
logfd = -1
fileprefix = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x741590,
static shared_null = 0x62ff30}
db = (struct QSqlDatabase *) 0x762ed0
themename = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x80c260,
static shared_null = 0x62ff30}
randomtheme = false
verboseString = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x741340,
static shared_null = 0x62ff30}
status = 0
mainWindow = (MythMainWindow *) 0x76c6e0
pmanager = (MythPluginManager *) 0x783760
lcd_host = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x76c8c0,
static shared_null = 0x62ff30}
pluginname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x741390,
static shared_null = 0x62ff30}
binname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x741470,
static shared_null = 0x62ff30}
priv_thread = 16386
themedir = {static null = {
static null = <same as static member of an already seen type>,
d = 0x62ff30, static shared_null = 0x62ff30}, d = 0x7812e0,
static shared_null = 0x62ff30}
exitstatus = 0
mon = (MediaMonitor *) 0x0
lcd_port = 13666
dir = <incomplete type>
(gdb)
Index: mythmusic/goom/mythgoom.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythmusic/mythmusic/goom/mythgoom.cpp,v
retrieving revision 1.8
diff -u -r1.8 mythgoom.cpp
--- mythmusic/goom/mythgoom.cpp 21 Jan 2005 07:59:26 -0000 1.8
+++ mythmusic/goom/mythgoom.cpp 19 Feb 2005 22:40:45 -0000
@@ -129,21 +129,21 @@
int sw2 = surface->pitch;
int swd = sw2 - sw * scalew;
- int fin = (int)s;
- int fd = (int)d + (sw2 * size.height());
+ char *fin = (char *)s;
+ char *fd = ((char *)d) + ((sw2 * size.height()));
- while ((int)d < fd) {
- fin += sw;
+ while ((char *)d < fd) {
+ fin += sw;
if (scalew == 2)
{
- while ((int)s < fin) {
+ while ((char *)s < fin) {
register int col = *(s++);
*(d++) = col; *(d++) = col;
}
}
else
{
- while ((int)s < fin) {
+ while ((char *)s < fin) {
register int col = *(s++);
*(d++) = col;
}
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
