Re: netdde translator crashing

2021-04-16 Thread Joooo Pedro Malhado
Hello Samuel, On Thu, Apr 15, 2021 at 09:12:52PM +0200, Samuel Thibault wrote: > João Pedro Malhado, le jeu. 15 avril 2021 10:44:02 +0200, a ecrit: > So in the end it wasn't a good idea to run machdev_trivfs_server > in a separate thread, that completely confuses the dde stack about > thread-local

Re: netdde translator crashing

2021-04-15 Thread Samuel Thibault
João Pedro Malhado, le jeu. 15 avril 2021 10:44:02 +0200, a ecrit: > OK, here it goes. > Thread 8 (process 7): > warning: Unexpected size of section `.reg2/7' in core file. > #0 0x08187f26 in ddekit_thread_get_my_data () at ../../libddekit/thread.c:148 > No locals. Ok, that's much clearer :) So

Re: netdde translator crashing

2021-04-15 Thread João Pedro Malhado
On Thu, Apr 15, 2021 at 10:15:30AM +0200, Samuel Thibault wrote: > João Pedro Malhado, le jeu. 15 avril 2021 09:56:06 +0200, a ecrit: > > On Thu, Apr 15, 2021 at 12:08:40AM +0200, Samuel Thibault wrote: > > > Alternatively, you can try to use a static version, that gdb should be > > > fine with: >

Re: netdde translator crashing

2021-04-15 Thread Samuel Thibault
João Pedro Malhado, le jeu. 15 avril 2021 09:56:06 +0200, a ecrit: > On Thu, Apr 15, 2021 at 12:08:40AM +0200, Samuel Thibault wrote: > > Ok, I have no idea why it can't load the shared libraries symbols, since > > that just works for simple use cases. > > > > Alternatively, you can try to use a s

Re: netdde translator crashing

2021-04-15 Thread João Pedro Malhado
On Thu, Apr 15, 2021 at 12:08:40AM +0200, Samuel Thibault wrote: > Ok, I have no idea why it can't load the shared libraries symbols, since > that just works for simple use cases. > > Alternatively, you can try to use a static version, that gdb should be > fine with: Ok, thanks. Follows the backt

Re: netdde translator crashing

2021-04-14 Thread Samuel Thibault
João Pedro Malhado, le mer. 14 avril 2021 15:35:05 +0200, a ecrit: > On Wed, Apr 14, 2021 at 12:01:01AM +0200, Samuel Thibault wrote: > > João Pedro Malhado, le mar. 13 avril 2021 23:17:29 +0200, a ecrit: > > > Core was generated by `/hurd/netdde'. > > > > Right. > > > > What does > > > > info

Re: netdde translator crashing

2021-04-14 Thread João Pedro Malhado
On Wed, Apr 14, 2021 at 12:01:01AM +0200, Samuel Thibault wrote: > João Pedro Malhado, le mar. 13 avril 2021 23:17:29 +0200, a ecrit: > > Core was generated by `/hurd/netdde'. > > Right. > > What does > > info files > > say? Ok, this is attached. > > In any case I have regenerated the core

Re: netdde translator crashing

2021-04-13 Thread Samuel Thibault
João Pedro Malhado, le mar. 13 avril 2021 23:17:29 +0200, a ecrit: > On Tue, Apr 13, 2021 at 10:59:20PM +0200, Samuel Thibault wrote: > > João Pedro Malhado, le mar. 13 avril 2021 22:13:43 +0200, a ecrit: > > > So after installing the debug symbols packages you indicated, I'm getting > > > exactly

Re: netdde translator crashing

2021-04-13 Thread João Pedro Malhado
On Tue, Apr 13, 2021 at 10:59:20PM +0200, Samuel Thibault wrote: > Make sure that you > remove the previous core file, then use settrans -a, then see the > resulting core file. To avoid confusion, and in case it is relevant, /hurd/netdde crashes not when the settrans -a command is issued, but when

Re: netdde translator crashing

2021-04-13 Thread João Pedro Malhado
On Tue, Apr 13, 2021 at 10:59:20PM +0200, Samuel Thibault wrote: > João Pedro Malhado, le mar. 13 avril 2021 22:13:43 +0200, a ecrit: > > So after installing the debug symbols packages you indicated, I'm getting > > exactly the same output from gdb as before. > > Ok, so you have > > warning: core

Re: netdde translator crashing

2021-04-13 Thread Samuel Thibault
João Pedro Malhado, le mar. 13 avril 2021 22:13:43 +0200, a ecrit: > So after installing the debug symbols packages you indicated, I'm getting > exactly the same output from gdb as before. Ok, so you have warning: core file may not match specified executable file. ? That means it's probably not

Re: netdde translator crashing

2021-04-13 Thread João Pedro Malhado
Hello Samuel, So after installing the debug symbols packages you indicated, I'm getting exactly the same output from gdb as before. Running in gdb info sharedlibrary gives "No shared libraries loaded at this time." The output of ldd /hurd/netdde is libmachdevdde.so.0.3 => /lib/i386-gnu/libm

Re: netdde translator crashing

2021-04-13 Thread Samuel Thibault
João Pedro Malhado, le mar. 13 avril 2021 16:04:49 +0100, a ecrit: > with the core file. Any way to make this useful? > #0 0x010a269c in ?? () > [Current thread is 1 (process 672)] > #0 0x010a269c in ?? () You also need the debugging symbols for a core file to be of any use. I.e. the hurd-dbgs

Re: netdde translator crashing

2021-04-13 Thread João Pedro Malhado
In-reply-to: <20210412174722.ngy45hnkchfzw2dm@begin[1]> Hello Samuel, On Mon, Apr 12, 2021 at 07:47:22PM +0200, Samuel Thibault wrote: > João Pedro Malhado, le lun. 12 avril 2021 19:25:30 +0200, a ecrit: > > > > On Mon, Apr 12, 2021 at 06:29:44PM +0200, Samuel Thibault wrote: > > > João

Re: netdde translator crashing

2021-04-12 Thread Samuel Thibault
João Pedro Malhado, le lun. 12 avril 2021 19:25:30 +0200, a ecrit: > Hello Samuel, > > On Mon, Apr 12, 2021 at 06:29:44PM +0200, Samuel Thibault wrote: > > João Pedro Malhado, le lun. 12 avril 2021 17:57:52 +0200, a ecrit: > > > /hurd/crash: /hurd/netdde(919) crashed, signal {no:11, code:2, erro

Re: netdde translator crashing

2021-04-12 Thread João Pedro Malhado
Hello Samuel, On Mon, Apr 12, 2021 at 06:29:44PM +0200, Samuel Thibault wrote: > João Pedro Malhado, le lun. 12 avril 2021 17:57:52 +0200, a ecrit: > > /hurd/crash: /hurd/netdde(919) crashed, signal {no:11, code:2, error:2}, > > exception {1, code:2, subcode:12}, PCs: {0x10a269c, 0x10a269c, 0x1

Re: netdde translator crashing

2021-04-12 Thread Samuel Thibault
João Pedro Malhado, le lun. 12 avril 2021 17:57:52 +0200, a ecrit: > I have installed the hurd recently, and while installation with the latest iso > images worked great, the network is not working now with the current sid > versions > of the hurd (1:0.9.git20210404-2) and netdde (0.0.20200330-8).

Re: netdde translator crashing

2021-04-12 Thread Samuel Thibault
João Pedro Malhado, le lun. 12 avril 2021 17:57:52 +0200, a ecrit: > /hurd/crash: /hurd/netdde(919) crashed, signal {no:11, code:2, error:2}, > exception {1, code:2, subcode:12}, PCs: {0x10a269c, 0x10a269c, 0x10c6e14, > 0x10c6e14, 0x10c6e14, 0x10c6e14, 0x10c6e14, 0x10a269c, 0x1042194}, writing > c

netdde translator crashing

2021-04-12 Thread João Pedro Malhado
Hello everyone, I have installed the hurd recently, and while installation with the latest iso images worked great, the network is not working now with the current sid versions of the hurd (1:0.9.git20210404-2) and netdde (0.0.20200330-8). When trying to get the device up I'm getting the error: