Help: [132.850 fatal src/main.cpp:45] Fatal signal 6.

I made a few changes to my sequencer and then rack started crashing. when I deleted the plugin from .Rack it was ok. loaded ol patch. make install, now it loads ok but crashes whenever I right click on rack to select modules.

[132.850 fatal src/main.cpp:45] Fatal signal 6.

please help !

tail of log

21: /home/bill/Desktop/Rack/Rack() [0x56d2b1]
20: /lib/x86_64-linux-gnu/libc.so.6(+0x3f040) [0x7f42a6698040]
19: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f42a6697fb7]
18: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f42a6699921]
17: /lib/x86_64-linux-gnu/libc.so.6(+0x3048a) [0x7f42a668948a]
16: /lib/x86_64-linux-gnu/libc.so.6(+0x30502) [0x7f42a6689502]
15: /home/bill/Desktop/Rack/Rack(_ZN4rack3app12ModuleWidget9addOutputEPNS0_10PortWidgetE+0xa8) [0x5a598e]
14: /home/bill/.Rack/plugins-v1/Borg/plugin.so(_ZN9AS1WidgetC2EP3AS1+0x122b) [0x7f429768d9df]
13: /home/bill/.Rack/plugins-v1/Borg/plugin.so(_ZZN4rack11createModelI3AS19AS1WidgetEEPNS_6plugin5ModelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEN6TModel22createModuleWidgetNullEv+0x20) [0x7f42976953fa]
12: /home/bill/Desktop/Rack/Rack(_ZN4rack3app8ModelBox4drawERKNS_6widget6Widget8DrawArgsE+0x28c) [0x59a944]
11: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
10: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
9: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
8: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
7: /home/bill/Desktop/Rack/Rack(_ZN4rack2ui12ScrollWidget4drawERKNS_6widget6Widget8DrawArgsE+0x33) [0x5750ed]
6: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
5: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
4: /home/bill/Desktop/Rack/Rack(_ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE+0x1ce) [0x5b4bda]
3: /home/bill/Desktop/Rack/Rack(_ZN4rack6Window3runEv+0x698) [0x5665da]
2: /home/bill/Desktop/Rack/Rack(main+0x448) [0x4e6298]
1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f42a667abf7]
0: /home/bill/Desktop/Rack/Rack(_start+0x29) [0x4eb1f9]

Double check your use of the module pointer in your widget code.The browser doesn’t create a module so if you have something like module->xxxin your widget you need to make sure module is not null first.

2 Likes

Use the debugger.

1 Like

I was afraid that the Borg had assimilated my code but I had copied and edited some code, and got my input crossed with my output, and was trying to create input on a port that was beyond the range of the input ports.

I will have to learn how to use the debugger

yep, I do that all the time…

ModuleWidget9addOutputEPNS0_10PortWidget

this line in log was very helpful. said it was an output port and # 10

thanks everyone for the support.