https://bugs.freedesktop.org/show_bug.cgi?id=54294

             Bug #: 54294
           Summary: some command line options cause segmentation fault
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.6.1.2 release
          Platform: All
        OS/Version: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


* LO Applications are work fine (minimal testing)
 * file arguments seem to work fine
 * cmdline options (--{option})  cause SEGV
 * Debian Squeeze AND Lenny
 * 32-bit AND 64-bit

$ /usr/local/LibreOffice/program/soffice --help
Segmentation fault
$ /usr/local/LibreOffice/program/soffice --version    
Segmentation fault

sdowdy@zia$ /usr/local/LibreOffice/program/soffice -?
sdowdy@zia$   <<< expected help here, but it just exits >>>

/usr/local/LibreOffice/program/soffice --calc | --writer | ...
WORK AS EXPECTED


$ /usr/local/LibreOffice/program/soffice -- FOOOOO.odt
Unknown option --
Run 'soffice --help' to see a full list of available command line options.
(( seems that soffice.bin should support standard '--' end-of-options flag, but
that's a feature request...))

FYI: my install is mounted on shared NFS server
FYI: I take the DEB distribution, run the .debs through 'alien -t' extract onto
my shared NFS /usr/local, and link the basis-link stuff appropriately and put
.desktop files in /usr/local/share/application for distributed KDE use, but i
doubt that's coming into play here (but just in case...)

strace snippet around SEGV:

30718
open("/var/autofs/mnt/linux-amd64/common/local/LibreOffice-3.6.1/program/fundamentalrc",
O_RDONLY|O_EXCL) = 3
30718 fstat(3, {st_mode=S_IFREG|0644, st_size=2313, ...}) = 0
30718 pread(3,
"[Bootstrap]\nBRAND_BASE_DIR=${ORIGIN}/..\nCONFIGURATION_LAYERS=xcsxcu:${BRAND_BASE_DIR}/share/registry
module:${BRAND_BASE_DIR}/share/registry/modules
res:${BRAND_BASE_DIR}/share/registry
bundledext:${${BRAND_BASE_DIR}/program/unorc:BUNDLED_EXTENSIONS_USER}/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini
sharedext:${${BRAND_BASE_DIR}/program/unorc:SHARED_EXTENSIONS_USER}/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini
xcsxcu:${$"..., 4096, 0) = 2313
30718 close(3)                          = 0
30718 getcwd("/home/sdowdy", 4096)      = 13
30718 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fedd5bd5000
30718 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
30719 +++ killed by SIGSEGV +++
30711 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0,
NULL) = 30718
30711 --- SIGCHLD (Child exited) @ 0 (0) ---
30711 write(2, "Segmentation fault\n", 19) = 19
30711 exit_group(0)                     = ?

thanks,
--stephen

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to