00:14
bvernoux has quit [Quit: Leaving]
02:19
<
awygle >
Aw, I missed the chance to suggest that weird ISO standard for self describing XML datasheets
02:21
sorear has quit [Read error: Connection reset by peer]
02:21
sorear has joined #glasgow
02:22
JimGM0UIN has quit [Ping timeout: 272 seconds]
02:23
sorear has quit [Client Quit]
02:23
<
awygle >
Oh it's IEEE 1451, not ISO
02:23
sorear has joined #glasgow
02:23
JimGM0UIN has joined #glasgow
02:23
<
ebb >
sounds like retro JSON-schema
02:24
<
ebb >
awygle: IEEE 1451 is... "a set of smart transducer interface standards" ?
02:25
<
ebb >
ah, it defines electronic datasheets
02:25
<
awygle >
The XML is actually specifically a space plug and play avionics thing I guess
02:26
<
ebb >
could have been xTENDS -- stick a 'Node' in there
04:44
_whitelogger has joined #glasgow
05:23
emily has quit [Remote host closed the connection]
05:32
emily has joined #glasgow
05:51
<
TD-Linux >
the autobaud applet remains my most used one.
05:51
<
TD-Linux >
so simple but so useful
06:35
_whitenotifier-5 has quit [Ping timeout: 250 seconds]
07:12
Getorix_ has joined #glasgow
07:15
Getorix has quit [Ping timeout: 265 seconds]
08:44
parataxis has quit [Ping timeout: 260 seconds]
09:59
jacob| has joined #glasgow
10:11
_whitenotifier-3 has joined #glasgow
14:54
Exec1N has joined #glasgow
15:01
Exec1N is now known as ExeciN
16:04
parataxis has joined #glasgow
16:44
Stormwind_mobile has quit [Ping timeout: 240 seconds]
16:46
Stormwind_mobile has joined #glasgow
17:21
Stormwind_mobile has quit [Ping timeout: 272 seconds]
17:32
Stormwind_mobile has joined #glasgow
17:57
ExeciN has quit [Ping timeout: 265 seconds]
19:02
<
tnt >
I: g.applet.interface.jtag_probe: manufacturer=0x021 (Lattice Semi.) part=0x1111 version=0x4
19:02
<
tnt >
double free or corruption (!prev)
19:02
<
tnt >
That's interesting :)
19:29
ExeciN has joined #glasgow
21:55
josi98 has joined #glasgow
22:07
ExeciN has quit [Ping timeout: 268 seconds]
22:43
ExeciN has joined #glasgow
22:57
<
whitequark >
is it during applet exit?
22:57
<
whitequark >
or is it in the middle of applet?
22:58
<
tnt >
At applet exit. But ... not every time.
22:59
<
tnt >
And I only ever saw it with that particular applet.
22:59
<
whitequark >
ok, right
22:59
<
whitequark >
there is a race condition in python-libusb1
23:00
<
whitequark >
the thing is that interpreter shutdown garbage collects objects in random order, and a library might find that for example an USB handle is collected before the transfer that needs to be cancelled
23:01
<
whitequark >
this caused various crashes and I should be shutting down USB before quitting in every case now
23:01
<
whitequark >
but maybe there's something else here
23:01
<
whitequark >
actually, can you grab a backtrace/
23:02
<
tnt >
Not sure how useful that is ...
23:03
<
whitequark >
hm wtf
23:03
<
whitequark >
can you get libc debug symbols?
23:04
<
whitequark >
actually, can you just run it under valgrind instead?
23:04
<
whitequark >
that will be more efficient
23:06
<
tnt >
ok, gimme a sec, I need to reconnect everything. (the backtrace I had done previously already ...)
23:07
<
whitequark >
there are only 2 native libs, bitarray and libusb
23:07
<
whitequark >
bitarray is shit and needs to be replaced
23:07
<
whitequark >
but i doubt it's the problem here
23:07
<
whitequark >
or... hm... jtag uses it a lot
23:07
<
whitequark >
so it might be
23:07
<
sorear >
can you test if the handle still exists, or otherwise test if global destruction is active?
23:07
* sorear
remembers similar issues in perl5
23:08
<
whitequark >
sorear: there is a workaround that the python-libusb developer is using
23:08
<
whitequark >
it is extraordinarily labor intensive and hard to test
23:08
<
whitequark >
it works in most cases, but i agree with him that tracking down every single one is probably unrealistic
23:08
<
whitequark >
trying to use ctypes during interpreter shutdown is just fucked
23:09
<
whitequark >
doubly so locking on IO
23:09
<
whitequark >
I'm honestly surprised it works as well as it does, only crashing occasionally
23:13
<
tnt >
It's just not crashing when run under valgrind
23:13
ExeciN has quit [Ping timeout: 268 seconds]
23:14
<
whitequark >
ok well I'm out of ideas
23:14
<
whitequark >
hm, wait, I have one
23:14
<
tnt >
Not really a problem tbh, just wanted to report.
23:15
<
whitequark >
try MALLOC_CHECK_=3 glasgow ...
23:16
<
tnt >
What's that supposed to do ? Still just print the same "free(): invalid pointer" "Aborted" when it crashes.
23:17
<
whitequark >
ok, no ideas then
23:17
<
whitequark >
it's a glibc malloc tunable
23:19
<
tnt >
For some reason it
_much_ less frequent now that a few hours ago ... I must just have been unlucky.