Closed Bug 1463047 Opened 3 years ago Closed 2 years ago
Crash on startup for self-built Thunderbird
Environment: * Ubuntu 16.04 with updates * Updated gcc from launchpad $ gcc --version gcc (Ubuntu 6.4.0-17ubuntu1~16.04) 6.4.0 20180424 Code: * Latest mozilla-central * Latest comm-central for Thunderbird, in a subdirectory. But the failure is in compiling Mozilla, and Mozilla source is at the top level, so should be irrelevant. * I did a clobber, and the error persists. * Same problem with TB 60. Actual result: Crash on startup. Both with a fresh profile and an existing profile: $ ./mach run 0:00.18 .../dist/bin/thunderbird -no-remote -profile .../tmp/profile-default Gtk-Message: Failed to load module "topmenu-gtk-module" $ ../opt/dist/bin/thunderbird -no-remote -P test Gtk-Message: Failed to load module "topmenu-gtk-module" Speicherzugriffsfehler (Speicherabzug geschrieben) [memory access error, core dumped] Expected result: TB starts Possible causes: Could be a compiler problem? Importance: Blocks me from working on bug 1419417. => Blocker, by definition
Maybe Aceman can help. What is the Gcc you use, Aceman?
Ubuntu 16 seems ancient, but gcc 6.4 should be supported by m-c. I think we even use gcc 4.9 on the servers yet. I'm using 7.3. Can you try https://ubuntu-mate.community/t/gtk-message-failed-to-load-module-topmenu-gtk-module/4964 ? If it doesn't help, can you 'strace ../opt/dist/bin/thunderbird -no-remote -P test' to see if it doesn't stop on something else?
You may also try mach artifact toolchain --from-build toolchain-linux64-gcc-6 which should download a mozilla supplied gcc6 into the m-c folder. Then you can try using that compiler just for building TB. You set these in your .mozconfig: export CC=.../TB-tree/mozilla/gcc/bin/gcc export CXX=.../TB-tree/mozilla/gcc/bin/g++
Is this blocker sorted out for you?
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.