Bug 11501 - Base влится при попытке открытия таблицы postgresql
Summary: Base влится при попытке открытия таблицы postgresql
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: openoffice.org (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 00:53 MSD by Artem Zolochevskiy
Modified: 2007-06-15 21:26 MSD (History)
0 users

See Also:


Attachments
postgresql settings (29.69 KB, image/png)
2007-04-14 18:32 MSD, Artem Zolochevskiy
no flags Details
oobase-jdbc-mysql.png (35.78 KB, image/png)
2007-04-14 22:50 MSD, Valery Inozemtsev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Zolochevskiy 2007-04-14 00:53:28 MSD
Пробую подключиться через jdbc к postgresql базе
Подключение проходит успешно, но при попытке открыть любую таблицу - Base 
стабильно обваливается :(

openoffice.org-2.2.0-alt2
java-1.6.0-sun-1.6.0.01-alt1.1
postgresql8.1-server-8.1.8-alt3
postgresql-8.1-408.jdbc3.jar
Comment 1 Valery Inozemtsev 2007-04-14 10:21:10 MSD
попробуйте удалить java-1.6 и установить j2se1.5-sun
Comment 2 Artem Zolochevskiy 2007-04-14 18:01:57 MSD
пробовал 
с j2se1.5-sun-1.5.0.11-alt4
обваливается тоже :(
Comment 3 Valery Inozemtsev 2007-04-14 18:23:56 MSD
во первых postgresql-8.1-408.jdbc3.jar с java-1.6 работать и не должен.
см. http://jdbc.postgresql.org/download.html#jdbcselection
теперь рассказывайте как настраивали соединение через JDBC
Comment 4 Artem Zolochevskiy 2007-04-14 18:32:29 MSD
Created attachment 1905 [details]
postgresql settings
Comment 5 Artem Zolochevskiy 2007-04-14 18:32:58 MSD
да он никак не работает ни так ни сяк

настройки прилагаю

тестовое соединение (да и реальное) происходит нормально
драйвер тоже подгружается
Comment 6 Valery Inozemtsev 2007-04-14 18:47:44 MSD
$ /usr/lib/OpenOffice.org2/program/soffice.bin -base
и давайте то что оно вывалит в консоль
Comment 7 Artem Zolochevskiy 2007-04-14 19:46:06 MSD
$ /usr/lib/OpenOffice.org2/program/soffice.bin -base ~/Documents/Новая\ база\ 
данных24.odb
terminate called after throwing an instance 
of 'jvmaccess::VirtualMachine::AttachGuard::CreationException'
terminate called recursively
KCrash: Application 'soffice.bin' crashing...
X IO Error
$
Comment 8 Valery Inozemtsev 2007-04-14 20:33:59 MSD
$ rm -f ~/Documents/Новая\ база\ данных24.odb
$ /usr/lib/OpenOffice.org2/program/soffice.bin -base
Comment 9 Artem Zolochevskiy 2007-04-14 20:45:48 MSD
не очень понимаю к чему вы всё это...
ну создал подключение заново и...

$ /usr/lib/OpenOffice.org2/program/soffice.bin -base
terminate called after throwing an instance 
of 'jvmaccess::VirtualMachine::AttachGuard::CreationException'
terminate called recursively
KCrash: Application 'soffice.bin' crashing...
X IO Error

у вас воспроизводится? можете к postgresql подключиться?
или моя локальная проблема?
Comment 10 Valery Inozemtsev 2007-04-14 21:06:51 MSD
postgresql у меня нет, с mysql через jdbc работает
Comment 11 Valery Inozemtsev 2007-04-14 22:50:15 MSD
Created attachment 1906 [details]
oobase-jdbc-mysql.png

Соединение через JDBC с MySQL
Comment 12 Artem Zolochevskiy 2007-04-17 02:32:07 MSD
может поможет...

сборка инфры тоже валится :-)

и говорят, что будет фикс в 2.2.1
http://community.i-rs.ru/index.php/topic,3987.0.html
Comment 13 Valery Inozemtsev 2007-05-11 14:16:35 MSD
проверяйте на >=alt4
Comment 14 Artem Zolochevskiy 2007-05-11 22:10:48 MSD
валится :(

с java1.5 вот так
$ oobase
terminate called after throwing an instance 
of 'jvmaccess::VirtualMachine::AttachGuard::CreationException'
terminate called recursively
KCrash: Application 'soffice.bin' crashing...
X IO Error

с java1.6 вот так
$ oobase
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0620c7a7, pid=24962, tid=3051792080
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x20c7a7]
#
# An error report file with more information is saved as hs_err_pid24962.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
/usr/lib/OpenOffice.org2/program/soffice: line 242: 24962 Ошибка 
сегментирования                   "$sd_prog/$sd_binary" "$@"
Comment 15 Artem Zolochevskiy 2007-06-15 18:20:30 MSD
Ну вот. В новой версии падать перестало.

openoffice.org-2.2.1-alt0.1rc3