I ran it with gdb, it looks like it crashed in SSL_library_init(). I also ran ldd on node 0.6.19 and saw that libssl & crypto are shown there, yet in node 0.8.0 they are not linked -- does node 0.8.0 rely on external modules for ssl support?
On Mon, Jun 25, 2012 at 3:47 PM, Ben Noordhuis <i...@bnoordhuis.nl> wrote: > On Tue, Jun 26, 2012 at 12:41 AM, Dean Mao <dean...@gmail.com> wrote: > > I have a binary module using Qt & Webkit that works fine in 0.6.19, but > when > > I tried 0.8.0 today, it segfaulted. I was able to narrow it down to one > > line of code that seems to be the issue: > > > > qwebpage.mainFrame()->setUrl(QUrl("http://www.google.com")); > > > > Strangely, it works if the url is "about:blank" but fails on a real > url... > > maybe something in the webkit code that differs, but I'm not sure why > using > > 0.8.0 would be problematic as this code is unaffiliated with node. I'm > > guessing that loading a real webpage causes some library in Qt to load > that > > conflicts with something in 0.8.0's v8 system. How can I debug this > > further? > > I'd start with compiling a debug build and running it through gdb. >