View Issue Details

IDProjectCategoryView StatusLast Update
0009179GNUnetmessenger servicepublic2024-09-16 10:19
ReporterEric E Assigned Tothejackimonster  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version0.22.0 
Summary0009179: gnunet-messenger segfaults on entering empty string at prompt.
DescriptionHi,

I've downloaded (http://ftpmirror.gnu.org/gnunet/gnunet-0.22.0.tar.gz) and compiled gnunet 0.22.0 in a systemd-free OS (Devuan).

I tried to connect to another peer using gnunet-messenger, but no messages appear on either peer but that's not the main problem.

Within the messenger prompt, if you type text and press enter, the input is echoed (as expected I guess).
However, if you press enter at the prompt (without entering any text) it segfaults.

Also I have a suggested feature: for logging purposes, can you add a mask to identifiable fields within the log data to protect users privacy?

Thank you for this vital project.

Cheers,
Eric
Steps To Reproduce
@peer1 $ gnunet-arm -s

@peer1 $ gnunet-core --connection-status
< nothing is shown >

Create a room in messenger:

@peer1 $ gnunet-messenger -e <my-identity> -r testroom
* Welcome to the messenger, '<my-identity>'!
* You try to open a room...
...
* You joined the room.
...

@peer2 joins testroom using the command:
$ gnunet-messenger [-e IDENTITY] -d PEERIDENTITY -r ROOMKEY

@peer1
test
[D -> E][F] > '<my-identity>' says: "test"

<press enter without text>

Segmentation fault
Additional Information$ gnunet-bugreport
    INFO: gnunet-bugreport 0.11.0
    INFO:
    INFO: Please submit the following
    INFO: information with your bug report:
    =========================================
    INFO: OS : Linux
    INFO: OS RELEASE : 6.1.0-25-amd64
    INFO: HARDWARE : x86_64
    INFO: awk : Found
    INFO: gcc : gcc (Debian 12.2.0-14) 12.2.0
    INFO: cc : cc (Debian 12.2.0-14) 12.2.0
    INFO: c++ : c++ (Debian 12.2.0-14) 12.2.0
    INFO: clang :
    INFO: clang++ :
    WARNING: make : Not Found (unexpected result)
    INFO: gmake : 4.3
    INFO: autoconf : 2.71
    INFO: automake : 1.16.5
    INFO: libtool : 2.4.7
    INFO: GNUnet : 0.22.0
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    INFO: git commit :
    INFO: libgcrypt : 1.10.1
    INFO: mysql : Not Found
    INFO: pkgconf : 1.8.1
    INFO: pkg-config : 1.8.1
    INFO: glib2 : 2.74.6
    INFO: GTK2 : Not found
    INFO: GTK3 : Not found
    INFO: GTK4 :
    INFO: GMP : libgmp-dev-2:6.2.1+dfsg1-1.1.deb
    INFO: libunistring : libunistring3-dev-1.0-2.deb
    INFO: GNU gettext : 0.21
    INFO: gettext : Found
    INFO: libcurl : 7.88.1
    INFO: libgnurl : Not found
    WARNING: libgnurl or libcurl : Not found
    INFO: libmicrohttpd : 97500
    INFO: GNU GLPK : 5.0
    INFO: GnuTLS : 3.7.9
    =========================================
    INFO: Bug report saved in ./my_gnunet_bugreport.log
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-09-10 14:56 Eric E New Issue
2024-09-16 10:19 schanzen Assigned To => thejackimonster
2024-09-16 10:19 schanzen Status new => assigned