>>> >> Is it possible that the Buffer is being *copied* somewhere in the >> mouse code? Since this is checking for the same address, that would do >> it. > >When it crashes the Inset::buffer_ is 0. Unfortunately, I have >not been able to find out what inset this is. Try to uncomment >the assertion and use gdb, it is funny. > >Note that this only happens with math insets, not other ones, >so it is probably a real bug that was uncovered by the assertion.
If Inset::buffer_ is 0, then you'd expect an assert in Inset::buffer() So, if we get an assert in Inset::dispatch, it comes from cur.buffer() ... >Jmarc Vincent