William Grant wrote:
> After using gdb on the core dump, there is code preventing this crash,
> like so:
> 
> 1291        if( !X11_ipc ) {
> 1292                fprintf(stderr, "(X11_make_palette) 0 == X11_ipc\n");
> 1293                return -1;
> 1294            }
> 1295        
> 1296        fprintf( X11_ipc, "%c %c %c %c %d\n",
> 
> The problem here is that X11_ipc is null, so fprintf segfaults...
> However, surely line 1291 should have caught that? Apparently not...

... except that it's SIGBUS, not SIGSEGV. Silly me.

-- 
Crash is called: Bus error (core dumped)
https://launchpad.net/bugs/80828

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to