On Fri, Feb 28, 2020 at 4:05 AM YQ Tian <tianyuqiu123...@gmail.com> wrote: > > v8 version 6.8.275.32 > > Hi all! > > > When I upgrade the v8 version, my program crashes. My program statically > links the v8 library and also uses another dynamic library. The dynamic > library will call the dynamic_cast function, to see the crash stack of the > program. The function enters the has_unambiguous_public_base function through > __dynamic_cast Called, right here the program crashes. Upgrading v8, I used > the monolith library instead of multiple previous libraries. Through the > command `nm` I found that the updated v8 has the symbol __dynamic_cast > defined. Can anyone help me understand why monolith has this symbol? What > does the monolith version do? Why does my other dynamic library crash?
The monolithic build includes ICU and that uses dynamic_cast in numerous places. That said, I doubt that's the reason for the crash. Search the group for recently reported crashes. In most cases it's a matter of ensuring both V8 and your own code are compiled with -DV8_COMPRESS_POINTERS. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHQurc9AJYppATmLM198dt-Q62GGUSjek1yXeFvTUcZO_n%3DM%3DQ%40mail.gmail.com.