Bug 80141 - kdetv segfaults with AMD64 and kernel 2.6.5 but not kernel 2.4.21
Summary: kdetv segfaults with AMD64 and kernel 2.6.5 but not kernel 2.4.21
Status: RESOLVED NOT A BUG
Alias: None
Product: kdetv
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dirk Ziegelmeier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 17:46 UTC by paul.leopardi
Modified: 2004-10-20 23:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paul.leopardi 2004-04-22 17:46:52 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    SuSE RPMs
OS:          Linux

Ran kdetv with kernel 2.6.5-8.5 (SUSE 9.0 RPM). It imported kwintv settings, including channels, but grabdisplay mode hung. Window froze and did not show KDE crash dialog. Ran kdetv again, froze again. 

Ran kdetv in gdb:
GNU gdb 5.3.92
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...(no debugging symbols found)...
(gdb) run
Starting program: /opt/kde3/bin/kdetv 
(no debugging symbols found)... etc.
(no debugging symbols found)...[New Thread 16384 (LWP 16354)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...Detaching after fork from child process 16369.
Detaching after fork from child process 16376.
Detaching after fork from child process 16383.
[New Thread 32769 (LWP 16384)]
[New Thread 16386 (LWP 16385)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16386 (LWP 16385)]
0x0000002a9814c988 in fREe () from /usr/lib/qt3/lib64/libqt-mt.so.3
(gdb) bt
#0  0x0000002a9814c988 in fREe () from /usr/lib/qt3/lib64/libqt-mt.so.3
#1  0x0000002a9814b550 in free () from /usr/lib/qt3/lib64/libqt-mt.so.3
#2  0x0000002a99b50cce in operator delete(void*) () from /usr/lib64/libstdc++.so.5
#3  0x0000002a99b50d09 in operator delete[](void*) () from /usr/lib64/libstdc++.so.5
#4  0x0000002a9b38d9e5 in V4LDev::grab(V4LImage*) () from /opt/kde3/lib64/libkvideoio.so.1
#5  0x0000002a9b249b90 in V4LGrabber::run() () from /opt/kde3/lib64/kde3/kdetv_v4l.so
#6  0x0000002a9814a50d in QThreadInstance::start(void*) () from /usr/lib/qt3/lib64/libqt-mt.so.3
#7  0x0000002a9981fccc in pthread_start_thread () from /lib64/libpthread.so.0
#8  0x0000002a9981fd63 in pthread_start_thread_event () from /lib64/libpthread.so.0
#9  0x0000002a99ebce70 in thread_start () from /lib64/libc.so.6
#10 0x7d107f2180127e10 in ?? ()
#11 0x81217c1081158318 in ?? ()
#12 0x8310802a80108011 in ?? ()
etc. ad infinitum (corrupted stack?)

leopardi@linfinit:~/Documents/test> uname -a
Linux linfinit 2.6.5-8.5-default #1 Wed Apr 14 09:48:07 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux
leopardi@linfinit:~/Documents/test> cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 4
model name      : AMD Athlon(tm) 64 Processor 3200+
stepping        : 8
cpu MHz         : 2009.159
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 3981.31
TLB size        : 1088 4K pages
clflush size    : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

leopardi@linfinit:~/Documents/test> lsmod|grep bttv
bttv                  172364  1
video_buf              23812  1 bttv
i2c_algo_bit            9864  1 bttv
v4l2_common             8448  1 bttv
btcx_risc               5640  1 bttv
i2c_core               27268  4 tuner,tvaudio,bttv,i2c_algo_bit
videodev               12032  2 bttv
soundcore              10784  3 bttv,snd

Problem does not occur in kernel 2.4.21-209 (SUSE RPM)
Comment 1 Dirk Ziegelmeier 2004-10-20 23:04:06 UTC
Works fine on SuSE 9.1 x86-64 (Kernel 2.6.5)