[Magic-dev] Re: SegFault on Magic startup
R. Timothy Edwards
tim.edwards at multigig.com
Thu Sep 27 10:35:36 EDT 2007
Dear Stefano,
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1224078544 (LWP 23411)]
> 0xb7f24400 in pthread_cancel () from /lib/tls/i686/cmov/libpthread.so.0
> (gdb) bt
> #0 0xb7f24400 in pthread_cancel () from /lib/tls/i686/cmov/libpthread.so.0
> #1 0x080b1873 in xloop_end ()
> #2 0x080f1591 in MainExit ()
> #3 0x080f1639 in magicMain ()
> #4 0x0804bff2 in main ()
> (gdb)
Thanks for the bug report. I tracked the problem down to an attempt
to cancel a thread that was never created. Because it couldn't find
any technology file, it never created a layout window, and likewise
didn't create the associated thread for capturing X11 events. I have
already corrected the source distribution, and hopefully it will make
its way back into a new debian package.
> I've not used the standard make and make install procedure but i've
> made a debian package using debian utils. I've solved that problem.
> It's not a huge problem, because loading the right tech files magic
> works well. but segfault is quite bad to see.
It sounded like a mismatch between the install location given at the
time of installation vs. the install location compiled into the code
at compile time. I can see this being an issue with pre-compiled
packages. How did you solve the problem?
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: tim.edwards at multigig.com |
| MultiGiG, Inc. | web: http://www.multigig.com |
| 100 Enterprise Way, Suite A-3 | phone: (831) 621-3283 |
| Scotts Valley, CA 95066 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
More information about the magic-dev
mailing list