gtkwave v3.3.58 crashes a lot because libjudy is built wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtkwave (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've used gtkwave for years, and it's been rock solid. However, the version that installs in 14.04.1 LTS crashes at the drop of a hat. From what I can determine from googling this problem, it appears that this issue has been observed before, and it's caused by libjudy being built incorrectly. See this discussion:
https:/
Since this is an LTS, I'm guessing you should fix libjudy and then provide the update so that we can pull in the fixed packages via apt-get.
When starting gtkwave, I see lots of messages like this that I've never seen with any other installation of gtkwave:
JUDYMEM | free to non-malloc'd address 0x60ec900 blocked
JUDYMEM | free to non-malloc'd address 0x60fc920 blocked
JUDYMEM | free to non-malloc'd address 0x610c940 blocked
JUDYMEM | free to non-malloc'd address 0x611c960 blocked
JUDYMEM | free to non-malloc'd address 0x612c980 blocked
JUDYMEM | free to non-malloc'd address 0x613c9a0 blocked
JUDYMEM | free to non-malloc'd address 0x614c9c0 blocked
JUDYMEM | free to non-malloc'd address 0x615c9e0 blocked
JUDYMEM | free to non-malloc'd address 0x616ca00 blocked
Something I do a lot is reload the waveform. These are the sorts of errors I get just before it crashes:
GTKWAVE | Reloading waveform...
*** Error in `gtkwave': double free or corruption (out): 0x0000000001001200 ***
GTKWAVE | Reloading waveform...
*** Error in `gtkwave': munmap_chunk(): invalid pointer: 0x00000000030000d0 ***
>Since this is an LTS, I'm guessing you should fix libjudy and then provide the update so that we
>can pull in the fixed packages via apt-get.
I too want to highlight this. I'm using gtkwave together with ghdl, a free VHDL simulator available via ppa. I've observed this bug since last year, when I upgraded to 14.04LTS from 12.04LTS. Sometimes gtkwave works correct, sometimes I observe the exactly same behaviour as described above...
I would really be more than happy if somebody could fix the broken libjudy... (or provide at least a detailed workaround about how to build libjudy from source so I can do my work. Since I'm not a Linux-Guru, I really have no idea, how to do this...).