Asking questions the wrong way? (was segmentation fault with openoffice after auto-login)

Reto Bachmann-Gmür reto at gmuer.ch
Mon Jun 20 13:47:29 UTC 2005


I installed openoffice 1.9 and I have the identical problem. I tried
disabling auto-login and found out that the problem occurs on the first
login independently on whether it is manual or automatic.

The problem disappears after I gave all "User privileges" in the "Users
and Groups"-control-panel to the user that have to start openoffice. I
didn't yet try to remove privileges to find out what exactly is needed.

still, I have no explanation why -without privileges- it works from the
second login but not on the first.

reto

Am Montag, den 13.06.2005, 17:38 +0200 schrieb Reto Bachmann-Gmuer:
> hmm, strange, for me the symptoms where exactly the same before doing
> the package update (just vanilla installation from cd) and after
> updating the packages.
> 
> reto
> 
> Am Montag, den 13.06.2005, 12:37 +0200 schrieb Tobias Cloete:
> > Did the same thing, yet after I did a package upgrade.
> > 
> > Oo. No working.. oops.
> > 
> > Well, have to reinstall again..
> > 
> > -----Original Message-----
> > From: Reto Bachmann-Gmuer [mailto:reto at gmuer.ch] 
> > Sent: 13 June 2005 12:02 PM
> > To: Ubuntu Help and User Discussions
> > Subject: Asking questions the wrong way? (was segmentation fault with
> > openoffice after auto-login)
> > 
> > Hello
> > 
> > Wondering if I'm asking questions the wrong way since I got no reply on
> > this very friendly and active list.
> > 
> > In between I did the following
> > - set up hoary again from CD
> > - logged in -> oo works
> > - set the one and only user as auto-login user, reboot --> oo works
> > - created a second user (just entering username and passord, using
> > default permission), set this user as auto login user, reboot --> oo
> > doesn't start, segmentation fault
> > - log out, log in again as the second user --> oo works
> > 
> > reto
> > 
> > Am Mittwoch, den 08.06.2005, 16:15 +0200 schrieb Reto Bachmann-Gmuer:
> > > Hello
> > > 
> > > I've set up ubuntu to automatically log-in a user. Only this user, and
> > > only after auto-login cannot start openoffice but gets the message
> > > "Segmentation fault". I've run "strace oowriter" the end of the output
> > > is below.
> > > 
> > > When the user logs out and in again open office works without problem.
> > > 
> > > Cheers,
> > > reto
> > > 
> > > strace oowriter:
> > > open("libGL.so.1", O_RDONLY)            = -1 ENOENT (No such file or
> > > directory)
> > > open("/etc/ld.so.cache", O_RDONLY)      = 9
> > > fstat64(9, {st_mode=S_IFREG|0644, st_size=36663, ...}) = 0
> > > old_mmap(NULL, 36663, PROT_READ, MAP_PRIVATE, 9, 0) = 0xb5967000
> > > close(9)                                = 0
> > > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > > directory)
> > > open("/usr/X11R6/lib/libGL.so.1", O_RDONLY) = 9
> > > read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\236\1"...,
> > > 512) = 512
> > > fstat64(9, {st_mode=S_IFREG|0644, st_size=413376, ...}) = 0
> > > old_mmap(NULL, 421572, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) =
> > > 0xb5900000
> > > old_mmap(0xb595a000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC,
> > > MAP_PRIVATE|MAP_FIXED, 9, 0x59000) = 0xb595a000
> > > old_mmap(0xb5966000, 3780, PROT_READ|PROT_WRITE|PROT_EXEC,
> > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5966000
> > > close(9)                                = 0
> > > open("/usr/lib/openoffice/program/libXxf86vm.so.1", O_RDONLY) = -1
> > > ENOENT (No such file or directory)
> > > open("tls/i686/mmx/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No
> > > such file or directory)
> > > open("tls/i686/mmx/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such
> > > file or directory)
> > > open("tls/i686/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such
> > > file or directory)
> > > open("tls/i686/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file
> > > or directory)
> > > open("tls/mmx/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such
> > > file or directory)
> > > open("tls/mmx/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file or
> > > directory)
> > > open("tls/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file
> > > or directory)
> > > open("tls/libXxf86vm.so.1", O_RDONLY)   = -1 ENOENT (No such file or
> > > directory)
> > > open("i686/mmx/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such
> > > file or directory)
> > > open("i686/mmx/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file
> > > or directory)
> > > open("i686/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file
> > > or directory)
> > > open("i686/libXxf86vm.so.1", O_RDONLY)  = -1 ENOENT (No such file or
> > > directory)
> > > open("mmx/cmov/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file
> > > or directory)
> > > open("mmx/libXxf86vm.so.1", O_RDONLY)   = -1 ENOENT (No such file or
> > > directory)
> > > open("cmov/libXxf86vm.so.1", O_RDONLY)  = -1 ENOENT (No such file or
> > > directory)
> > > open("libXxf86vm.so.1", O_RDONLY)       = -1 ENOENT (No such file or
> > > directory)
> > > access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > > directory)
> > > open("/usr/X11R6/lib/libXxf86vm.so.1", O_RDONLY) = 9
> > > read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\16\0"...,
> > > 512) = 512
> > > fstat64(9, {st_mode=S_IFREG|0644, st_size=16172, ...}) = 0
> > > old_mmap(NULL, 19244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) =
> > > 0xb58fb000
> > > old_mmap(0xb58ff000, 4096, PROT_READ|PROT_WRITE,
> > > MAP_PRIVATE|MAP_FIXED, 9, 0x3000) = 0xb58ff000
> > > close(9)                                = 0
> > > munmap(0xb5967000, 36663)               = 0
> > > writev(6, [{"b\2\3\0\3\0\340\2", 8}, {"GLX", 3}, {"\0", 1}], 3) = 12
> > > read(6, 0xbffff2b0, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0M\0\0\0\0\0\1\221M\236\0\0\0\0\1\0\0\0\37\0\0\0\200"...,
> > > 32) = 32
> > > write(6, "\221\7\3\0\1\0\0\0\4\0\0\0", 12) = 12
> > > read(6, 0xbffff380, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0N\0\0\0\0\0\1\0\0\0\2\0\0\0X\177\240\10\0\0\0\0<\0"...,
> > 32)
> > > = 32
> > > writev(6, [{"b\7\5\0\v\0\0\0", 8}, {"XFree86-DRI", 11}, {"\0", 1}], 3)
> > =
> > > 20
> > > read(6, 0xbffff260, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0O\0\0\0\0\0\1\200\0\200\0\0\0\0\1\0\0\0\37\0\0\0\200"...,
> > > 32) = 32
> > > write(6, "\200\0\1\0", 4)               = 4
> > > read(6, 0xbffff330, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0P\0\0\0\0\0\4\0\1\0\0\0\0\0\1\0\0\0\37\0\0\0\200\276"...,
> > > 32) = 32
> > > write(6, "\200\1\2\0\0\0\0\0", 8)       = 8
> > > read(6, 0xbffff2d0, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0Q\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\37\0\0\0\200\276"...,
> > > 32) = 32
> > > write(6, "\200\4\2\0\0\0\0\0", 8)       = 8
> > > read(6, 0xbffff2d0, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\201R\0\1\0\0\0\1\0\0\0\5\0\0\0`\0\0\0\4\0\0\0\200\276"...,
> > > 32) = 32
> > > readv(6, [{"i915", 4}, {"", 0}], 2)     = 4
> > > geteuid32()                             = 1002
> > > getuid32()                              = 1002
> > > open("/usr/X11R6/lib/modules/dri/i915_dri.so", O_RDONLY) = 9
> > > read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240{\0"...,
> > > 512) = 512
> > > fstat64(9, {st_mode=S_IFREG|0644, st_size=1686280, ...}) = 0
> > > old_mmap(NULL, 1731256, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) =
> > > 0xb5754000
> > > old_mmap(0xb58dd000, 81920, PROT_READ|PROT_WRITE,
> > > MAP_PRIVATE|MAP_FIXED, 9, 0x188000) = 0xb58dd000
> > > old_mmap(0xb58f1000, 39608, PROT_READ|PROT_WRITE,
> > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb58f1000
> > > close(9)                                = 0
> > > mprotect(0xb5754000, 1609728, PROT_READ|PROT_WRITE) = 0
> > > mprotect(0xb5754000, 1609728, PROT_READ|PROT_EXEC) = 0
> > > write(6, "\221\23\3\0\0\0\0\0\2\0\0\0", 12) = 12
> > > read(6, 0xbffff250, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\201S\0\1\0\0\0\0\0\0\0\4\0\0\0\37\0\0\0\20\201\240\10"...,
> > > 32) = 32
> > > read(6, "1.2\0", 4)                     = 4
> > > write(6, "\221\23\3\0\0\0\0\0\3\0\0\0", 12) = 12
> > > read(6, 0xbffff250, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\201T\0+\0\0\0\0\0\0\0\253\0\0\0\37\0\0\0\20\201\240"...,
> > 32)
> > > = 32
> > > read(6, "GLX_ARB_multisample GLX_EXT_visu"..., 171) = 171
> > > read(6, "\10", 1)                       = 1
> > > write(6, "\221\21\4\0\4\0\1\0\3\0\0\0\0\0\0\0", 16) = 16
> > > read(6, 0xbffff370, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0U\0\300\1\0\0\20\0\0\0\34\0\0\0\0\0\0\0\0\0\0\0X\370"...,
> > > 32) = 32
> > > read(6, "\v\200\0\0#\0\0\0\23\200\0\0#\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0$\0\0\0\23\200\0\0$\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0%\0\0\0\23\200\0\0%\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0&\0\0\0\23\200\0\0&\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0\'\0\0\0\23\200\0\0\'\0\0\0\22\200\0\0\1\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0(\0\0\0\23\200\0\0(\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0)\0\0\0\23\200\0\0)\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0*\0\0\0\23\200\0\0*\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0+\0\0\0\23\200\0\0+\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0,\0\0\0\23\200\0\0,\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0-\0\0\0\23\200\0\0-\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0.\0\0\0\23\200\0\0.\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0/\0\0\0\23\200\0\0/\0\0\0\22\200\0\0\1\0\0\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0000\0\0\0\23\200\0\0000\0\0\0\22\200\0\0\1\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0001\0\0\0\23\200\0\0001\0\0\0\22\200\0\0\1\0"...,
> > > 224) = 224
> > > read(6, "\v\200\0\0002\0\0\0\23\200\0\0002\0\0\0\22\200\0\0\1\0"...,
> > > 224) = 224
> > > brk(0)                                  = 0x810e000
> > > brk(0x812f000)                          = 0x812f000
> > > write(6, "\200\1\2\0\0\0\0\0", 8)       = 8
> > > read(6, 0xbffff140, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\0V\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\37\0\0\0\200\276"...,
> > > 32) = 32
> > > write(6, "\200\2\2\0\0\0\0\0", 8)       = 8
> > > read(6, 0xbffff140, 32)                 = -1 EAGAIN (Resource
> > > temporarily unavailable)
> > > select(7, [6], NULL, NULL, NULL)        = 1 (in [6])
> > > read(6, "\1\201W\0\4\0\0\0\0\0\311\340\0\0\0\0\20\0\0\0\37\0\0\0"...,
> > > 32) = 32
> > > readv(6, [{"pci:0000:00:02.0", 16}, {"", 0}], 2) = 16
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card0", {st_mode=S_IFCHR|0660, st_rdev=makedev(226,
> > > 0), ...}) = 0
> > > open("/dev/dri/card0", O_RDWR)          = -1 EACCES (Permission
> > denied)
> > > open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =
> > > -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =
> > > -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> > > ENOENT (No such file or directory)
> > > open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> > > ENOENT (No such file or directory)
> > > open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> > > ENOENT (No such file or directory)
> > > open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
> > > (No such file or directory)
> > > open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/libc.mo",
> > > O_RDONLY) = -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/libc.mo",
> > > O_RDONLY) = -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale-langpack/en_US/LC_MESSAGES/libc.mo", O_RDONLY)
> > > = -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/libc.mo",
> > > O_RDONLY) = -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/libc.mo",
> > > O_RDONLY) = -1 ENOENT (No such file or directory)
> > > open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) =
> > > -1 ENOENT (No such file or directory)
> > > open("/dev/dri/card0", O_RDWR)          = -1 EACCES (Permission
> > denied)
> > > unlink("/dev/dri/card0")                = -1 EACCES (Permission
> > denied)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card1", {st_mode=S_IFCHR|0660, st_rdev=makedev(226,
> > > 1), ...}) = 0
> > > open("/dev/dri/card1", O_RDWR)          = -1 EACCES (Permission
> > denied)
> > > open("/dev/dri/card1", O_RDWR)          = -1 EACCES (Permission
> > denied)
> > > unlink("/dev/dri/card1")                = -1 EACCES (Permission
> > denied)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card2", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card3", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card4", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card5", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card6", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card7", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card8", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card9", 0xbfffef5c)    = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card10", 0xbfffef5c)   = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card11", 0xbfffef5c)   = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card12", 0xbfffef5c)   = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card13", 0xbfffef5c)   = -1 ENOENT (No such file or
> > > directory)
> > > geteuid32()                             = 1002
> > > stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
> > > stat64("/dev/dri/card14", 0xbfffef5c)   = -1 ENOENT (No such file or
> > > directory)
> > > munmap(0xb6d35038, 8192)                = -1 EINVAL (Invalid argument)
> > > munmap(0xb6c7e535, 135168)              = -1 EINVAL (Invalid argument)
> > > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > > +++ killed by SIGSEGV +++
> > > 
> > > 
> > 
> > 
> > -- 
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 





More information about the ubuntu-users mailing list