#34520: dia crashes on start ----------------------------------+----------------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: segfault | Port: dia ----------------------------------+----------------------------------------- With a freshly installed MacPorts on MacOS 10.7.4 with Xcode 4.3.2, do
sudo port install dia then launch dia A window appears for a short while before the program crashes with Segmentation fault: 11
Running it with gdb gives Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x000000007a950f48 0x00007fff94df91ec in flockfile () (gdb) bt #0 0x00007fff94df91ec in flockfile () #1 0x00007fff94daeb23 in fread () #2 0x00000001034901d5 in shape_typeinfo_load () #3 0x0000000103494031 in load_shapes_from_tree () #4 0x0000000103493f95 in load_shapes_from_tree () #5 0x0000000103493f32 in dia_plugin_init () #6 0x00000001000c8a34 in dia_plugin_load () #7 0x00000001000c8dfa in dia_register_plugin () #8 0x00000001000c8f29 in for_each_in_dir () #9 0x00000001000c9112 in dia_register_plugins () #10 0x00000001000105d5 in app_init () #11 0x000000010003a539 in main () -- Ticket URL: <https://trac.macports.org/ticket/34520> MacPorts <http://www.macports.org/> Ports system for Mac OS