View previous topic :: View next topic |
Author |
Message |
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Mon Mar 31, 2008 11:20 pm Post subject: adobe air - invalid pointer |
|
|
hi,
i just read that adobe released a alpha of AIR for linux and wanted to try it out.
since what you download is a single binary file Code: | adobeair_linux_a1_033108.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped |
, all you can do is execute it, but my system does not really like it: Code: | *** glibc detected *** /tmp/air.nKnh8J/./build/opt/Adobe AIR/Versions/1.0/setup: free(): invalid pointer: 0xb5f9d5f8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ea13b6]
/lib/libc.so.6(cfree+0x89)[0xb7ea3029]
/tmp/air.nKnh8J/build/opt/Adobe AIR/Versions/1.0/libRuntime.so(_ZdlPv+0x21)[0xb719c4f1]
/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libstdc++.so.6(_ZNSs6assignERKSs+0x9b)[0xb5f4daa7]
/usr/lib/gtk-2.0/modules/libgnomebreakpad.so(_ZN15google_breakpad16ExceptionHandlerC1ERKSsPFbPvEPFbPKcS7_S3_bES3_b+0x7a)[0xb50854fc]
/usr/lib/gtk-2.0/modules/libgnomebreakpad.so(gtk_module_init+0x175)[0xb5084cd7]
/usr/lib/libgtk-x11-2.0.so.0[0xb670d825]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__PARAM+0x54)[0xb6474461]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb6468754]
/usr/lib/libgobject-2.0.so.0[0xb647beec]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8fa)[0xb647db6f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb647deb3]
/usr/lib/libgobject-2.0.so.0[0xb646c761]
/usr/lib/libgobject-2.0.so.0[0xb646932f]
/usr/lib/libgobject-2.0.so.0(g_object_notify+0x1f7)[0xb646d1a0]
/usr/lib/libgdk-x11-2.0.so.0(gdk_display_manager_set_default_display+0x38)[0xb655c71d]
/usr/lib/libgdk-x11-2.0.so.0(gdk_display_open_default_libgtk_only+0x57)[0xb65548cc]
/usr/lib/libgtk-x11-2.0.so.0(gtk_init_check+0x2f)[0xb66f77da]
/tmp/air.nKnh8J/build/opt/Adobe AIR/Versions/1.0/libRuntime.so[0xb6a446d8]
/tmp/air.nKnh8J/build/opt/Adobe AIR/Versions/1.0/libRuntime.so(RuntimeInstallerMain+0x53)[0xb6a44ae7]
/tmp/air.nKnh8J/./build/opt/Adobe AIR/Versions/1.0/setup(main+0xda)[0x804a468]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7e50400]
/tmp/air.nKnh8J/./build/opt/Adobe AIR/Versions/1.0/setup[0x804a281]
======= Memory map: ========
08048000-08057000 r-xp 00000000 08:01 171492327 /tmp/air.nKnh8J/build/opt/Adobe AIR/Versions/1.0/setup
08057000-08058000 rwxp 0000e000 08:01 171492327 /tmp/air.nKnh8J/build/opt/Adobe AIR/Versions/1.0/setup
08058000-0809e000 rwxp 08058000 00:00 0 [heap]
b4e00000-b4e21000 rwxp b4e00000 00:00 0
b4e21000-b4f00000 ---p b4e21000 00:00 0
b4f04000-b5005000 rwxp b4f04000 00:00 0
b5005000-b5057000 r-xp 00000000 08:01 295529452 /usr/lib/bug-buddy/libbreakpad.so.0.0.0
b5057000-b5058000 r-xp 00052000 08:01 295529452 /usr/lib/bug-buddy/libbreakpad.so.0.0.0
b5058000-b5059000 rwxp 00053000 08:01 295529452 /usr/lib/bug-buddy/libbreakpad.so.0.0.0
b5059000-b5062000 r-xp 00000000 08:01 25986710 /lib/libnss_files-2.7.so
b5062000-b5063000 r-xp 00008000 08:01 25986710 /lib/libnss_files-2.7.so
b5063000-b5064000 rwxp 00009000 08:01 25986710 /lib/libnss_files-2.7.so
b5064000-b506a000 r-xp 00000000 08:01 25986903 /lib/libnss_compat-2.7.so
b506a000-b506b000 r-xp 00005000 08:01 25986903 /lib/libnss_compat-2.7.so
b506b000-b506c000 rwxp 00006000 08:01 25986903 /lib/libnss_compat-2.7.so
b506c000-b507e000 r-xp 00000000 08:01 152534206 /usr/lib/libelf-0.131.so
b507e000-b507f000 r-xp 00011000 08:01 152534206 /usr/lib/libelf-0.131.so
b507f000-b5080000 rwxp 00012000 08:01 152534206 /usr/lib/libelf-0.131.so
b5080000-b508d000 r-xp 00000000 08:01 425812902 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
b508d000-b508e000 r-xp 0000c000 08:01 425812902 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
b508e000-b508f000 rwxp 0000d000 08:01 425812902 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
b508f000-b527b000 r-xp 00000000 08:01 425834166 /usr/lib/locale/locale-archive
b527b000-b52df000 rwxp b527b000 00:00 0
b52df000-b52e0000 r-xp 00000000 08:01 428696828 /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.169.12
b52e0000-b52e1000 rwxp 00000000 08:01 428696828 /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.169.12
b52e1000-b5db5000 r-xp 00000000 08:01 141056346 /usr/lib/opengl/nvidia/lib/libGLcore.so.169.12
b5db5000-b5df1000 rwxp 00ad3000 08:01 141056346 /usr/lib/opengl/nvidia/lib/libGLcore.so.169.12
b5df1000-b5df6000 rwxp b5df1000 00:00 0
b5df6000-b5e7e000 r-xp 00000000 08:01 141056343 /usr/lib/opengl/nvidia/lib/libGL.so.169.12
b5e7e000-b5e99000 rwxp 00087000 08:01 141056343 /usr/lib/opengl/nvidia/lib/libGL.so.169.12
b5e99000-b5e9a000 rwxp b5e99000 00:00 0
b5e9a000-b5ebd000 r-xp 00000000 08:01 152715062 /usr/lib/libglitz.so.1.0.0
b5ebd000-b5ebe000 rwxp 00022000 08:01 152715062 /usr/lib/libglitz.so.1.0.0
b5ebe000-b5f97000 r-xp 00000000 08:01 151980473 /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libstdc++.so.6.0.9
b5f97000-b5f9b000 r-xp 000d8000 08:01 151980473 /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libstdc++.so.6.0.9
b5f9b000-b5f9c000 rwxp 000dc000 08:01 151980473 /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libstdc++.so.6.0.9
b5f9c000-b5fa2000 rwxp b5f9c000 00:00 0
b5fa2000-b5fcf000 r-xp 00000000 08:01 153065962 /usr/lib/libpixman-1.so.0.9.6
b5fcf000-b5fd0000 r-xp 0002d000 08:01 153065962 /usr/lib/libpixman-1.so.0.9.6
b5fd0000-b5fd1000 rwxp 0002e000 08:01 153065962 /usr/lib/libpixman-1.so.0.9.6
b5fd1000-b5ff2000 r-xp 00000000 08:01 153073675 /usr/lib/libpng12.so.0.25.0
b5ff2000-b5ff3000 r-xp 00020000 08:01 153073675 /usr/lib/libpng12.so.0.25.0
b5ff3000-b5ff4000 rwxp 00021000 08:01 153073675 /usr/lib/libpng12.so.0.25.0
b5ff4000-b5ff9000 r-xp 00000000 08:01 152715057 /usr/lib/libglitz-glx.so.1.0.0
b5ff9000-b5ffa000 rwxp 00004000 08:01 152715057 /usr/lib/libglitz-glx.so.1.0.0
b5ffa000-b5ffe000 r-xp 00000000 08:01 152146121 /usr/lib/libXdmcp.so.6.0.0
b5ffe000-b5fff000 rwxp 00003000 08:01 152146121 /usr/lib/libXdmcp.so.6.0.0
b5fff000-b6001000 r-xp 00000000 08:01 152146085 /usr/lib/libXau.so.6.0.0
b6001000-b6002000 rwxp 00001000 08:01 152146085 /usr/lib/libXau.so.6.0.0
b6002000-b6009000 r-xp 00000000 08:01 25986726 /lib/librt-2.7.so
b6009000-b600a000 r-xp 00006000 08:01 25986726 /lib/librt-2.7.so
b600a000-b600b000 rwxp 00007000 08:01 25986726 /lib/librt-2.7.so
b600b000-b601c000 r-xp 00000000 08:01 152146178 /usr/lib/libXft.so.2.1.2
b601c000-b601d000 r-xp 00010000 08:01 152146178 /usr/lib/libXft.so.2.1.2
b601d000-b601e000 rwxp 00011000 08:01 152146178 /usr/lib/libXft.so.2.1.2
b601e000-b602f000 r-xp 00000000 08:01 405872563 /lib/libz.so.1.2.3
b602f000-b6030000 rwxp 00010000 08:01 405872563 /lib/libz.so.1.2.3
b6030000-b6140000 r-xp 00000000 08:01 153717229 /usr/lib/libxml2.so.2.6.31
b6140000-b6144000 r-xp 0010f000 08:01 153717229 /usr/lib/libxml2.so.2.6.31
b6144000-b6145000 rwxp 00113000 08:01 153717229 /usr/lib/libxml2.so.2.6.31
b6145000-b6146000 rwxp b6145000 00:00 0
b6146000-b614e000 r-xp 00000000 08:01 152146111 /usr/lib/libXcursor.so.1.0.2
b614e000-b6150000 rwxp 00007000 08:01 152146111 /usr/lib/libXcursor.so.1.0.2
b6150000-b6155000 r-xp 00000000 08:01 152146223 /usr/lib/libXrandr.so.2.1.0
b6155000-b6157000 rwxp 00004000 08:01 152146223 /usr/lib/libXrandr.so.2.1.0
b6157000-b615e000 r-xp 00000000 08:01 152146183 /usr/lib/libXi.so.6.0.0
b615e000-b6160000 rwxp 00006000 08:% |
does this produce anything better for somebody? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Mar 31, 2008 11:33 pm Post subject: |
|
|
run "ldd" on the executable and post the output _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
mointrigue n00b
Joined: 07 Mar 2006 Posts: 57 Location: Madison, WI USA
|
Posted: Mon Mar 31, 2008 11:35 pm Post subject: |
|
|
I'm not having much more luck myself, although I don't receive those errors. I'm on amd64, and I had to do some ugly copying from the tmp directory to get it in. The runtime starts up okay, but I can't get it to install an app. I'm fairly certain that if I can replicate an app install manually I can get one to run, I just have to figure out all the commands. It's still not super helpful in that situation, but I'm just trying to see if I can get it to work.
Hopefully someone smarter than me will come along and help us both out. |
|
Back to top |
|
|
dkruythoff n00b
Joined: 14 Aug 2007 Posts: 1
|
Posted: Tue Apr 01, 2008 7:33 pm Post subject: |
|
|
Adobe Labs listed that you need either dpkg or rpm to install.
I just installed both, and can confirm that neither makes a difference...
*edit: typo |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Tue Apr 01, 2008 11:31 pm Post subject: |
|
|
hmm, why should i need dpkg or rpm to install that? strange. it was just a binary.
naib, the ldd output was ok. |
|
Back to top |
|
|
mointrigue n00b
Joined: 07 Mar 2006 Posts: 57 Location: Madison, WI USA
|
Posted: Tue Apr 01, 2008 11:58 pm Post subject: |
|
|
I also ran ldd against the extracted libraries I installed and all was correct. |
|
Back to top |
|
|
bWareiWare n00b
Joined: 12 Mar 2007 Posts: 4
|
Posted: Wed Apr 02, 2008 11:33 am Post subject: Getting more info |
|
|
Code: | touch ~/.airappinstall.log |
Enables logging for air installs (to that file).
At the moment all attempts result in:
Quote: | waiting to receive open event
UI SWF load is complete
UI initialized
enter waitingForOpen
Converting to /root/.adobe/AIR/tmp/FlashTmp0
Failed while converting AIR file: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Unable to identify the distribution that the application is running on. Adobe AIR is only supported on rpm and debian based distributions." errorID=0]
Starting cleanup
Installation exited |
A working rpm/dpkg themselves are not enough - what else could we do to pretend to be a rpm/deb based distribution? |
|
Back to top |
|
|
bWareiWare n00b
Joined: 12 Mar 2007 Posts: 4
|
Posted: Wed Apr 02, 2008 2:36 pm Post subject: Success |
|
|
btw. you can run any AIR applications via the AIR SDK. (Because they do not need to be installed and this seems to be the problem).
Install SDK:
Code: | mkdir /opt/air
cd /opt/air
tar -xjf ~/adobeair_linux_sdk_a1_033108.tbz2
export PATH=/opt/air/bin:$PATH |
Install air app (eBayDesktop in this example but any should work):
Code: | mkdir ~/ebay
cd ~/ebay
unzip ~/eBayDesktop_1_0_3_297.air |
Then you can run it:
Code: | adl ~/ebay/META-INF/AIR/application.xml ~/ebay/ |
|
|
Back to top |
|
|
mointrigue n00b
Joined: 07 Mar 2006 Posts: 57 Location: Madison, WI USA
|
Posted: Wed Apr 02, 2008 3:26 pm Post subject: Re: Success |
|
|
bWareiWare wrote: | btw. you can run any AIR applications via the AIR SDK. (Because they do not need to be installed and this seems to be the problem). |
You are awesome. That's definitely a workaround that I can live with. |
|
Back to top |
|
|
imageek Tux's lil' helper
Joined: 29 Aug 2002 Posts: 77 Location: Richardson, TX
|
Posted: Wed Apr 16, 2008 8:16 pm Post subject: |
|
|
how did you get adobe air to install in the first place? Thats what i am having problems with. |
|
Back to top |
|
|
Shirk n00b
Joined: 27 Mar 2005 Posts: 5 Location: Germany
|
Posted: Sat May 17, 2008 7:34 pm Post subject: AIR-SDK launcher / installer |
|
|
Hi,
for all of us happy with the SDK solution I've created two little scripts to install and launch AIR apps like native Desktop apps.
They booth assume your AIR-SDK is installed in /opt/air and all AIR apps will be installed into /opt/air/apps/.
airlaunch launch helper:
Code: |
#!/bin/bash
# /opt/air/bin/airlaunch - AIR-SDK launch helper
airapp="$1"
airappdir="/opt/air"
if [ $# -lt 1 ]; then
echo "usage: $(basename $0) APPNAME" >&2
exit 1
fi
"$airappdir"/bin/adl "$airappdir"/apps/"$airapp"/META-INF/AIR/application.xml "$airappdir"/apps/"$airapp"
exit $?
|
airinstall app installer:
Code: |
#!/bin/bash
# /opt/air/bin/airinstall - AIR-SDK app installer
airappdir="/opt/air/apps"
if [[ $# -lt 1 ]]; then
echo "usage: $(basename $0) App.air [--remove]" 1>&2
exit 1
fi
if [[ ! -e "$1" ]]; then
echo "no such file or directory '$1'" 1>&2
exit 1
fi
if [[ "$(whoami)" != "root" ]]; then
echo "you need to be root to do this" 1>&2
exit 1
fi
airapp="$(basename $1 .air)"
if [[ "$2" == "--remove" ]]; then
echo "Removing '$airapp'..."
rm -rf "$airappdir"/"$airapp" || exit 1
rm -f /usr/share/applications/"$airapp".Desktop
echo "Done"
exit 0
fi
echo "Installing '$airapp'..."
mkdir -p "$airappdir"/"$airapp"
unzip "$1" -d "$airappdir"/"$airapp" || exit 1
pushd "$airappdir"/"$airapp" > /dev/null
echo "Creating app launcher..."
airapp_name="$(grep '<name>' META-INF/AIR/application.xml | sed -e's,.*<name>\(.*\)</name>.*,\1,g')"
airapp_desc="$(grep '<description>' META-INF/AIR/application.xml | sed -e's,.*<description>\(.*\)</description>.*,\1,g')"
cat - > /usr/share/applications/"$airapp".Desktop <<EOF
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=$airapp_name
Comment=$airapp_desc
Exec=$airappdir/../bin/airlaunch '$airapp'
Terminal=false
Type=Application
StartupNotify=true
Categories=AIR Apps
Icon=$airappdir/$airapp/Icons/AIRApp_32.png$
EOF
echo "Done"
popd >/dev/null
exit 0
|
Hope they prove to be useful
*edit - option '--remove' for airinstall to allow for easy app removal. _________________ ~I'll rather burn my wings than never fly at all~ |
|
Back to top |
|
|
Covracer n00b
Joined: 25 Jun 2004 Posts: 45 Location: Blacksburg, Virginia
|
|
Back to top |
|
|
|