I'm on a laptop with Mint 18.3 Cinnamon, kernel 4.13, see inxi output at the end of the message.
I have been using texmaker for a long time, as an editor to type Latex documents.
Since the beginning of this week it's crashing. On a single document it crashes randomly after some time. If I work on a document with a \include{} and try to open the corresponding file to be included, it crashes systematically.
I have installed another editor, texstudio and that one works perfectly. However I would like to understand what's going on with texmaker and whether I can fix it, especially as it may be related to another strange thing I have, see later.
When texmaker crashes, I get a message like this in /var/log/syslog:
Code: Select all
texmaker[13180]: segfault at 100000019 ip 00007f176f33da81 sp 00007ffec8192b50 error 4 in libQt5Widgets.so.5.5.1[7f176ef14000+659000]
Code: Select all
traps: texmaker[5322] general protection ip:7f4fa9aa77b1 sp:7fff08ce12e0 error:0 in libQt5Widgets.so.5.5.1[7f4fa967e000+659000]
When I launch texmaker from the terminal, when it crashes I get
Code: Select all
Segmentation fault (core dumped)
Code: Select all
$ sudo file /core
/core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -noliste'
I saw that file a few weeks ago, examined and removed it to see if it would come back, and yes it has come back. Last dump was 3 days ago.
What I tried for fixing texmaker :
- reinstalling texmaker and texmaker-data
- purging-rebooting-reinstalling, several times
- purging nvidia driver, trying on nouveau (still didnt work) and coming back to nvidia
- looked for a new texmaker version on their website, but the .deb are for ubuntu 17.04 and 17.10 and dont want to be installed on my Mint (dependency is not satisfiable: libqt5core5a>=5.7.0)
I looked at building from the source but there is no makefile nor ./configure and I dont code in C so I dont know how to compile the source
What I tried for debugging:
- googled the error messages but didnt find much, the only things were not understandable for me
- installed texmaker on another machine with Mint 18.3 Mate, it works perfectly, I can open and compile docs that crash on the laptop
- boot the laptop on a USB stick with Mint 18.2 Cinnamon installed on it, installed texmaker and it works, upgraded to 18.3 one update by update (rebooting after each) and texmaker kept working all the way (that was a painfully long process...)
- (I probably should have started with this) I logged to another user and launched texmaker and it works perfectly there !
Following the last point, the problem is probably somewhere in my home folder.
There is no .texmaker file or folder in /home/fabien/ , there is a .texmf-var/ but it didnt make any difference when I removed it, so I've put it back.
The ownership of all the .something file or folders in my home is correctly fabien:fabien. I dont know what the permissions should be but nothing strikes me as abnormal.
So in summary, here are the questions I'd like to answer :
- why is texmaker crashing for my user ?
- why do I have a /core dump of the X server from time to time ?
- are these two problems related ?
Thanks for any help
Code: Select all
$ inxi -Fxz
System: Host: fabien-UX310UQK Kernel: 4.13.0-17-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine: System: ASUSTeK (portable) product: UX310UQK v: 1.0
Mobo: ASUSTeK model: UX310UQK v: 1.0
Bios: American Megatrends v: UX310UQK.203 date: 09/07/2016
CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11616
clock speeds: max: 3500 MHz 1: 2900 MHz 2: 2900 MHz 3: 2900 MHz 4: 2900 MHz
Graphics: Card-1: Intel Device 5916 bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.05hz, 1920x1200@59.95hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.13.0-17-generic
Network: Card: Intel Wireless 8260 driver: iwlwifi bus-ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives: HDD Total Size: 1256.3GB (23.1% used)
ID-1: /dev/sda model: ST1000LM035 size: 1000.2GB
ID-2: /dev/sdb model: MTFDDAV256TBN size: 256.1GB
Partition: ID-1: / size: 23G used: 16G (72%) fs: ext4 dev: /dev/sdb2
ID-2: /home size: 96G used: 36G (40%) fs: ext4 dev: /dev/sdb3
ID-3: /var size: 15G used: 4.8G (36%) fs: ext4 dev: /dev/sda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 43.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 231 Uptime: 4:18 Memory: 2587.4/15927.3MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0 Client: Shell (bash 4.3.481) inxi: 2.2.35