gnome-ring receives SIGSEGV on filling the optional "Public account name" form field.
Issue generated from Tuleap's migration script. Originally submitted by: François de Mareschal (fanf22)
Environment
$ lscpu
Architecture : x86\_64
Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
Boutisme : Little Endian
Processeur(s) : 4
Liste de processeur(s) en ligne : 0-3
Thread(s) par cœur : 2
Cœur(s) par socket : 2
Socket(s) : 1
Nœud(s) NUMA : 1
Identifiant constructeur : GenuineIntel
Famille de processeur : 6
Modèle : 60
Nom de modèle : Intel(R) Core(TM) i5-4200H CPU @ 2.80GHz
Révision : 3
Vitesse du processeur en MHz : 1197.379
Vitesse maximale du processeur en MHz : 3400,0000
Vitesse minimale du processeur en MHz : 800,0000
BogoMIPS : 5586.95
Virtualisation : VT-x
Cache L1d : 32K
Cache L1i : 32K
Cache L2 : 256K
Cache L3 : 3072K
Nœud NUMA 0 de processeur(s) : 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant\_tsc arch\_perfmon pebs bts rep\_good nopl xtopology nonstop\_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds\_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4\_1 sse4\_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf\_lm abm cpuid\_fault epb invpcid\_single pti tpr\_shadow vnmi flexpriority ept vpid fsgsbase tsc\_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
$ cat /proc/meminfo
MemTotal: 3960684 kB
MemFree: 338428 kB
MemAvailable: 1775660 kB
Buffers: 86636 kB
Cached: 1232860 kB
SwapCached: 0 kB
Active: 2044148 kB
Inactive: 1326216 kB
Active(anon): 1491792 kB
Inactive(anon): 283396 kB
Active(file): 552356 kB
Inactive(file): 1042820 kB
Unevictable: 64 kB
Mlocked: 64 kB
SwapTotal: 2244604 kB
SwapFree: 2244604 kB
Dirty: 14044 kB
Writeback: 0 kB
AnonPages: 1850888 kB
Mapped: 415688 kB
Shmem: 178788 kB
Slab: 129876 kB
SReclaimable: 92000 kB
SUnreclaim: 37876 kB
KernelStack: 7424 kB
PageTables: 29912 kB
NFS\_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4224944 kB
Committed\_AS: 5656392 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 315392 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
HugePages\_Total: 0
HugePages\_Free: 0
HugePages\_Rsvd: 0
HugePages\_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 173176 kB
DirectMap2M: 3938304 kB
DirectMap1G: 0 kB
$ uname -a
Linux debian-msi-fanf 4.14.0-0.bpo.3-amd64 \#1 SMP Debian 4.14.13-1\~bpo9+1 (2018-01-14) x86\_64 GNU/Linux
$ apt-cache policy ring \# This shows the Debian package version.
ring:
Installé : 20180323.1.cbff567\~dfsg1-1
Candidat : 20180323.1.cbff567\~dfsg1-1
Table de version :
\*\*\* 20180323.1.cbff567\~dfsg1-1 500
500 https://dl.ring.cx/ring-nightly/debian\_9 ring/main amd64 Packages
100 /var/lib/dpkg/status
20171129.2.cf5bbff\~ds1-1\~bpo9+2 100
100 http://httpredir.debian.org/debian stretch-backports/main amd64 Packages
20161221.2.7bd7d91\~dfsg1-1 500
500 http://httpredir.debian.org/debian stretch/main amd64 Packages
I can provide you a dmesg, perhaps it will be useful ? Tell me !
How-to-reproduce
- Run ring.cx ; in my case, my windows manager is i3, but the script runs gnome-ring.
- Click on the button "Create a Ring account".
- Check the checkbox "Register a public account name (optional)".
- Select the form field just below.
- Type at least one character.
Expected result
gnome-ring should verify via an API call (I guess, I am currently too tired to sink in the code, I am really sorry) if the public account name already exists, and displaying a message according to this verification.
Actual result
gnome-ring crashes by receiving SIGSEGV on Account::nameServiceURL() method call.
Comments
Since the application is built on release mode, I think the coredump won't be so useful. Nevertheless, I am available if you want more detailed informations.
Finally, it appears the coredump is too big to be attached with the report, I'll transmit it by another way if needed.