Opened 13 years ago

Closed 11 years ago

#325 closed Bug Report (fixed)

Patchage crashes when I arrange (Ctrl+G)

Reported by: Ejis Owned by:
Priority: major Component: Patchage
Keywords: crash arrange ctrl g Cc: ejisneos@…

Description

Hi,

when I press Ctrl+G to arrange, Patchage crashes. Here's the error:

aymeric[glibmm]$ patchage
Loading configuration file /home/aymeric/.patchagerc
Unable to load file /home/aymeric/.patchagerc!
Unable to find port to connect
Error: Layout type: "dot" not recognized. Use one of:
Layout was not done

glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_construct NULL not valid

aborting...

Where does it come from? Thanks.

Change History (9)

comment:1 Changed 12 years ago by David Robillard

Your graphviz is horribly broken, it has no layout engines at all?

I need a backtrace

comment:2 Changed 12 years ago by David Robillard

Priority: criticalmajor

comment:3 Changed 12 years ago by Ejis

How can I do the backtrace (sorry)?

Here is the log of graphviz's build. Do you think something's missing in my build? Anyway, Flowcanvas found it.

comment:4 Changed 12 years ago by David Robillard

Run patchage in gdb:

gdb patchage

Then when it crashes, type (in gdb):

thread apply all bt

comment:5 Changed 12 years ago by David Robillard

Oh, to actually run patchage from within gdb use the 'run' command. So:

$ gdb patchage (gdb) run

* Crash *

(gdb) thread apply all bt

comment:7 Changed 12 years ago by David Robillard

You need a debug build.

./waf configure --debug

comment:8 Changed 12 years ago by Ejis

Strange. I rebuilt Patchage with "enable-debug", but the output is the same. Should I rebuild raul and flowcanvas? You wrote the "./waf" command. Does that mean I should build patchage from svn? Are there changes compared to the "official versions"?

comment:9 Changed 11 years ago by David Robillard

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.