* #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug>
@ 2019-04-27 20:13 Jean Louis
2019-04-28 2:29 ` Eli Zaretskii
2019-04-28 9:34 ` Philipp Stephani
0 siblings, 2 replies; 7+ messages in thread
From: Jean Louis @ 2019-04-27 20:13 UTC (permalink / raw)
To: help-gnu-emacs
I was using the module emacs-libpq for months
without problem. Reference:
https://github.com/anse1/emacs-libpq/issues/9
Now I have upgraded to the latest development
version of Emacs and am getting this bug below.
(["tlds_id" "integer" "nextval('tlds_tlds_id_seq'::regclass)" "" 1 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "p" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "ID"] ["tlds_tld" "text" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" 2 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATATYP
E (0x01) Save your buffers immediately and please report this bug> "x
Not even "SELECT 1" I can do without this bug
appearing.
If somebody have a clue, let me know.
Jean
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug>
2019-04-27 20:13 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> Jean Louis
@ 2019-04-28 2:29 ` Eli Zaretskii
2019-04-28 5:14 ` Jean Louis
2019-04-28 8:44 ` Jean Louis
2019-04-28 9:34 ` Philipp Stephani
1 sibling, 2 replies; 7+ messages in thread
From: Eli Zaretskii @ 2019-04-28 2:29 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Sat, 27 Apr 2019 22:13:42 +0200
> From: Jean Louis <bugs@gnu.support>
>
> I was using the module emacs-libpq for months
> without problem. Reference:
> https://github.com/anse1/emacs-libpq/issues/9
>
> Now I have upgraded to the latest development
> version of Emacs and am getting this bug below.
>
> (["tlds_id" "integer" "nextval('tlds_tlds_id_seq'::regclass)" "" 1 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "p" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "ID"] ["tlds_tld" "text" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" 2 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATAT
YPE (0x01) Save your buffers immediately and please report this bug> "x
>
> Not even "SELECT 1" I can do without this bug
> appearing.
>
> If somebody have a clue, let me know.
Did you try recompiling the module against the new emacs-module.h?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug>
2019-04-28 2:29 ` Eli Zaretskii
@ 2019-04-28 5:14 ` Jean Louis
2019-04-28 8:44 ` Jean Louis
1 sibling, 0 replies; 7+ messages in thread
From: Jean Louis @ 2019-04-28 5:14 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
* Eli Zaretskii <eliz@gnu.org> [2019-04-28 04:29]:
> > Date: Sat, 27 Apr 2019 22:13:42 +0200
> > From: Jean Louis <bugs@gnu.support>
> >
> > I was using the module emacs-libpq for months
> > without problem. Reference:
> > https://github.com/anse1/emacs-libpq/issues/9
> >
> > Now I have upgraded to the latest development
> > version of Emacs and am getting this bug below.
> >
> > (["tlds_id" "integer" "nextval('tlds_tlds_id_seq'::regclass)" "" 1 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "p" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "ID"] ["tlds_tld" "text" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" 2 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DAT
ATYPE (0x01) Save your buffers immediately and please report this bug> "x
> >
> > Not even "SELECT 1" I can do without this bug
> > appearing.
> >
> > If somebody have a clue, let me know.
>
> Did you try recompiling the module against the new emacs-module.h?
Header of that module is here:
#include <emacs-module.h>
#include <libpq-fe.h>
#include "pg_type.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
Module emacs-libpq is here:
https://github.com/anse1/emacs-libpq/blob/master/pq.c
I am now trying to checkout some earlier version of Emacs to make it work.
And I found out everything works fine in commit commit
1dff09739346037a588a3b9290800c09a9b3409a from Fri Feb 1 03:01:39 2019
+0300
Commit from March 1st 2019 did not work.
I will now try to move February 14th and let you know.
Jean
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug>
2019-04-28 2:29 ` Eli Zaretskii
2019-04-28 5:14 ` Jean Louis
@ 2019-04-28 8:44 ` Jean Louis
1 sibling, 0 replies; 7+ messages in thread
From: Jean Louis @ 2019-04-28 8:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
The latest commit that works successfully is:
a1c53d4294550380de76d6a6c4e29e9e8f6f9133
as from Tue Apr 16 14:33:24 2019 -0700
The dates after this one mostly segfaults when loading the module emacs-libpq or I get the bug.
I am trying to find some version newer than April 16th.
Jean
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug>
2019-04-27 20:13 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> Jean Louis
2019-04-28 2:29 ` Eli Zaretskii
@ 2019-04-28 9:34 ` Philipp Stephani
2019-04-28 9:46 ` Jean Louis
2019-04-29 5:45 ` Solved - was " Jean Louis
1 sibling, 2 replies; 7+ messages in thread
From: Philipp Stephani @ 2019-04-28 9:34 UTC (permalink / raw)
To: Jean Louis; +Cc: help-gnu-emacs
Am Sa., 27. Apr. 2019 um 22:18 Uhr schrieb Jean Louis <bugs@gnu.support>:
>
> I was using the module emacs-libpq for months
> without problem. Reference:
> https://github.com/anse1/emacs-libpq/issues/9
>
> Now I have upgraded to the latest development
> version of Emacs and am getting this bug below.
>
> (["tlds_id" "integer" "nextval('tlds_tlds_id_seq'::regclass)" "" 1 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "p" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "ID"] ["tlds_tld" "text" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" 2 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "" #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> "x
>
> Not even "SELECT 1" I can do without this bug
> appearing.
>
> If somebody have a clue, let me know.
Can you try running Emacs with the --module-assertions option?
Without investigating in detail, the code at
https://github.com/anse1/emacs-libpq/blob/master/pq.c#L325-L326 is
clearly buggy, see https://phst.eu/emacs-modules#value-lifetime.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-04-29 5:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-27 20:13 #<EMACS BUG: INVALID DATATYPE (0x01) Save your buffers immediately and please report this bug> Jean Louis
2019-04-28 2:29 ` Eli Zaretskii
2019-04-28 5:14 ` Jean Louis
2019-04-28 8:44 ` Jean Louis
2019-04-28 9:34 ` Philipp Stephani
2019-04-28 9:46 ` Jean Louis
2019-04-29 5:45 ` Solved - was " Jean Louis
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.