[opensuse-packaging] Need help with gdb, debuginfo, etc.
![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
All, note: I haven't used gdb much in a decade., so look for something obvious I'm doing wrong. I maintain libtsk and I've got a bug in libtsk I'm trying to troubleshoot with upstream. I have the debuginfo rpms installed: -- $ rpm -qa | grep tsk python-tsk-debuginfo-0~20140506-5.1.x86_64 python-tsk-0~20140506-5.1.x86_64 libtsk10-debuginfo-4.1.3-4.1.x86_64 libtsk10-4.1.3-4.1.x86_64 -- python-tsk is just a python binding for libtsk. I ran the higher level app in gdb and this is the top of the stack trace it generates: =============== (Pdb) cont *** Error in `/usr/bin/python': free(): invalid pointer: 0x0000000025c4b120 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x730bf)[0x7ffff74da0bf] /lib64/libc.so.6(+0x7892e)[0x7ffff74df92e] /usr/lib64/libtsk.so.10(hfs_file_read_special+0x615)[0x7ffff02c5045] /usr/lib64/python2.7/site-packages/pytsk3.so(+0x1a2b9)[0x7ffff05a62b9] /usr/lib64/python2.7/site-packages/pytsk3.so(+0xb4ec)[0x7ffff05974ec] /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1295)[0x7ffff7af43e5] /usr/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x221)[0x7ffff7afa061] ... ================ I expected to get line numbers on those lines. What am I doing wrong? Thanks Greg -- Greg Freemyer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/5b748275c3dbb1ceee18ed554486547d.jpg?s=120&d=mm&r=g)
On Wednesday 2014-12-03 17:43, Greg Freemyer wrote:
I have the debuginfo rpms installed:
-- $ rpm -qa | grep tsk python-tsk-debuginfo-0~20140506-5.1.x86_64 python-tsk-0~20140506-5.1.x86_64 libtsk10-debuginfo-4.1.3-4.1.x86_64 libtsk10-4.1.3-4.1.x86_64 =============== (Pdb) cont *** Error in `/usr/bin/python': free(): invalid pointer: 0x0000000025c4b120 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x730bf)[0x7ffff74da0bf] /lib64/libc.so.6(+0x7892e)[0x7ffff74df92e] /usr/lib64/libtsk.so.10(hfs_file_read_special+0x615)[0x7ffff02c5045] /usr/lib64/python2.7/site-packages/pytsk3.so(+0x1a2b9)[0x7ffff05a62b9] /usr/lib64/python2.7/site-packages/pytsk3.so(+0xb4ec)[0x7ffff05974ec] /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1295)[0x7ffff7af43e5] /usr/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x221)[0x7ffff7afa061] I expected to get line numbers on those lines. What am I doing wrong?
pdb? can't say. But were it gdb, you want python-tsk-debugsource too. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Greg Freemyer
-
Jan Engelhardt