00:00
tpb has joined #symbiflow
02:53
mzyn22 has joined #symbiflow
02:56
mzyn22 has left #symbiflow [#symbiflow]
03:07
citypw has joined #symbiflow
06:10
Bertl_zZ is now known as Bertl
06:20
OmniMancer has joined #symbiflow
10:59
_whitelogger has joined #symbiflow
11:31
OmniMancer has quit [Read error: Connection reset by peer]
12:08
Bertl is now known as Bertl_oO
12:11
freemint has quit [Ping timeout: 245 seconds]
13:12
freemint has joined #symbiflow
13:13
craigo has quit [Ping timeout: 265 seconds]
14:13
freemint has quit [Remote host closed the connection]
14:13
freeemint has joined #symbiflow
14:18
galv[m] has quit [Remote host closed the connection]
14:18
lromor[m] has quit [Remote host closed the connection]
14:18
xobs has quit [Read error: Connection reset by peer]
14:19
synaption[m] has quit [Read error: Connection reset by peer]
14:19
mrhat2010[m] has quit [Read error: Connection reset by peer]
14:19
hzeller[m] has quit [Read error: Connection reset by peer]
14:19
zeigren has quit [Read error: Connection reset by peer]
14:19
nrossi has quit [Read error: Connection reset by peer]
14:19
alexhw[m] has quit [Remote host closed the connection]
14:33
alexhw has quit [Remote host closed the connection]
15:17
alexhw has joined #symbiflow
15:20
alexhw has quit [Remote host closed the connection]
16:01
citypw has quit [Ping timeout: 240 seconds]
16:03
Bertl_oO is now known as Bertl
16:33
nrossi has joined #symbiflow
17:13
alexhw[m] has joined #symbiflow
17:13
hzeller[m] has joined #symbiflow
17:13
xobs has joined #symbiflow
17:13
synaption[m] has joined #symbiflow
17:13
zeigren has joined #symbiflow
17:13
galv[m] has joined #symbiflow
17:13
lromor[m] has joined #symbiflow
17:13
mrhat2010[m] has joined #symbiflow
17:35
freeemint has quit [Remote host closed the connection]
17:35
freeemint has joined #symbiflow
17:57
<
tpb >
Title: GitHub - SymbiFlow/vtr-verilog-to-routing: SymbiFlow WIP changes for Verilog to Routing -- Open Source CAD Flow for FPGA Research (at github.com)
17:57
<
litghost >
mkurc: We cannot predict when Kevin or another VTR dev will be able to merge that PR
18:34
freeemint has quit [Ping timeout: 246 seconds]
19:08
<
sf-slack >
<mkurc> @litghost Sure, I'll address your review and then create the wip/ branch.
19:19
freeemint has joined #symbiflow
19:44
freeemint has quit [Ping timeout: 245 seconds]
19:44
freeemint has joined #symbiflow
19:55
freeemint has quit [Remote host closed the connection]
19:55
freeemint has joined #symbiflow
20:34
adjtm_ has joined #symbiflow
20:36
adjtm has quit [Ping timeout: 276 seconds]
20:45
Bertl is now known as Bertl_zZ
20:55
craigo has joined #symbiflow
21:36
freeemint has quit [Ping timeout: 245 seconds]
21:52
<
tpb >
Title: Bug #1570388 “Serialisation error when writing a large file (> 2...” : Bugs : lxml (at bugs.launchpad.net)
21:54
<
litghost >
If that is the issue, it was reported 3 years ago, and got absolutely no updates
21:56
<
litghost >
However it does seem like it has a good chance of matching our issue
21:57
<
litghost >
I'm trying their replication now to see if it fails in the same way
21:57
<
litghost >
I'm working on getting usan/asan/etc to run against libxml2/libxslt and see what (if anything) crops up
21:57
<
tpb >
Title: Bug 796192 libxml2, xml file reader issue when file size is greater than 2GB (at bugzilla.gnome.org)
21:58
<
litghost >
hackerfoo: Yes, which makes finding the bug more "exciting"
21:59
<
litghost >
hackerfoo: The bug could exist in lxml, libxml2, or be an exciting combination !!!
22:02
<
hackerfoo >
It could still be in our code, too.
22:06
<
tpb >
Title: Bug #1570388 “Serialisation error when writing a large file (> 2...” : Bugs : lxml (at bugs.launchpad.net)
22:07
<
litghost >
Like exact same symptom and everything
22:08
<
litghost >
Now it is possible that they (openpyxl) have the same bug we do, but that feels unlikely
22:09
<
hackerfoo >
Well, now we have code to reproduce the bug.
22:12
<
litghost >
Kind of, it's still intermixed with openpyxl, so it is no better per say than what we have
22:12
<
litghost >
A straight forward large loop didn't replicate
22:17
freeemint has joined #symbiflow
22:21
<
duck2 >
did we upgrade to a >2.5gb xml file? :D
22:22
<
litghost >
~3.8 GB :D
22:22
freeemint has quit [Ping timeout: 250 seconds]
22:56
<
litghost >
I found the libxml2 bug, and it super stupid
23:01
<
hackerfoo >
What was it?
23:01
<
litghost >
int written ... written += bytes_write_last_call ... if (written < 0) error
23:01
<
litghost >
e.g. what we expected
23:02
<
litghost >
libxml2 is totally misusing int (versus size_t/ssize_t)
23:03
<
hackerfoo >
I wonder if Clang or GCC has a warning for that (casting size_t/ssize_t to int.)
23:06
<
litghost >
hackerfoo: It does not, but "-fsanitize=undefined" with clang produced:
23:06
<
litghost >
xmlIO.c:3416:19: runtime error: signed integer overflow: 2147481777 + 4000 cannot be represented in type 'int'
23:06
<
litghost >
e.g. overflowing written
23:07
<
hackerfoo >
So can we use the whole 50T now?
23:08
<
litghost >
I'm working on a patch, but I believe there was never actually a problem in the output, except that the written counter overflowed
23:08
<
litghost >
And this is why size_t and ssize_t should always be used over int
23:09
<
duck2 >
so it's why it occurs when the file is >2gb
23:09
<
litghost >
We suspected it was a 32-bit overflow issue, but the question was where
23:33
freeemint has joined #symbiflow
23:57
alainmarcel has joined #symbiflow
23:59
tpb has quit [Remote host closed the connection]