gwave segmentation fault

Proyecto:Trisquel mini
Versión:7.0
Componente:Code
Categoría:informe de fallo
Prioridad:normal
Asignado:No asignado
Estado:active
Descripción

Problem:
gwave crashes without starting

Expected behaviour:
get gwave running

How to reproduce the problem:
install gwave and run gwave in terminal

Actual behaviour:
gwave outputs "Segmentation fault"

Debugging trace (from cgdb):
(gdb) run
Starting program: /usr/bin/gwave
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0743866 in GC_find_limit_with_bound () from /usr/lib/x86_64-linux-gnu/libgc.so.1

Comments:
No time to try to build from source

Jue, 01/14/2016 - 20:12
Estado:active» closed

> "I have been using gwave for many years and this tool is full of good ideas, thanks to the initial author. Unfortunately, with recent Linux systems, it is impossible even to compile"
from http://www.rvq.fr/linux/gaw.php

> "Gwave doesn’t work on Ubuntu (seg faults all the time) and isn’t on the Fedora repos either."
from https://ashwith.wordpress.com/2010/09/10/circuit-simulation-in-gnulinux-lets-begin/

It seems that gwave no longer works. [EDIT]: Solution: remove gwave from repositories and move to gaw (create a feature request).

gaw seems to include some binary files in the examples directory. Namely:

gaw3-20150228/examples/tm.tr0
gaw3-20150228/examples/S2raw.rawspice
gaw3-20150228/examples/Spice3b.raw
gaw3-20150228/examples/tran_sweep.tr0
gaw3-20150228/examples/Hspiceb.tr0
gaw3-20150228/examples/xbuf646.raw
gaw3-20150228/examples/tran.tr0
gaw3-20150228/examples/Hspiceb1.tr0

There are also some pictures, but I guess that we would need to check for the code to see if these are fake pictures or a way to hide code, I guess. There is also gaw3-20150228/install-sh which states:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

but I don't know if this is important.

This file has a copyright banner, but states no license:

gaw3-20150228/examples/Hspicea.tr0

There is a tar.xz compressed file, but it seems to have no problems.

This is how I did it (not very thorough):

  1. Check header for license (I don't think that people hide sub-licenses within the code, right?)
  2. tar xzf gaw3-20150228.tar.gz
    tar xzf gaw3-20150228/contrib/mkcf-20120928.tar.gz
    find mkcf-20120928/ gaw3-20150228/ -type f -exec grep -li '\(license\|copy\)' {} +|xargs -r less
    # Look for license in header
    
  3. Check if there are binaries
  4. for i in $(find gaw3-20150228/ mkcf-20120928/ -type f); do [[ `file -b $i` =~ "data" ]] && echo "$i"; done

Thanks to lembas (https://trisquel.info/en/users/lembas) for the tip on how to check for free software: https://trisquel.info/en/issues/16493

Jue, 01/14/2016 - 03:10
Estado:closed» active

I don't know if I should close, sorry.

Sáb, 01/16/2016 - 12:10

> Hello,

> I just want to let you know that the code which you provide with gaw may have some non-free issues:
> https://trisquel.info/en/issues/16487

hello Dear Anonymous
Thanks a lot for your spam.

Happy to kwow that you have some existence...

Binaries files in gaw:
If you had read the documentation, you should know about the file formats used
by gaw. Now if these binary files are worrying you, they are not related to
the sofware itsef, even if gaw is able to read files generated by non free
tools.

install-sh is not part of gaw. It comes certainly with autotools

Some fake pictures or a way to hide code...
You are right, it is always possible to have hidden code, but you have to
suspect a lot of code : just a fedora machine...
And I cannot prouve there is not.
And as long you cannot prouve there is, there is not... So please verify,
before accusing.

I forget mkcf
mkcf is a tool to manage the configuration file userprefs.h during
developpement. So this file is a generated file, please verify that there is
not hidden code.
Of course mkcf, is not necessary to compile.

Some sites to visit:
http://without-systemd.org/wiki/index.php/Main_Page
https://fr.wikipedia.org/wiki/Parano%C3%AFa

Good luck and be 200 % free.

Hervé

Lun, 02/22/2016 - 07:40

HAHA! I had written the most polite answer, and then I made a mistake with the keyboard, went back in the browser's history and puff! all gone. Anyway: no worries Hervé. Thank you very much for developing such a nice application. It was not my intention to offend or accuse you of anything in any way. Interesting sites and nice sarcasm, by the way.