
I saw Ted's commit in ChangeLog, so I was excited to try the latest CVS. But after building it I found that it crashes immediately on startup.
Starting program: /usr/local/bin/inkscape [Thread debugging using libthread_db enabled] [New Thread -1223991168 (LWP 9511)]
** (inkscape:9511): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed
** (inkscape:9511): CRITICAL **: Inkscape::Extension::Extension* Inkscape::Extension::build_from_reprdoc(Inkscape::XML::Document*, Inkscape::Extension::Implementation::Implementation*): assertion `doc != NULL' failed
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1223991168 (LWP 9511)] releaseInkscape::XML::Document (r=0x0) at gc-anchored.h:57 57 if (!--_anchor->refcount) {
Aaron Spike

Quoting aaron@...749...:
** (inkscape:9511): CRITICAL **: Inkscape::Extension::Extension* Inkscape::Extension::build_from_reprdoc(Inkscape::XML::Document*, Inkscape::Extension::Implementation::Implementation*): assertion `doc != NULL' failed
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1223991168 (LWP 9511)] releaseInkscape::XML::Document (r=0x0) at gc-anchored.h:57 57 if (!--_anchor->refcount) {
This is indicative of calling release() on a NULL pointer, or on an object whose refcount is already 0.
[ Probably the former, given the immediately preceding doc != NULL assertion failure. ]
A backtrace of the crash would be helpful to diagnose it in more detail.
-mental

mental@...3... wrote:
A backtrace of the crash would be helpful to diagnose it in more detail.
Sorry, I thought that was a backtrace.
(gdb) bt #0 releaseInkscape::XML::Document (r=0x0) at gc-anchored.h:57 #1 0x083771ea in Inkscape::Extension::build_from_file ( filename=0x85a9500 "/usr/local/share/inkscape/extensions/wavy.inx") at extension/system.cpp:459 #2 0x08374014 in build_module_from_dir (dirname=0x85941e0 "") at extension/init.cpp:198 #3 0x08373cab in Inkscape::Extension::init () at basic_string.h:717 #4 0x0811e76c in inkscape_application_init (argv0=0x0, use_gui=0) at inkscape.cpp:579 #5 0x08114dba in sp_main_gui (argc=1, argv=0xbffff9c4) at main.cpp:424 #6 0x081eaacb in Inkscape::NSApplication::Application::run (this=0xffffffff) at application/application.cpp:132 #7 0x08114961 in main (argc=1, argv=0xbffff9c4) at main.cpp:321
Aaron Spike

aaron@...749... wrote:
#1 0x083771ea in Inkscape::Extension::build_from_file ( filename=0x85a9500 "/usr/local/share/inkscape/extensions/wavy.inx") at extension/system.cpp:459
I had put an extension in ~/.inkscape/extensions so that I could see when it started to work. Inkscape appears to be looking for it somewhere else. When I remove it everything works as normal. And the parameter input dialog looks wonderful. I can't wait till it works.
Now that I have a clue why, I filed a bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1181188&gro...
Thanks, Aaron Spike
participants (1)
-
unknown@example.com