Opened 14 years ago

Closed 12 years ago

#27477 closed defect (wontfix)

gstreamer crashes firefox when opening a menu

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gstreamer

Description

Launch firefox-x11-standalone and then click on any menu item to see this crash. Moving aside libcanberra-gstreamer.so (which calls gst_init_check) fixes the problem:

Process:         firefox-bin [53055]
Path:            /opt/local/lib/firefox-x11-standalone/firefox-bin
Identifier:      firefox-bin
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  sh [53051]

Date/Time:       2010-11-27 18:19:34.596 -0500
OS Version:      Mac OS X 10.6.6 (10J532)
Report Version:  6

Interval Since Last Report:          141 sec
Crashes Since Last Report:           2
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      99E5CBF5-5B93-4D5B-9947-6B4A70D6BFBC

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x955ba176 __kill + 10
1   libSystem.B.dylib             	0x955ba168 kill$UNIX2003 + 32
2   libSystem.B.dylib             	0x9564c89d raise + 26
3   libxul.dylib                  	0x0002265c XRE_LockProfileDirectory + 4396
4   libSystem.B.dylib             	0x955bf46b _sigtramp + 43
5   libSystem.B.dylib             	0x955ba176 __kill + 10
6   libSystem.B.dylib             	0x955ba168 kill$UNIX2003 + 32
7   libSystem.B.dylib             	0x9564c89d raise + 26
8   libSystem.B.dylib             	0x956629bc abort + 93
9   libglib-2.0.0.dylib           	0x0186e243 g_logv + 611
10  libglib-2.0.0.dylib           	0x0186e519 g_log + 41
11  libglib-2.0.0.dylib           	0x0186cf14 g_malloc0_n + 116
12  libgstreamer-0.10.0.dylib     	0x0544af94 gst_registry_chunks_load_plugin_dep_strv + 68
13  libgstreamer-0.10.0.dylib     	0x0544b21d gst_registry_chunks_load_plugin_dep + 141
14  libgstreamer-0.10.0.dylib     	0x0544d3cd _priv_gst_registry_chunks_load_plugin + 3565
15  libgstreamer-0.10.0.dylib     	0x05476ef7 gst_registry_binary_read_cache + 1159
16  libgstreamer-0.10.0.dylib     	0x05449e51 gst_update_registry + 1393
17  libgstreamer-0.10.0.dylib     	0x053f5abd init_post + 1277
18  libglib-2.0.0.dylib           	0x01873513 g_option_context_parse + 595
19  libgstreamer-0.10.0.dylib     	0x053f4f8e gst_init_check + 158
20  libcanberra-gstreamer.so      	0x053ef392 gstreamer_driver_open + 146
21  libcanberra.0.dylib           	0x053a1672 driver_open + 434
22  libcanberra.0.dylib           	0x05399388 context_open_unlocked + 72
23  libcanberra.0.dylib           	0x05399c18 ca_context_play_full + 344
24  libcanberra.0.dylib           	0x05399f91 ca_context_play + 113
25  libxul.dylib                  	0x009d2e22 JSD_DebuggerOnForUser + 859522
26  libxul.dylib                  	0x00391cfe DumpJSEval + 3575358
27  libxul.dylib                  	0x003a026c DumpJSEval + 3634092
28  libxul.dylib                  	0x003a0ab9 DumpJSEval + 3636217
29  libxul.dylib                  	0x003a0b47 DumpJSEval + 3636359
30  libxul.dylib                  	0x00a8800c NS_GetComponentManager_P + 36316
31  libxul.dylib                  	0x00a4bf23 GetSecurityContext(JNIEnv_*, nsISecurityContext**) + 297667
32  libxul.dylib                  	0x009e6da0 JSD_DebuggerOnForUser + 941312
33  libxul.dylib                  	0x0085f4cf DumpJSEval + 8611343
34  libxul.dylib                  	0x0001c541 XRE_main + 12961
35  firefox-bin                   	0x00002be8 start + 360
36  firefox-bin                   	0x00002ab5 start + 53

Change History (8)

comment:1 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: changed from macports-tickets@… to rmstonecipher@…

comment:2 Changed 14 years ago by rmstonecipher@…

Does configuring libcanberra with '--disable-gstreamer' in place of '--disable-null' keep firefox from crashing?
If gstreamer-less libcanberra does not crash we could be absolutely certain gstreamer is the culprit. A gstreamer-less libcanberra might also provide a functioning albeit quieter firefox until a better solution is found. This seems similar to #23823 to my untrained eye - is it?

comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

As mentioned, moving aside the libcanberra-gstreamer.so fixes the problem. --disable-gstreamer would do the same thing (it would not build libcanberra-gstreamer.so)

comment:4 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

It is completely different than #23823

comment:5 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Actually, it's related to #23823 in that the workaround for #23823 is now causing this crash... in other words, if ${prefix}/libexec/gstreamer-0.10/gst-plugin-scanner is not present, this crash will occur.

comment:6 Changed 12 years ago by rmstonecipher@…

Jeremy,
Is this problem still present?

Ryan Stonecipher

comment:7 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I believe so, but I don't quite care anymore.

comment:8 Changed 12 years ago by rmstonecipher@…

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.