#82 Segmentation fault at "window = ReTextWindow()"

4.0-updates
closed
nobody
moreinfo (1)
2014-02-02
2013-05-14
Shaun Hughes
No

Howdy,

I'm having a bit of a problem.

Version 4.01 crashing at "window = ReTextWindow()"

CentOS 6.4 x64
QT 4.8.4
PyQT 4.10.1
Python 3.3.1

tail of "strace -v /usr/local/bin/retext.py" (immediately after inserted print() debugging statement)

brk(0x2714000) = 0x2714000
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{"\2\2\4\0Y\2\0\0\20\0\0\0\1\0\0\0\2\0\4\0Y\2\0\0\0\10\0\0000@@\0"..., 40}, {"XINERAMA", 8}, {"", 0}], 3) = 48
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
recvfrom(8, "\1\0\236\0\0\0\0\0\1\214\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(8, 0x254b034, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(8, 0x254b034, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{"\214\4\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
recvfrom(8, "\1\0\237\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(8, 0x254b034, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(8, 0x254b034, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{"\214\5\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
recvfrom(8, "\1\0\240\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 0, NULL, NULL) = 40
recvfrom(8, 0x254b034, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(8, 0x254b034, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++

from /var/log/messages

Running as normal user
kernel: retext.py[7409]: segfault at 3d00000005 ip 0000003d00000005 sp 00007fffa58f64c8 error 14 in ld-2.12.so[3d57800000+20000]

Tried Running as root:
kernel: retext.py[7465]: segfault at 7200001509 ip 0000007200001509 sp 00007fffdc3411e8 error 14 in libgioremote-volume-monitor.so[7f9126888000+13000]

ldd -r /usr/lib64/gio/modules/libgioremote-volume-monitor.so
linux-vdso.so.1 => (0x00007fffdcfff000)
libgvfscommon.so.0 => /usr/lib64/libgvfscommon.so.0 (0x00007f75bf198000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f75bef57000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f75bed39000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f75beb35000)
librt.so.1 => /lib64/librt.so.1 (0x00007f75be92d000)
libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f75be681000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f75be43c000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f75be239000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f75bdf53000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f75bdd50000)
libc.so.6 => /lib64/libc.so.6 (0x00007f75bd9bd000)
/lib64/ld-linux-x86-64.so.2 (0x0000003d57800000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f75bd7b8000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f75bd59e000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f75bd37f000)

Discussion

  • Thanks for the report, but it would be nice if you could provide a stack trace using gdb (with debug symbols for PyQt4 and Qt4 installed). The only difference with my system is PyQt 4.10.1 instead of 4.10.0, and I can't reproduce it here.

     
  • Shaun Hughes
    Shaun Hughes
    2013-05-21

    Hi Dmitry,

    I removed sip, PyQt, Markups, and ReText, and reinstalled in that same order.

    Now ReText works!

     


Anonymous


Cancel   Add attachments