You are not logged in.

#1 2017-01-27 10:20:37

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

[SOLVED] TotoiseHg is crashing with a segfault after last update

Hello there!

Yesterday I made a full update with pacman -Syu and then TortoiseHg started to crash:

$ thg --nofork
Segmentation fault (core dumped)

I tried to trace the error but since thg runs with python, the only thing I got was this error message:

$ gdb python
GNU gdb (GDB) 7.12
Copyright (C) 2016 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...(no debugging symbols found)...done.
(gdb) run /usr/bin/thg
Starting program: /usr/bin/python /usr/bin/thg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
  File "/usr/bin/thg", line 31
    print 'starting'
                   ^
SyntaxError: Missing parentheses in call to 'print'
[Inferior 1 (process 7582) exited with code 01]

Any ideas? I tried to uninstall TortoiseHG and install it again from AUR but it seems the release has not changed yet.

Running on Arch 4.8.13-1 x86_64
Toshiba Sattelite Pro, Intel Core i7-6500U, 16Gb RAM

Thank you in advance.

Last edited by cmmps (2017-01-27 15:38:02)


Carlos Santos

Offline

#2 2017-01-27 14:16:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,553

Re: [SOLVED] TotoiseHg is crashing with a segfault after last update

Looks like a python2 script, shouldn't be running it with python3.

That's not the segfault, though.

Last edited by Scimmia (2017-01-27 14:18:07)

Online

#3 2017-01-27 14:44:21

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

Re: [SOLVED] TotoiseHg is crashing with a segfault after last update

It seems it has to do with the some updates... I found new comments on the AUR page and a link for the following bug:
https://bugs.archlinux.org/task/52691

Let's see if I can downgrade the packages that are causing the trouble.


Carlos Santos

Offline

#4 2017-01-27 15:37:15

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

Re: [SOLVED] TotoiseHg is crashing with a segfault after last update

Confirmed... Downgrading packages:
pyqt4-common-4.11.4-5 python-sip-4.18.1-2 python2-pyqt4-4.11.4-5 python2-sip-4.18.1-2 sip-4.18.1-2
Will make TortoiseHg to work again. I hope the bug will be corrected soon.
By now, and since there is a bug opened for this case, I'm going to mark this topic as solved.


Carlos Santos

Offline

Board footer

Powered by FluxBB