Announcement

Collapse
No announcement yet.

Crashing of Firefox and Thunderbird when saving mail attachments.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Crashing of Firefox and Thunderbird when saving mail attachments.

    I just upgraded from Feisty to Gutsy and regretfully the crashing of both Thunderbird and Firefox when attempting to save an E-mail attachment has not been fixed.
    When I start these programs from the terminal I get the error message: Segmentation fault
    This does happen on for example .wav files but not on a .doc file.

    Everything does work fine when I run either program as sudo...

    Any ideas?

    #2
    Re: Crashing of Firefox and Thunderbird when saving mail attachments.

    gut feeling...
    nothing to do with neither thunderbird, nor firefox.
    it's going to be some permission setting on some other file or directory...
    you might want to try and strace the execution of one or both applications.
    like so:
    Code:
    strace thunderbird > /tmp/thunderbird.strace 2>&1
    you can then attach that file to a post here, so that we can take a look at it.

    this is the only thing that crops up...

    hth
    gnu/linux is not windoze

    Comment


      #3
      Re: Crashing of Firefox and Thunderbird when saving mail attachments.

      The strace file shows:
      Code:
      execve("/usr/bin/thunderbird", ["thunderbird"], [/* 32 vars */]) = 0
      brk(0)                 = 0x805f000
      access("/etc/ld.so.nohwcap", F_OK)   = -1 ENOENT (No such file or directory)
      mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f14000
      access("/etc/ld.so.preload", R_OK)   = -1 ENOENT (No such file or directory)
      open("/etc/ld.so.cache", O_RDONLY)   = 3
      fstat64(3, {st_mode=S_IFREG|0644, st_size=91300, ...}) = 0
      mmap2(NULL, 91300, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7efd000
      close(3)                = 0
      access("/etc/ld.so.nohwcap", F_OK)   = -1 ENOENT (No such file or directory)
      open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
      read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260a\1"..., 512) = 512
      fstat64(3, {st_mode=S_IFREG|0644, st_size=1339816, ...}) = 0
      mmap2(NULL, 1349136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7db3000
      mmap2(0xb7ef7000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143) = 0xb7ef7000
      mmap2(0xb7efa000, 9744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7efa000
      close(3)                = 0
      mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db2000
      set_thread_area({entry_number:-1 -> 6, base_addr:0xb7db26b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
      mprotect(0xb7ef7000, 4096, PROT_READ)  = 0
      munmap(0xb7efd000, 91300)        = 0
      getpid()                = 4935
      rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
      geteuid32()               = 1000
      brk(0)                 = 0x805f000
      brk(0x8080000)             = 0x8080000
      getppid()                = 4934
      stat64("/home/teunis", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
      stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
      open("/usr/bin/thunderbird", O_RDONLY) = 3
      fcntl64(3, F_DUPFD, 10)         = 10
      close(3)                = 0
      fcntl64(10, F_SETFD, FD_CLOEXEC)    = 0
      rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
      rt_sigaction(SIGINT, {0x80551b0, ~[RTMIN RT_1], 0}, NULL, 8) = 0
      rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
      rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
      rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
      rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
      read(10, "#!/bin/sh\n#\n# ***** BEGIN LICENS"..., 8192) = 5185
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4936
      close(4)                = 0
      read(3, "/usr/bin\n", 128)       = 9
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4936
      --- SIGCHLD (Child exited) @ 0 (0) ---
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4937
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "thunderbird\n", 128)      = 12
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4937
      stat64("/usr/bin/run-mozilla.sh", 0xbfe932ac) = -1 ENOENT (No such file or directory)
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4938
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "/home/teunis\n", 128)      = 11
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4938
      lstat64("/usr/bin/thunderbird", {st_mode=S_IFLNK|0777, st_size=30, ...}) = 0
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4939
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "thunderbird\n", 128)      = 12
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4939
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4940
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "/usr/bin\n", 128)       = 9
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4940
      chdir("/usr/bin")            = 0
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4941
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "../lib/thunderbird/thunderbird\n", 128) = 31
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4941
      stat64("../lib/thunderbird/thunderbird", {st_mode=S_IFREG|0755, st_size=5185, ...}) = 0
      geteuid32()               = 1000
      getgid32()               = 1000
      getegid32()               = 1000
      getgroups32(0, NULL)          = 13
      getgroups32(13, [4, 6, 20, 24, 25, 29, 30, 44, 46, 109, 111, 113, 1000]) = 13
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4944
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "../lib/thunderbird\n", 128)  = 19
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4944
      stat64("../lib/thunderbird/run-mozilla.sh", {st_mode=S_IFREG|0755, st_size=10492, ...}) = 0
      geteuid32()               = 1000
      getgid32()               = 1000
      getegid32()               = 1000
      getgroups32(0, NULL)          = 13
      getgroups32(13, [4, 6, 20, 24, 25, 29, 30, 44, 46, 109, 111, 113, 1000]) = 13
      chdir("/usr/lib/thunderbird")      = 0
      pipe([3, 4])              = 0
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4945
      --- SIGCHLD (Child exited) @ 0 (0) ---
      close(4)                = 0
      read(3, "/usr/lib/thunderbird\n", 128) = 21
      read(3, "", 128)            = 0
      close(3)                = 0
      wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4945
      chdir("/home/teunis")           = 0
      open("/usr/lib/thunderbird/init.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
      open("/home/teunis/.thunderbird/init.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/thunderbird/init.d/S*", 0xbfe9305c) = -1 ENOENT (No such file or directory)
      stat64("/home/teunis/.thunderbird/init.d/S*", 0xbfe9305c) = -1 ENOENT (No such file or directory)
      clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db26f8) = 4946
      wait4(-1, Segmentation fault
      [{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0, NULL) = 4946
      --- SIGCHLD (Child exited) @ 0 (0) ---
      open("/home/teunis/.thunderbird/init.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
      open("/usr/lib/thunderbird/init.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
      stat64("/home/teunis/.thunderbird/init.d/K*", 0xbfe9305c) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/thunderbird/init.d/K*", 0xbfe9305c) = -1 ENOENT (No such file or directory)
      exit_group(139)             = ?
      Process 4935 detached
      I assume the missing init.d files might be a reason for the crash?

      Comment


        #4
        Re: Crashing of Firefox and Thunderbird when saving mail attachments.

        don't think so.

        i tried on mine and i have the same output.
        though after the "process detached" message, my thunderbird starts up all right...

        is this the bit where you save an attachment?

        usually, when normal user can't do something while user root can
        it means there's a permission issue somewhere...

        if you say firefox has the same behaviour...
        it's got to be something thunderbird and firefox do/have in common.
        like some shared library or something...

        sorry i can't be of any more help.
        i'm pretty sure you problem has nothing to do with thunderbird and firefox specifically.

        hth
        gnu/linux is not windoze

        Comment


          #5
          Re: Crashing of Firefox and Thunderbird when saving mail attachments.

          It's (for me) getting weirder, I found out the crashing does not happen with some more common formats/extensions.
          For example saving an attached .txt, pdf or jpg file goes fine, with a wav Thunderbird crashes unless started as sudo...

          Comment

          Users Viewing This Topic

          Collapse

          There are 0 users viewing this topic.

          Working...
          X