[Bug 431801] Re: calibre, lrfviewer > segment fault

antoine antoine- at laposte.net
Mon Sep 21 20:38:31 UTC 2009


antoine at antoine:~$ gdb python
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/python 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[New Thread 0x7ffd8b2406f0 (LWP 17117)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
>>> import sys
>>> from pkg_resources import load_entry_point
>>> 
>>> sys.exit(
...    load_entry_point('calibre==0.6.3', 'gui_scripts', 'lrfviewer')()
... )
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffd8b2406f0 (LWP 17117)]
0x00007ffd8a299c40 in strlen () from /lib/libc.so.6
(gdb) backtrace full
#0  0x00007ffd8a299c40 in strlen () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000004610fe in PyString_FromFormatV ()
No symbol table info available.
#2  0x00000000004b0ea2 in PyErr_Format ()
No symbol table info available.
#3  0x00007ffd876e2525 in ?? () from /var/lib/python-support/python2.6/sip.so
No symbol table info available.
#4  0x00007ffd839a291a in initpictureflow ()
   from /usr/lib/python2.6/dist-packages/calibre/plugins/pictureflow.so
No symbol table info available.
#5  0x00000000004bbdb7 in _PyImport_LoadDynamicModule ()
No symbol table info available.
#6  0x00000000004ba2ba in ?? ()
No symbol table info available.
#7  0x00000000004ba54c in ?? ()
No symbol table info available.
#8  0x00000000004babb7 in ?? ()
No symbol table info available.
#9  0x00000000004bb19f in PyImport_ImportModuleLevel ()
No symbol table info available.
#10 0x000000000049c869 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#11 0x00000000004a2b03 in PyEval_EvalFrameEx ()
No symbol table info available.
#12 0x00000000004a3dae in PyEval_EvalFrameEx ()
No symbol table info available.
#13 0x00000000004a4649 in PyEval_EvalCodeEx ()
No symbol table info available.
#14 0x00000000004a4762 in PyEval_EvalCode ()
No symbol table info available.
#15 0x00000000004b832e in PyImport_ExecCodeModuleEx ()
No symbol table info available.
#16 0x00000000004b9461 in ?? ()
No symbol table info available.
#17 0x00000000004ba2ba in ?? ()
No symbol table info available.
#18 0x00000000004ba54c in ?? ()
No symbol table info available.
#19 0x00000000004babfe in ?? ()
No symbol table info available.
#20 0x00000000004bb19f in PyImport_ImportModuleLevel ()
No symbol table info available.
#21 0x000000000049c869 in ?? ()
No symbol table info available.
#22 0x000000000041d3bd in PyObject_Call ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#23 0x000000000049cd46 in PyEval_CallObjectWithKeywords ()
No symbol table info available.
#24 0x000000000049faa2 in PyEval_EvalFrameEx ()
No symbol table info available.
#25 0x00000000004a4649 in PyEval_EvalCodeEx ()
No symbol table info available.
#26 0x00000000004a4762 in PyEval_EvalCode ()
No symbol table info available.
#27 0x00000000004b832e in PyImport_ExecCodeModuleEx ()
No symbol table info available.
#28 0x00000000004b9461 in ?? ()
No symbol table info available.
#29 0x00000000004ba2ba in ?? ()
No symbol table info available.
#30 0x00000000004ba54c in ?? ()
No symbol table info available.
#31 0x00000000004babfe in ?? ()
No symbol table info available.
#32 0x00000000004bb19f in PyImport_ImportModuleLevel ()
No symbol table info available.
#33 0x000000000049c869 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#34 0x000000000041d3bd in PyObject_Call ()
No symbol table info available.
#35 0x000000000049cd46 in PyEval_CallObjectWithKeywords ()
No symbol table info available.
#36 0x000000000049faa2 in PyEval_EvalFrameEx ()
No symbol table info available.
#37 0x00000000004a4649 in PyEval_EvalCodeEx ()
No symbol table info available.
#38 0x00000000004a4762 in PyEval_EvalCode ()
No symbol table info available.
#39 0x00000000004b832e in PyImport_ExecCodeModuleEx ()
No symbol table info available.
#40 0x00000000004b9461 in ?? ()
No symbol table info available.
#41 0x00000000004b9cbb in ?? ()
No symbol table info available.
#42 0x00000000004ba2ba in ?? ()
No symbol table info available.
#43 0x00000000004ba54c in ?? ()
No symbol table info available.
#44 0x00000000004babb7 in ?? ()
No symbol table info available.
#45 0x00000000004bb19f in PyImport_ImportModuleLevel ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#46 0x000000000049c869 in ?? ()
No symbol table info available.
#47 0x00000000004a2b03 in PyEval_EvalFrameEx ()
No symbol table info available.
#48 0x00000000004a4649 in PyEval_EvalCodeEx ()
No symbol table info available.
#49 0x00000000004a2cb0 in PyEval_EvalFrameEx ()
No symbol table info available.
#50 0x00000000004a3dae in PyEval_EvalFrameEx ()
No symbol table info available.
#51 0x00000000004a3dae in PyEval_EvalFrameEx ()
No symbol table info available.
#52 0x00000000004a4649 in PyEval_EvalCodeEx ()
No symbol table info available.
#53 0x00000000004a4762 in PyEval_EvalCode ()
No symbol table info available.
#54 0x00000000004c47c5 in PyRun_InteractiveOneFlags ()
No symbol table info available.
#55 0x00000000004c4a3e in PyRun_InteractiveLoopFlags ()
No symbol table info available.
#56 0x00000000004c51fe in PyRun_AnyFileExFlags ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#57 0x00000000004189ce in Py_Main ()
No symbol table info available.
#58 0x00007ffd8a2375a6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#59 0x0000000000417ae9 in _start ()
No symbol table info available.
(gdb) 
(gdb) info registers
rax            0x1	1
rbx            0x73	115
rcx            0x7	7
rdx            0x18	24
rsi            0x7fff9325b8e0	140735662110944
rdi            0x1	1
rbp            0x7ffd876e54e5	0x7ffd876e54e5
rsp            0x7fff9325b868	0x7fff9325b868
r8             0x3	3
r9             0x8	8
r10            0x0	0
r11            0x453810	4536336
r12            0x7ffd876e54e4	140726875608292
r13            0x3e	62
r14            0x7ffd876e54b8	140726875608248
r15            0x7fff9325b8e0	140735662110944
rip            0x7ffd8a299c40	0x7ffd8a299c40 <strlen+16>
eflags         0x10213	[ CF AF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
---Type <return> to continue, or q <return> to quit---
gs             0x0	0
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
mxcsr          0x1fa0	[ PE IM DM ZM OM UM PM ]
(gdb) x/16i $pc
0x7ffd8a299c40 <strlen+16>:	cmpb   $0x0,(%rax)
0x7ffd8a299c43 <strlen+19>:	je     0x7ffd8a299d15 <strlen+229>
0x7ffd8a299c49 <strlen+25>:	inc    %rax
0x7ffd8a299c4c <strlen+28>:	dec    %ecx
0x7ffd8a299c4e <strlen+30>:	jne    0x7ffd8a299c40 <strlen+16>
0x7ffd8a299c50 <strlen+32>:	mov    $0xfefefefefefefeff,%r8
0x7ffd8a299c5a <strlen+42>:	nopw   0x0(%rax,%rax,1)
0x7ffd8a299c60 <strlen+48>:	mov    (%rax),%rcx
0x7ffd8a299c63 <strlen+51>:	add    $0x8,%rax
0x7ffd8a299c67 <strlen+55>:	mov    %r8,%rdx
0x7ffd8a299c6a <strlen+58>:	add    %rcx,%rdx
0x7ffd8a299c6d <strlen+61>:	jae    0x7ffd8a299cd0 <strlen+160>
0x7ffd8a299c6f <strlen+63>:	xor    %rcx,%rdx
0x7ffd8a299c72 <strlen+66>:	or     %r8,%rdx
0x7ffd8a299c75 <strlen+69>:	inc    %rdx
0x7ffd8a299c78 <strlen+72>:	jne    0x7ffd8a299cd0 <strlen+160>
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7ffd8b2406f0 (LWP 17117)):
#0  0x00007ffd8a299c40 in strlen () from /lib/libc.so.6
#1  0x00000000004610fe in PyString_FromFormatV ()
#2  0x00000000004b0ea2 in PyErr_Format ()
#3  0x00007ffd876e2525 in ?? () from /var/lib/python-support/python2.6/sip.so
#4  0x00007ffd839a291a in initpictureflow ()
   from /usr/lib/python2.6/dist-packages/calibre/plugins/pictureflow.so
#5  0x00000000004bbdb7 in _PyImport_LoadDynamicModule ()
#6  0x00000000004ba2ba in ?? ()
#7  0x00000000004ba54c in ?? ()
#8  0x00000000004babb7 in ?? ()
#9  0x00000000004bb19f in PyImport_ImportModuleLevel ()
#10 0x000000000049c869 in ?? ()
#11 0x00000000004a2b03 in PyEval_EvalFrameEx ()
#12 0x00000000004a3dae in PyEval_EvalFrameEx ()
#13 0x00000000004a4649 in PyEval_EvalCodeEx ()
#14 0x00000000004a4762 in PyEval_EvalCode ()
#15 0x00000000004b832e in PyImport_ExecCodeModuleEx ()
#16 0x00000000004b9461 in ?? ()
#17 0x00000000004ba2ba in ?? ()
#18 0x00000000004ba54c in ?? ()
#19 0x00000000004babfe in ?? ()
---Type <return> to continue, or q <return> to quit---
#20 0x00000000004bb19f in PyImport_ImportModuleLevel ()
#21 0x000000000049c869 in ?? ()
#22 0x000000000041d3bd in PyObject_Call ()
#23 0x000000000049cd46 in PyEval_CallObjectWithKeywords ()
#24 0x000000000049faa2 in PyEval_EvalFrameEx ()
#25 0x00000000004a4649 in PyEval_EvalCodeEx ()
#26 0x00000000004a4762 in PyEval_EvalCode ()
#27 0x00000000004b832e in PyImport_ExecCodeModuleEx ()
#28 0x00000000004b9461 in ?? ()
#29 0x00000000004ba2ba in ?? ()
#30 0x00000000004ba54c in ?? ()
#31 0x00000000004babfe in ?? ()
#32 0x00000000004bb19f in PyImport_ImportModuleLevel ()
#33 0x000000000049c869 in ?? ()
#34 0x000000000041d3bd in PyObject_Call ()
#35 0x000000000049cd46 in PyEval_CallObjectWithKeywords ()
#36 0x000000000049faa2 in PyEval_EvalFrameEx ()
#37 0x00000000004a4649 in PyEval_EvalCodeEx ()
#38 0x00000000004a4762 in PyEval_EvalCode ()
#39 0x00000000004b832e in PyImport_ExecCodeModuleEx ()
#40 0x00000000004b9461 in ?? ()
#41 0x00000000004b9cbb in ?? ()
#42 0x00000000004ba2ba in ?? ()
---Type <return> to continue, or q <return> to quit---
#43 0x00000000004ba54c in ?? ()
#44 0x00000000004babb7 in ?? ()
#45 0x00000000004bb19f in PyImport_ImportModuleLevel ()
#46 0x000000000049c869 in ?? ()
#47 0x00000000004a2b03 in PyEval_EvalFrameEx ()
#48 0x00000000004a4649 in PyEval_EvalCodeEx ()
#49 0x00000000004a2cb0 in PyEval_EvalFrameEx ()
#50 0x00000000004a3dae in PyEval_EvalFrameEx ()
#51 0x00000000004a3dae in PyEval_EvalFrameEx ()
#52 0x00000000004a4649 in PyEval_EvalCodeEx ()
#53 0x00000000004a4762 in PyEval_EvalCode ()
#54 0x00000000004c47c5 in PyRun_InteractiveOneFlags ()
#55 0x00000000004c4a3e in PyRun_InteractiveLoopFlags ()
#56 0x00000000004c51fe in PyRun_AnyFileExFlags ()
#57 0x00000000004189ce in Py_Main ()
#58 0x00007ffd8a2375a6 in __libc_start_main () from /lib/libc.so.6
#59 0x0000000000417ae9 in _start ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
antoine at antoine:~$

-- 
calibre, lrfviewer > segment fault
https://bugs.launchpad.net/bugs/431801
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list