Fwd: Making JAMin work in 2023 (Segmentation fault)
Daniel Bautista de Cabo <[email protected]> Fri, 5 May 2023 12:45:32 +0100
| Newsgroups | gmane.comp.audio.jamin.devel |
|---|---|
| Message-ID | <CAODubVdSmHc2=p7VmxFTJhfKO5xRyFSWO966FkhYdjOMnXQdWw@mail.gmail.com> |
--===============0763272825368226299== Content-Type: multipart/alternative; boundary="00000000000040969905faf0d4f2" --00000000000040969905faf0d4f2 Content-Type: text/plain; charset="UTF-8" Hi! I don't know where to send this, I hope this works. I had some problems today making JAMin work... I've used it for many years now, but yesterday a lot of software was updated (including GTK+3; I'm using Gentoo BTW) and JAMin started to crash with a Segmentation fault. I'm working on the last git version. In order to compile it, I have to comment the definition of GtkNotebook *l_notebook1 in src/hdeq.h and putting it in src/callbacks.c. The crash is here: Thread 1 "jamin" received signal SIGSEGV, Segmentation fault. 0x0000555555639ec5 in s_history_add (description=0x5555556b7ce0 "Initial state") at state.c:255 255 free(it->data); (gdb) bt #0 0x0000555555639ec5 in s_history_add (description=0x5555556b7ce0 "Initial state") at state.c:255 #1 0x0000555555639e2f in s_clear_history () at state.c:237 #2 0x000055555563275b in main (argc=1, argv=0x7fffffffd808) at main.c:143 I can make it start if I comment the functions s_clear_history() and s_history_add(), and also the line last_state->value[id] = value; in the file src/state.c. Of course, there won't be undo feature (but I don't use it). My GTK version is 3.24.37. My kernel is 6.1.26 (RT sources). I can give any details you need. Thank you in advance. Daniel --00000000000040969905faf0d4f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr"><div>Hi! I don= 't know where to send this, I hope this works.</div><div><br></div>I ha= d some problems today making JAMin work... I've used it for many years = now, but yesterday a lot of software was updated (including GTK+3; I'm = using Gentoo BTW) and JAMin started to crash with a Segmentation fault.<div= ><br></div><div>I'm working on the last git version. In order to compil= e it, I have to comment the definition of=C2=A0GtkNotebook *l_notebook1 in= =C2=A0src/hdeq.h and putting it in=C2=A0src/callbacks.c.</div><div><br></di= v><div>The crash is here:</div><div><br></div><div>Thread 1 "jamin&quo= t; received signal SIGSEGV, Segmentation fault.<br>0x0000555555639ec5 in s_= history_add (description=3D0x5555556b7ce0 "Initial state") at sta= te.c:255<br>255 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fre= e(it->data);<br>(gdb) bt<br>#0 =C2=A00x0000555555639ec5 in s_history_add= (description=3D0x5555556b7ce0 "Initial state") at state.c:255<br= >#1 =C2=A00x0000555555639e2f in s_clear_history () at state.c:237<br>#2 =C2= =A00x000055555563275b in main (argc=3D1, argv=3D0x7fffffffd808) at main.c:1= 43<br></div><div><br></div><div>I can make it start if I comment the functi= ons=C2=A0s_clear_history() and=C2=A0s_history_add(), and also the line=C2= =A0last_state->value[id] =3D value; in the file src/state.c. Of course, = there won't be undo feature (but I don't use it).</div><div><br></d= iv><div>My GTK version is=C2=A03.24.37. My kernel is=C2=A06.1.26 (RT source= s). I can give any details you need.</div><div><br></div><div>Thank you in = advance.</div><div><br></div><div>=C2=A0 Daniel</div><div><br></div></div> </div></div> --00000000000040969905faf0d4f2-- --===============0763272825368226299== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0763272825368226299== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Jamin-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jamin-devel --===============0763272825368226299==--